Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.001466/0.001466, 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.001832/0.001832, allocations: 213.9 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.446/1.446, allocations: 230.3 MB / 258 MB, free: 8.223 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2537/0.2537, allocations: 46.89 MB / 361.3 MB, free: 4.539 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 79.86 kB / 0.4971 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3525, allocations: 66.03 MB / 0.5616 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003981/0.3565, allocations: 2.298 MB / 0.5639 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002328/0.3588, allocations: 1.344 MB / 0.5652 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.3589, allocations: 11.94 kB / 0.5652 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000385/0.3593, allocations: 127.3 kB / 0.5653 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005158/0.3598, allocations: 238.9 kB / 0.5655 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.3602, allocations: 191.5 kB / 0.5657 GB, free: 384 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005315/0.3607, allocations: 470.6 kB / 0.5662 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.3609, allocations: 48.06 kB / 0.5662 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003835/0.3612, allocations: 318.9 kB / 0.5665 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.3614, allocations: 167.1 kB / 0.5667 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.525e-05/0.3615, allocations: 16 kB / 0.5667 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.3616, allocations: 71.98 kB / 0.5668 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.3618, allocations: 135.4 kB / 0.5669 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.362, allocations: 186.5 kB / 0.5671 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005125/0.3625, allocations: 445.4 kB / 0.5675 GB, free: 14.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3625, allocations: 3.938 kB / 0.5675 GB, free: 14.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.3625, allocations: 0 / 0.5675 GB, free: 14.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.3625, allocations: 0 / 0.5675 GB, free: 14.55 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001134/0.3636, allocations: 0.7644 MB / 0.5682 GB, free: 13.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.3637, allocations: 8.031 kB / 0.5682 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.3638, allocations: 68.45 kB / 0.5683 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005555/0.3643, allocations: 353.8 kB / 0.5686 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.3643, allocations: 8.375 kB / 0.5687 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.293e-05/0.3644, allocations: 32.3 kB / 0.5687 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/0.3648, allocations: 201.8 kB / 0.5689 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.3648, allocations: 0 / 0.5689 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.3648, allocations: 11.98 kB / 0.5689 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3648, allocations: 0 / 0.5689 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002395/0.3651, allocations: 95.86 kB / 0.569 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009126/0.366, allocations: 0.7734 MB / 0.5697 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006459/0.3666, allocations: 234.5 kB / 0.57 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.3668, allocations: 83.52 kB / 0.57 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.3669, allocations: 8.156 kB / 0.57 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003911/0.3672, allocations: 200.2 kB / 0.5702 GB, free: 11.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.663e-06/0.3672, allocations: 4 kB / 0.5702 GB, free: 11.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002543/0.3698, allocations: 1.137 MB / 0.5714 GB, free: 10.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.648e-05/0.3699, allocations: 136.5 kB / 0.5715 GB, free: 10.22 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009118/0.3708, allocations: 0.8009 MB / 0.5723 GB, free: 9.406 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.276e-05/0.3708, allocations: 33.7 kB / 0.5723 GB, free: 9.367 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.371, allocations: 237 kB / 0.5725 GB, free: 9.133 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.3712, allocations: 146.8 kB / 0.5727 GB, free: 8.988 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.3713, allocations: 78.09 kB / 0.5727 GB, free: 8.902 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002108/0.3715, allocations: 382.7 kB / 0.5731 GB, free: 8.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.3717, allocations: 112.8 kB / 0.5732 GB, free: 8.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/0.372, allocations: 187.2 kB / 0.5734 GB, free: 8.207 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005435/0.3726, allocations: 323 kB / 0.5737 GB, free: 7.867 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3726, allocations: 0 / 0.5737 GB, free: 7.867 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007691/0.3733, allocations: 437 kB / 0.5741 GB, free: 7.434 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.3734, allocations: 6.031 kB / 0.5741 GB, free: 7.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3734, allocations: 0 / 0.5741 GB, free: 7.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.3734, allocations: 8.125 kB / 0.5741 GB, free: 7.422 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.3737, allocations: 95.83 kB / 0.5742 GB, free: 7.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.3737, allocations: 4 kB / 0.5742 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.3738, allocations: 19.98 kB / 0.5742 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.3739, allocations: 16.23 kB / 0.5743 GB, free: 7.289 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002758/0.3741, allocations: 237.3 kB / 0.5745 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.921e-05/0.3742, allocations: 71.53 kB / 0.5745 GB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009539/0.3752, allocations: 0.4904 MB / 0.575 GB, free: 6.473 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.3752, allocations: 7.984 kB / 0.575 GB, free: 6.465 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.3752, allocations: 4 kB / 0.575 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.3752, allocations: 0 / 0.575 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/0.3771, allocations: 1.29 MB / 0.5763 GB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3771, allocations: 0 / 0.5763 GB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.3773, allocations: 63.91 kB / 0.5764 GB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.3773, allocations: 4 kB / 0.5764 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.171e-05/0.3773, allocations: 20.23 kB / 0.5764 GB, free: 5.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.3773, allocations: 8 kB / 0.5764 GB, free: 5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.3773, allocations: 3.938 kB / 0.5764 GB, free: 4.996 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000957/0.3783, allocations: 0.789 MB / 0.5772 GB, free: 4.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.3785, allocations: 99.52 kB / 0.5773 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.9e-05/0.3785, allocations: 20 kB / 0.5773 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/0.3788, allocations: 15.98 kB / 0.5773 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.504e-05/0.3789, allocations: 40.25 kB / 0.5773 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.37e-05/0.3789, allocations: 24 kB / 0.5774 GB, free: 3.965 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006705/0.3796, allocations: 0.5849 MB / 0.5779 GB, free: 3.387 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3796, allocations: 0 / 0.5779 GB, free: 3.387 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005221/0.3801, allocations: 91.86 kB / 0.578 GB, free: 3.297 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00205/0.3822, allocations: 0.5195 MB / 0.5785 GB, free: 2.953 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006734/0.3829, allocations: 292.3 kB / 0.5788 GB, free: 2.668 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3829, allocations: 0 / 0.5788 GB, free: 2.668 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000327/0.3832, allocations: 152.6 kB / 0.5789 GB, free: 2.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009564/0.3841, allocations: 136.6 kB / 0.5791 GB, free: 2.395 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.3858, allocations: 1.058 MB / 0.5801 GB, free: 1.277 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006362/0.3865, allocations: 0.886 MB / 0.581 GB, free: 376 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002013/0.3867, allocations: 95.2 kB / 0.5811 GB, free: 280 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.3868, allocations: 51.42 kB / 0.5811 GB, free: 228 kB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3868, allocations: 4 kB / 0.5811 GB, free: 224 kB / 414.1 MB Notification: Performance of Templates: time 0.01277/0.3995, allocations: 5.654 MB / 0.5866 GB, free: 10.6 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.283453746698797]