Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 68.08 kB / 21.69 MB, free: 2.863 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 143.2 kB / 24.98 MB, free: 8.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.006/1.006, allocations: 173.3 MB / 201.5 MB, free: 9.355 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.886e-06/2.886e-06, allocations: 0 / 268.1 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.268e-05/3.557e-05, allocations: 2.312 kB / 268.1 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002205/0.002241, allocations: 1.588 MB / 269.7 MB, free: 5.129 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006092/0.00285, allocations: 458.6 kB / 270.1 MB, free: 4.676 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.148e-05/0.002932, allocations: 11.94 kB / 270.1 MB, free: 4.664 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.741e-05/0.002979, allocations: 7.922 kB / 270.1 MB, free: 4.656 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.003115, allocations: 7.938 kB / 270.2 MB, free: 4.648 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.00333, allocations: 43.77 kB / 270.2 MB, free: 4.605 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.373e-05/0.003424, allocations: 35.86 kB / 270.2 MB, free: 4.57 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.593e-05/0.003519, allocations: 11.98 kB / 270.2 MB, free: 4.559 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.227e-05/0.003592, allocations: 23.91 kB / 270.3 MB, free: 4.535 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.596e-05/0.003638, allocations: 15.92 kB / 270.3 MB, free: 4.52 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.003658, allocations: 4 kB / 270.3 MB, free: 4.516 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.488e-06/0.003668, allocations: 8 kB / 270.3 MB, free: 4.508 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.446e-05/0.003712, allocations: 8 kB / 270.3 MB, free: 4.5 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.69e-05/0.003739, allocations: 11.92 kB / 270.3 MB, free: 4.488 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.003844, allocations: 35.84 kB / 270.3 MB, free: 4.453 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.003846, allocations: 0 / 270.3 MB, free: 4.453 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.003847, allocations: 0 / 270.3 MB, free: 4.453 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.003852, allocations: 0 / 270.3 MB, free: 4.453 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003886/0.004241, allocations: 396.3 kB / 270.7 MB, free: 4.031 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.004281, allocations: 8.922 kB / 270.7 MB, free: 4.023 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.004321, allocations: 8.891 kB / 270.8 MB, free: 4.016 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.004492, allocations: 151.4 kB / 270.9 MB, free: 3.844 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.004503, allocations: 8.359 kB / 270.9 MB, free: 3.836 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.004513, allocations: 4.375 kB / 270.9 MB, free: 3.832 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.004728, allocations: 105.6 kB / 271 MB, free: 3.703 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.004734, allocations: 192 / 271 MB, free: 3.703 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.004742, allocations: 384 / 271 MB, free: 3.703 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.00475, allocations: 3.938 kB / 271 MB, free: 3.699 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.244e-05/0.004773, allocations: 7.938 kB / 271 MB, free: 3.691 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002527/0.005025, allocations: 267.5 kB / 271.3 MB, free: 3.391 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.005153, allocations: 54.06 kB / 271.3 MB, free: 3.312 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.391e-05/0.005177, allocations: 27.48 kB / 271.4 MB, free: 3.277 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.005192, allocations: 0 / 271.4 MB, free: 3.277 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.005213, allocations: 37.33 kB / 271.4 MB, free: 3.23 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.005213, allocations: 0 / 271.4 MB, free: 3.23 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001418/0.005355, allocations: 45.59 kB / 271.4 MB, free: 3.18 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.005399, allocations: 93.09 kB / 271.5 MB, free: 3.07 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.638e-05/0.005495, allocations: 186.2 kB / 271.7 MB, free: 2.871 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.005503, allocations: 29.7 kB / 271.7 MB, free: 2.836 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.642e-05/0.00555, allocations: 138.8 kB / 271.9 MB, free: 2.695 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.005564, allocations: 4 kB / 271.9 MB, free: 2.691 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.005589, allocations: 19.33 kB / 271.9 MB, free: 2.664 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.005691, allocations: 0.4884 MB / 272.4 MB, free: 2.164 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.148e-05/0.005702, allocations: 0 / 272.4 MB, free: 2.164 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.883e-06/0.005709, allocations: 0 / 272.4 MB, free: 2.164 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.191e-05/0.005741, allocations: 19.62 kB / 272.4 MB, free: 2.141 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.005743, allocations: 0 / 272.4 MB, free: 2.141 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.697e-05/0.00579, allocations: 41.75 kB / 272.5 MB, free: 2.094 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.005804, allocations: 7.938 kB / 272.5 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.005808, allocations: 0 / 272.5 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.00582, allocations: 0 / 272.5 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.515e-05/0.005885, allocations: 4 kB / 272.5 MB, free: 2.082 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.00589, allocations: 0 / 272.5 MB, free: 2.082 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.553e-05/0.005905, allocations: 0 / 272.5 MB, free: 2.082 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.005911, allocations: 0 / 272.5 MB, free: 2.082 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 5.946e-05/0.00597, allocations: 156.6 kB / 272.6 MB, free: 1.918 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.006007, allocations: 53.52 kB / 272.7 MB, free: 1.859 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.623e-05/0.006034, allocations: 15.81 kB / 272.7 MB, free: 1.844 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.006035, allocations: 0 / 272.7 MB, free: 1.844 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.006039, allocations: 4 kB / 272.7 MB, free: 1.84 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.006042, allocations: 0 / 272.7 MB, free: 1.84 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.36e-05/0.006136, allocations: 128.6 kB / 272.8 MB, free: 1.68 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.006137, allocations: 0 / 272.8 MB, free: 1.68 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.339e-05/0.00616, allocations: 4 kB / 272.8 MB, free: 1.676 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.006163, allocations: 0 / 272.8 MB, free: 1.676 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.006171, allocations: 7.938 kB / 272.8 MB, free: 1.668 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.006172, allocations: 0 / 272.8 MB, free: 1.668 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.006173, allocations: 0 / 272.8 MB, free: 1.668 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.469e-05/0.006267, allocations: 207.5 kB / 273 MB, free: 1.441 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.632e-05/0.006294, allocations: 15.94 kB / 273 MB, free: 1.426 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.006305, allocations: 3.938 kB / 273.1 MB, free: 1.422 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.201e-05/0.006337, allocations: 4 kB / 273.1 MB, free: 1.418 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.967e-05/0.006367, allocations: 4 kB / 273.1 MB, free: 1.414 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.006369, allocations: 0 / 273.1 MB, free: 1.414 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.944e-05/0.006419, allocations: 145.7 kB / 273.2 MB, free: 1.273 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006419, allocations: 0 / 273.2 MB, free: 1.273 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000137/0.006556, allocations: 4 kB / 273.2 MB, free: 1.27 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 7.295e-05/0.006629, allocations: 99.28 kB / 273.3 MB, free: 1.164 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.359e-05/0.006712, allocations: 19.62 kB / 273.3 MB, free: 1.141 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.006714, allocations: 0 / 273.3 MB, free: 1.141 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.525e-05/0.006729, allocations: 11.69 kB / 273.3 MB, free: 1.125 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.006975, allocations: 16.28 kB / 273.3 MB, free: 1.105 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004368/0.007412, allocations: 165.6 kB / 273.5 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.818e-05/0.00745, allocations: 67.28 kB / 273.6 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.902e-05/0.007469, allocations: 0 / 273.6 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.571e-05/0.007495, allocations: 16.44 kB / 273.6 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of SimCode: time 6.61e-07/0.007495, allocations: 0 / 273.6 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of Templates: time 0.002142/0.009637, allocations: 0.5168 MB / 274.1 MB, free: 312 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7406707080081105]