Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0015/0.0015, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001749/0.001749, allocations: 213.7 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.66/1.66, allocations: 230.3 MB / 258 MB, free: 8.23 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 59.89 kB / 378.8 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3803, allocations: 53.35 MB / 432.1 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003344/0.3837, allocations: 1.617 MB / 433.7 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.3848, allocations: 0.5453 MB / 434.3 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.222e-05/0.3849, allocations: 11.88 kB / 434.3 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.644e-05/0.3849, allocations: 3.938 kB / 434.3 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.3851, allocations: 19.86 kB / 434.3 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.3854, allocations: 55.81 kB / 434.4 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.3855, allocations: 51.84 kB / 434.4 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.3856, allocations: 8.188 kB / 434.4 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.3858, allocations: 35.84 kB / 434.5 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.129e-05/0.3858, allocations: 19.92 kB / 434.5 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.3858, allocations: 0 / 434.5 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.369e-05/0.3859, allocations: 8 kB / 434.5 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.165e-05/0.3859, allocations: 15.92 kB / 434.5 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.294e-05/0.386, allocations: 35.69 kB / 434.5 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.3861, allocations: 61.42 kB / 434.6 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3861, allocations: 4 kB / 434.6 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3861, allocations: 0 / 434.6 MB, free: 4.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.3862, allocations: 0 / 434.6 MB, free: 4.59 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005351/0.3867, allocations: 309.9 kB / 434.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.3867, allocations: 8.031 kB / 434.9 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.3869, allocations: 16.88 kB / 434.9 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.3872, allocations: 154.8 kB / 435.1 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.3872, allocations: 384 / 435.1 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.3872, allocations: 11.94 kB / 435.1 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.3875, allocations: 113.8 kB / 435.2 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.3875, allocations: 4 kB / 435.2 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.3875, allocations: 0 / 435.2 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3875, allocations: 0 / 435.2 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.465e-05/0.3876, allocations: 19.98 kB / 435.2 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.388, allocations: 249.6 kB / 435.5 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.3881, allocations: 71.78 kB / 435.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.03e-05/0.3882, allocations: 26.64 kB / 435.6 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.3882, allocations: 7.969 kB / 435.6 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.3882, allocations: 38.56 kB / 435.6 MB, free: 3.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3882, allocations: 0 / 435.6 MB, free: 3.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002795/0.3885, allocations: 89.45 kB / 435.7 MB, free: 3.316 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.428e-05/0.3886, allocations: 106.8 kB / 435.8 MB, free: 3.188 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.3887, allocations: 157.5 kB / 436 MB, free: 3.027 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.3888, allocations: 29.7 kB / 436 MB, free: 2.992 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.921e-05/0.3888, allocations: 88.14 kB / 436.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.3888, allocations: 7.922 kB / 436.1 MB, free: 2.895 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.3889, allocations: 25.66 kB / 436.1 MB, free: 2.863 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.389, allocations: 314.8 kB / 436.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.705e-05/0.3891, allocations: 11.98 kB / 436.4 MB, free: 2.535 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.735e-05/0.3892, allocations: 39.42 kB / 436.5 MB, free: 2.484 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.668e-05/0.3892, allocations: 43.36 kB / 436.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3893, allocations: 0 / 436.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001402/0.3894, allocations: 69.56 kB / 436.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.3894, allocations: 4 kB / 436.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3894, allocations: 4 kB / 436.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.3894, allocations: 0 / 436.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.034e-05/0.3895, allocations: 15.98 kB / 436.6 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3895, allocations: 0 / 436.6 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.447e-05/0.3896, allocations: 7.938 kB / 436.6 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.3896, allocations: 0 / 436.6 MB, free: 2.324 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.506e-05/0.3897, allocations: 126 kB / 436.7 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.253e-05/0.3897, allocations: 53.55 kB / 436.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.779e-05/0.3898, allocations: 15.95 kB / 436.8 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3898, allocations: 0 / 436.8 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.3898, allocations: 8 kB / 436.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3898, allocations: 3.938 kB / 436.8 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.39, allocations: 140.7 kB / 436.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.39, allocations: 0 / 436.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.571e-05/0.3901, allocations: 15.92 kB / 437 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3901, allocations: 4.062 kB / 437 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.3901, allocations: 0 / 437 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3901, allocations: 4 kB / 437 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.3901, allocations: 3.938 kB / 437 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.3903, allocations: 177.1 kB / 437.1 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.162e-05/0.3903, allocations: 23.88 kB / 437.2 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.3903, allocations: 4 kB / 437.2 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.918e-05/0.3904, allocations: 4 kB / 437.2 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.3904, allocations: 7.922 kB / 437.2 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.3905, allocations: 0 / 437.2 MB, free: 1.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.719e-05/0.3905, allocations: 114.2 kB / 437.3 MB, free: 1.551 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3905, allocations: 0 / 437.3 MB, free: 1.551 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000234/0.3908, allocations: 11.94 kB / 437.3 MB, free: 1.539 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001037/0.3909, allocations: 103.2 kB / 437.4 MB, free: 1.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001621/0.391, allocations: 27.98 kB / 437.4 MB, free: 1.402 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.391, allocations: 0 / 437.4 MB, free: 1.402 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.126e-05/0.3911, allocations: 11.92 kB / 437.4 MB, free: 1.391 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.3915, allocations: 24.02 kB / 437.5 MB, free: 1.367 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000394/0.3919, allocations: 189 kB / 437.7 MB, free: 1.152 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.3922, allocations: 0.6951 MB / 438.4 MB, free: 444 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.267e-05/0.3923, allocations: 0 / 438.4 MB, free: 444 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.312e-05/0.3923, allocations: 19.42 kB / 438.4 MB, free: 424 kB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3923, allocations: 0 / 438.4 MB, free: 424 kB / 334.1 MB Notification: Performance of Templates: time 0.003324/0.3956, allocations: 0.6262 MB / 439 MB, free: 15.8 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.328419651836157]