Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.001537/0.001537, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.001734/0.001734, allocations: 206 kB / 23.72 MB, free: 4.492 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.545/1.545, allocations: 230.5 MB / 257.4 MB, free: 7.797 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.2456/0.2456, allocations: 46.95 MB / 360.8 MB, free: 3.91 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002563/0.002563, allocations: 76.06 kB / 0.4967 GB, free: 6.965 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3777, allocations: 66.09 MB / 0.5613 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003586/0.3813, allocations: 1.87 MB / 0.5631 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002259/0.3835, allocations: 1.076 MB / 0.5641 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.3836, allocations: 0 / 0.5641 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004422/0.3841, allocations: 167.4 kB / 0.5643 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004824/0.3846, allocations: 183.3 kB / 0.5645 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.3849, allocations: 119.6 kB / 0.5646 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003452/0.3852, allocations: 247.3 kB / 0.5648 GB, free: 272 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.3853, allocations: 17.95 kB / 0.5648 GB, free: 252 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.3855, allocations: 119.5 kB / 0.5649 GB, free: 132 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.3857, allocations: 139.6 kB / 0.5651 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.134e-05/0.3857, allocations: 8 kB / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.3859, allocations: 63.89 kB / 0.5651 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.861e-05/0.386, allocations: 63.7 kB / 0.5652 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.577e-05/0.3861, allocations: 59.53 kB / 0.5653 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003381/0.3864, allocations: 225.3 kB / 0.5655 GB, free: 15.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3864, allocations: 0 / 0.5655 GB, free: 15.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3864, allocations: 0 / 0.5655 GB, free: 15.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.3864, allocations: 0 / 0.5655 GB, free: 15.59 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008463/0.3873, allocations: 492.5 kB / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.3873, allocations: 8.031 kB / 0.566 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.213e-05/0.3874, allocations: 28.75 kB / 0.566 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004776/0.3879, allocations: 210.6 kB / 0.5662 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.3879, allocations: 384 / 0.5662 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/0.3879, allocations: 20.3 kB / 0.5662 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.3882, allocations: 114.2 kB / 0.5663 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.3882, allocations: 0 / 0.5663 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.3882, allocations: 4 kB / 0.5663 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.3882, allocations: 4 kB / 0.5663 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.3884, allocations: 51.95 kB / 0.5664 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006211/0.389, allocations: 408.3 kB / 0.5668 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004081/0.3894, allocations: 121.2 kB / 0.5669 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.3895, allocations: 45.83 kB / 0.5669 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.3895, allocations: 0 / 0.5669 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002459/0.3898, allocations: 133 kB / 0.567 GB, free: 13.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.3898, allocations: 3.938 kB / 0.567 GB, free: 13.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001343/0.3911, allocations: 0.501 MB / 0.5675 GB, free: 13.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/0.3912, allocations: 85.05 kB / 0.5676 GB, free: 13.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004788/0.3917, allocations: 392.4 kB / 0.568 GB, free: 12.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.3917, allocations: 29.7 kB / 0.568 GB, free: 12.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.3918, allocations: 148.5 kB / 0.5682 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.3919, allocations: 71.39 kB / 0.5682 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.84e-05/0.392, allocations: 45.7 kB / 0.5683 GB, free: 12.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002259/0.3922, allocations: 342.8 kB / 0.5686 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.3924, allocations: 55.98 kB / 0.5687 GB, free: 12.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.3926, allocations: 104.4 kB / 0.5688 GB, free: 12.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/0.3929, allocations: 159.6 kB / 0.5689 GB, free: 11.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.3929, allocations: 0 / 0.5689 GB, free: 11.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004484/0.3933, allocations: 245.3 kB / 0.5691 GB, free: 11.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.3933, allocations: 6.031 kB / 0.5691 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.3933, allocations: 0 / 0.5691 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.3934, allocations: 7.984 kB / 0.5692 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.3935, allocations: 43.86 kB / 0.5692 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.3935, allocations: 4 kB / 0.5692 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.568e-05/0.3936, allocations: 11.98 kB / 0.5692 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.3936, allocations: 8 kB / 0.5692 GB, free: 11.52 MB / 414.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: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001858/0.3938, allocations: 154.2 kB / 0.5694 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.159e-05/0.3939, allocations: 35.86 kB / 0.5694 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005854/0.3945, allocations: 276.2 kB / 0.5697 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.3945, allocations: 7.938 kB / 0.5697 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3945, allocations: 3.938 kB / 0.5697 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.3945, allocations: 7.984 kB / 0.5697 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.3957, allocations: 0.6605 MB / 0.5703 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3957, allocations: 0 / 0.5703 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.3958, allocations: 40.05 kB / 0.5704 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.3958, allocations: 192 / 0.5704 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.3958, allocations: 11.98 kB / 0.5704 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.3958, allocations: 7.938 kB / 0.5704 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3958, allocations: 0 / 0.5704 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005702/0.3964, allocations: 441.7 kB / 0.5708 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.3964, allocations: 23.86 kB / 0.5708 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.3964, allocations: 8 kB / 0.5708 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.3966, allocations: 11.98 kB / 0.5708 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.149e-05/0.3967, allocations: 31.84 kB / 0.5709 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.3967, allocations: 8 kB / 0.5709 GB, free: 9.719 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003154/0.397, allocations: 287 kB / 0.5712 GB, free: 9.438 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.397, allocations: 0 / 0.5712 GB, free: 9.438 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004232/0.3974, allocations: 55.89 kB / 0.5712 GB, free: 9.383 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002154/0.3996, allocations: 0.5321 MB / 0.5717 GB, free: 9.039 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000405/0.4, allocations: 151.8 kB / 0.5719 GB, free: 8.891 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4, allocations: 4.125 kB / 0.5719 GB, free: 8.887 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.4002, allocations: 83.78 kB / 0.572 GB, free: 8.805 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006027/0.4008, allocations: 60.39 kB / 0.572 GB, free: 8.746 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009621/0.4017, allocations: 0.5083 MB / 0.5725 GB, free: 8.191 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.4019, allocations: 157.6 kB / 0.5727 GB, free: 8.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.402, allocations: 41.91 kB / 0.5727 GB, free: 7.977 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.968e-05/0.4021, allocations: 35.38 kB / 0.5727 GB, free: 7.941 MB / 414.1 MB Notification: Performance of SimCode: time 6.12e-07/0.4021, allocations: 0 / 0.5727 GB, free: 7.941 MB / 414.1 MB Notification: Performance of Templates: time 0.008131/0.4102, allocations: 3.513 MB / 0.5762 GB, free: 4.473 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.452871240675449]