Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.001813/0.001813, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001444/0.001444, allocations: 203.5 kB / 23.72 MB, free: 4.391 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.442/1.442, allocations: 230.5 MB / 257.4 MB, free: 7.754 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.2527/0.2527, allocations: 46.93 MB / 360.8 MB, free: 3.906 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002428/0.002428, allocations: 79.86 kB / 0.4967 GB, free: 6.941 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3694, allocations: 66.08 MB / 0.5613 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003282/0.3726, allocations: 1.726 MB / 0.5629 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.3745, allocations: 0.971 MB / 0.5639 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.3746, allocations: 7.938 kB / 0.5639 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003836/0.375, allocations: 103.7 kB / 0.564 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003688/0.3754, allocations: 123.5 kB / 0.5641 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.3756, allocations: 79.67 kB / 0.5642 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.3758, allocations: 127.7 kB / 0.5643 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.3759, allocations: 19.97 kB / 0.5643 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.957e-05/0.376, allocations: 59.7 kB / 0.5644 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.3762, allocations: 71.73 kB / 0.5644 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.3762, allocations: 4 kB / 0.5645 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.3763, allocations: 63.97 kB / 0.5645 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.405e-05/0.3764, allocations: 27.86 kB / 0.5645 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.258e-05/0.3764, allocations: 31.73 kB / 0.5646 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.3767, allocations: 153.7 kB / 0.5647 GB, free: 372 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3767, allocations: 0 / 0.5647 GB, free: 372 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3767, allocations: 0 / 0.5647 GB, free: 372 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.3767, allocations: 4 kB / 0.5647 GB, free: 368 kB / 398.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.0006471/0.3773, allocations: 389 kB / 0.5651 GB, free: 15.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.3774, allocations: 8.031 kB / 0.5651 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.3774, allocations: 16.84 kB / 0.5651 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.3777, allocations: 162.4 kB / 0.5653 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.3778, allocations: 8.375 kB / 0.5653 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.3778, allocations: 4.375 kB / 0.5653 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.378, allocations: 66.14 kB / 0.5653 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.378, allocations: 7.938 kB / 0.5654 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.378, allocations: 0 / 0.5654 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.378, allocations: 7.938 kB / 0.5654 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.07e-05/0.3781, allocations: 23.98 kB / 0.5654 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004255/0.3785, allocations: 248.5 kB / 0.5656 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.3788, allocations: 70.42 kB / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.194e-05/0.3788, allocations: 16.98 kB / 0.5657 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.3789, allocations: 3.984 kB / 0.5657 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.379, allocations: 67.39 kB / 0.5658 GB, free: 15.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.379, allocations: 0 / 0.5658 GB, free: 15.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007823/0.3798, allocations: 265.2 kB / 0.566 GB, free: 14.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.3798, allocations: 51.41 kB / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.3801, allocations: 250.8 kB / 0.5663 GB, free: 14.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.3801, allocations: 25.7 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.672e-05/0.3802, allocations: 112.1 kB / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.447e-05/0.3803, allocations: 39.69 kB / 0.5665 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/0.3803, allocations: 25.72 kB / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3804, allocations: 334.8 kB / 0.5668 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.058e-05/0.3805, allocations: 35.92 kB / 0.5669 GB, free: 13.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.754e-05/0.3806, allocations: 53.2 kB / 0.5669 GB, free: 13.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.3808, allocations: 81.64 kB / 0.567 GB, free: 13.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3808, allocations: 0 / 0.567 GB, free: 13.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002281/0.381, allocations: 125.5 kB / 0.5671 GB, free: 13.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.381, allocations: 8 kB / 0.5671 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.381, allocations: 0 / 0.5671 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.381, allocations: 0 / 0.5671 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.85e-05/0.3811, allocations: 27.98 kB / 0.5671 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.3811, allocations: 0 / 0.5671 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.571e-05/0.3812, allocations: 4.031 kB / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-06/0.3812, allocations: 7.938 kB / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001195/0.3813, allocations: 140.3 kB / 0.5673 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.3813, allocations: 15.91 kB / 0.5673 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003146/0.3816, allocations: 159.8 kB / 0.5675 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3816, allocations: 4 kB / 0.5675 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3816, allocations: 0 / 0.5675 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3816, allocations: 3.938 kB / 0.5675 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005513/0.3822, allocations: 415.6 kB / 0.5679 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3822, allocations: 0 / 0.5679 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.362e-05/0.3823, allocations: 15.94 kB / 0.5679 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.3823, allocations: 3.984 kB / 0.5679 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.3823, allocations: 8 kB / 0.5679 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.573e-06/0.3823, allocations: 7.938 kB / 0.5679 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.3823, allocations: 4 kB / 0.5679 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.3826, allocations: 241.1 kB / 0.5681 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.483e-05/0.3826, allocations: 11.91 kB / 0.5681 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.3826, allocations: 7.984 kB / 0.5681 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.861e-05/0.3827, allocations: 15.94 kB / 0.5682 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.505e-05/0.3828, allocations: 7.984 kB / 0.5682 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.3828, allocations: 11.98 kB / 0.5682 GB, free: 12.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000206/0.383, allocations: 192.2 kB / 0.5684 GB, free: 12.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.383, allocations: 0 / 0.5684 GB, free: 12.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002785/0.3833, allocations: 31.94 kB / 0.5684 GB, free: 12.32 MB / 414.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002229/0.3855, allocations: 0.528 MB / 0.5689 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002815/0.3858, allocations: 79.91 kB / 0.569 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3858, allocations: 0 / 0.569 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.3859, allocations: 39.92 kB / 0.569 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.3863, allocations: 27.77 kB / 0.5691 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008032/0.3871, allocations: 312.7 kB / 0.5694 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.3873, allocations: 101.3 kB / 0.5694 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.761e-05/0.3873, allocations: 28.62 kB / 0.5695 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.601e-05/0.3874, allocations: 23.44 kB / 0.5695 GB, free: 11.34 MB / 414.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3874, allocations: 0 / 0.5695 GB, free: 11.34 MB / 414.1 MB Notification: Performance of Templates: time 0.006474/0.3939, allocations: 2.175 MB / 0.5716 GB, free: 9.184 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.210307985544205]