Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002152/0.002152, allocations: 217.2 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.567/1.567, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 47.92 kB / 378.3 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4586/0.4602, allocations: 53.37 MB / 431.6 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.005301/0.4655, allocations: 1.518 MB / 433.2 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.467, allocations: 494.7 kB / 433.6 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.4672, allocations: 3.938 kB / 433.6 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.843e-05/0.4672, allocations: 3.938 kB / 433.6 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.4673, allocations: 7.938 kB / 433.6 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005977/0.4679, allocations: 27.91 kB / 433.7 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000198/0.4681, allocations: 43.84 kB / 433.7 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.4683, allocations: 11.94 kB / 433.7 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002731/0.4686, allocations: 27.91 kB / 433.8 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.4687, allocations: 15.92 kB / 433.8 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.4687, allocations: 4 kB / 433.8 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.875e-05/0.4688, allocations: 8 kB / 433.8 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.561e-05/0.4688, allocations: 7.938 kB / 433.8 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.577e-05/0.4689, allocations: 19.88 kB / 433.8 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.4692, allocations: 45 kB / 433.9 MB, free: 4.695 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.144e-05/0.4692, allocations: 4 kB / 433.9 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.137e-06/0.4692, allocations: 4 kB / 433.9 MB, free: 4.688 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.54e-05/0.4692, allocations: 0 / 433.9 MB, free: 4.688 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007578/0.4699, allocations: 274.2 kB / 434.1 MB, free: 4.391 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.494e-05/0.47, allocations: 8.031 kB / 434.1 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002438/0.4702, allocations: 12.92 kB / 434.2 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.4706, allocations: 126.4 kB / 434.3 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.4706, allocations: 384 / 434.3 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.4706, allocations: 4.375 kB / 434.3 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004829/0.4711, allocations: 127.5 kB / 434.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.4711, allocations: 0 / 434.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.4711, allocations: 0 / 434.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.4712, allocations: 0 / 434.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.4713, allocations: 19.98 kB / 434.4 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000231/0.4715, allocations: 136.7 kB / 434.6 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.4717, allocations: 54.55 kB / 434.6 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.921e-05/0.4718, allocations: 24.83 kB / 434.6 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.359e-05/0.4718, allocations: 4.031 kB / 434.6 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/0.4719, allocations: 34.5 kB / 434.7 MB, free: 3.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.4719, allocations: 0 / 434.7 MB, free: 3.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003685/0.4723, allocations: 81.62 kB / 434.8 MB, free: 3.664 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.418e-05/0.4723, allocations: 59.34 kB / 434.8 MB, free: 3.594 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.4725, allocations: 113.8 kB / 434.9 MB, free: 3.473 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.4725, allocations: 25.7 kB / 434.9 MB, free: 3.441 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.799e-05/0.4726, allocations: 92.08 kB / 435 MB, free: 3.348 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.708e-06/0.4726, allocations: 0 / 435 MB, free: 3.348 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-05/0.4726, allocations: 17.7 kB / 435.1 MB, free: 3.324 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002611/0.4729, allocations: 318.8 kB / 435.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.172e-05/0.4729, allocations: 4 kB / 435.4 MB, free: 3 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.924e-05/0.473, allocations: 31.42 kB / 435.4 MB, free: 2.957 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.4731, allocations: 35.38 kB / 435.4 MB, free: 2.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.4731, allocations: 4 kB / 435.4 MB, free: 2.906 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001475/0.4733, allocations: 61.58 kB / 435.5 MB, free: 2.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.4733, allocations: 7.938 kB / 435.5 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.4733, allocations: 0 / 435.5 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/0.4734, allocations: 4 kB / 435.5 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.773e-05/0.4734, allocations: 4 kB / 435.5 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/0.4735, allocations: 7.938 kB / 435.5 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.914e-05/0.4735, allocations: 4.125 kB / 435.5 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.4735, allocations: 4 kB / 435.5 MB, free: 2.809 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 0.0001254/0.4736, allocations: 113.8 kB / 435.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.4738, allocations: 61.61 kB / 435.7 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.719e-05/0.4738, allocations: 8 kB / 435.7 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.4738, allocations: 0 / 435.7 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/0.4738, allocations: 4.328 kB / 435.7 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.4739, allocations: 0 / 435.7 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.474, allocations: 136.6 kB / 435.8 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.474, allocations: 4 kB / 435.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.888e-05/0.4741, allocations: 11.98 kB / 435.9 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.876e-06/0.4741, allocations: 7.922 kB / 435.9 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.4741, allocations: 0 / 435.9 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.4741, allocations: 3.938 kB / 435.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4741, allocations: 0 / 435.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.4743, allocations: 89.11 kB / 436 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.129e-05/0.4743, allocations: 11.89 kB / 436 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.4744, allocations: 4 kB / 436 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.282e-05/0.4744, allocations: 7.922 kB / 436 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-06/0.4744, allocations: 0 / 436 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.4744, allocations: 0 / 436 MB, free: 2.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.505e-05/0.4745, allocations: 91.59 kB / 436.1 MB, free: 2.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4745, allocations: 0 / 436.1 MB, free: 2.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003242/0.4748, allocations: 4 kB / 436.1 MB, free: 2.176 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.000162/0.475, allocations: 103.2 kB / 436.2 MB, free: 2.066 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001725/0.4752, allocations: 31.92 kB / 436.2 MB, free: 2.035 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4752, allocations: 0 / 436.2 MB, free: 2.035 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.4752, allocations: 0 / 436.2 MB, free: 2.035 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.4755, allocations: 23.92 kB / 436.2 MB, free: 2.012 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004001/0.4759, allocations: 130.9 kB / 436.4 MB, free: 1.859 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.4763, allocations: 0.6848 MB / 437 MB, free: 1.148 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.208e-05/0.4763, allocations: 7.984 kB / 437.1 MB, free: 1.141 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.4764, allocations: 7.438 kB / 437.1 MB, free: 1.133 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4764, allocations: 0 / 437.1 MB, free: 1.133 MB / 334.1 MB Notification: Performance of Templates: time 0.003677/0.4801, allocations: 383.9 kB / 437.4 MB, free: 0.7617 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.052537373965606]