Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.001453/0.001453, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001772/0.001772, allocations: 211.4 kB / 23.73 MB, free: 4.387 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.598/1.598, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2315/0.2315, allocations: 44.93 MB / 358.8 MB, free: 6.156 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 67.89 kB / 0.4936 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3695, allocations: 65.47 MB / 0.5575 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003566/0.3731, allocations: 1.929 MB / 0.5594 GB, free: 5.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002158/0.3752, allocations: 1.143 MB / 0.5605 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.37e-05/0.3753, allocations: 0 / 0.5605 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007306/0.376, allocations: 199.4 kB / 0.5607 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005141/0.3766, allocations: 211.2 kB / 0.5609 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.377, allocations: 171.2 kB / 0.5611 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003629/0.3773, allocations: 271.2 kB / 0.5613 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.3775, allocations: 20.59 kB / 0.5613 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.3776, allocations: 111.5 kB / 0.5614 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.3778, allocations: 115.6 kB / 0.5616 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.3779, allocations: 15.94 kB / 0.5616 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.378, allocations: 63.89 kB / 0.5616 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.987e-05/0.3781, allocations: 55.83 kB / 0.5617 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.297e-05/0.3782, allocations: 63.53 kB / 0.5617 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003745/0.3786, allocations: 253.3 kB / 0.562 GB, free: 2.867 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3786, allocations: 0 / 0.562 GB, free: 2.867 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3786, allocations: 4 kB / 0.562 GB, free: 2.863 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.3786, allocations: 4 kB / 0.562 GB, free: 2.859 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009305/0.3795, allocations: 498.3 kB / 0.5625 GB, free: 2.336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.3796, allocations: 12.03 kB / 0.5625 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.4e-05/0.3796, allocations: 24.8 kB / 0.5625 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/0.38, allocations: 230.5 kB / 0.5627 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.38, allocations: 4.375 kB / 0.5627 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.3801, allocations: 8.125 kB / 0.5627 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.3803, allocations: 99.36 kB / 0.5628 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3803, allocations: 0 / 0.5628 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.3803, allocations: 4 kB / 0.5628 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.3803, allocations: 4 kB / 0.5628 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.3805, allocations: 43.91 kB / 0.5629 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005572/0.381, allocations: 317.2 kB / 0.5632 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.3814, allocations: 117.2 kB / 0.5633 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.3815, allocations: 45.69 kB / 0.5633 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.3815, allocations: 7.938 kB / 0.5633 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002509/0.3817, allocations: 121 kB / 0.5635 GB, free: 1.211 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.3817, allocations: 0 / 0.5635 GB, free: 1.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005001/0.3822, allocations: 189.8 kB / 0.5636 GB, free: 1.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.3823, allocations: 81.11 kB / 0.5637 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004358/0.3827, allocations: 364.5 kB / 0.5641 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.3828, allocations: 25.7 kB / 0.5641 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.3829, allocations: 144.1 kB / 0.5642 GB, free: 388 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.3829, allocations: 31.75 kB / 0.5643 GB, free: 356 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.383, allocations: 37.7 kB / 0.5643 GB, free: 312 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.3832, allocations: 338.8 kB / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.3833, allocations: 32.11 kB / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.3834, allocations: 106 kB / 0.5647 GB, free: 15.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002241/0.3836, allocations: 99.34 kB / 0.5648 GB, free: 15.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3836, allocations: 0 / 0.5648 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003032/0.384, allocations: 153.5 kB / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.384, allocations: 4 kB / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.384, allocations: 0 / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.384, allocations: 4 kB / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.3841, allocations: 27.92 kB / 0.565 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3841, allocations: 4 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.593e-05/0.3842, allocations: 7.953 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.3842, allocations: 7.984 kB / 0.565 GB, free: 15.49 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001716/0.3844, allocations: 169.6 kB / 0.5652 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/0.3844, allocations: 31.84 kB / 0.5652 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003963/0.3848, allocations: 175.5 kB / 0.5654 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.3848, allocations: 4 kB / 0.5654 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3849, allocations: 0 / 0.5654 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3849, allocations: 3.984 kB / 0.5654 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.3851, allocations: 189.2 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3851, allocations: 0 / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.944e-05/0.3851, allocations: 12 kB / 0.5656 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3851, allocations: 0 / 0.5656 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.3851, allocations: 7.984 kB / 0.5656 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3851, allocations: 8 kB / 0.5656 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3851, allocations: 0 / 0.5656 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.3855, allocations: 209.6 kB / 0.5658 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.3856, allocations: 23.86 kB / 0.5658 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.3856, allocations: 0 / 0.5658 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.069e-05/0.3857, allocations: 7.984 kB / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.3857, allocations: 11.98 kB / 0.5659 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.3857, allocations: 8 kB / 0.5659 GB, free: 14.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003298/0.3861, allocations: 267 kB / 0.5661 GB, free: 14.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3861, allocations: 0 / 0.5661 GB, free: 14.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000282/0.3864, allocations: 47.92 kB / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.0017/0.3881, allocations: 445.4 kB / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000294/0.3883, allocations: 95.83 kB / 0.5667 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3883, allocations: 0 / 0.5667 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.3885, allocations: 55.91 kB / 0.5667 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.3889, allocations: 66.23 kB / 0.5668 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007291/0.3896, allocations: 412.2 kB / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/0.3898, allocations: 136.8 kB / 0.5673 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.3899, allocations: 46 kB / 0.5674 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.89e-05/0.3899, allocations: 23.42 kB / 0.5674 GB, free: 13.15 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3899, allocations: 0 / 0.5674 GB, free: 13.15 MB / 414.1 MB Notification: Performance of Templates: time 0.008039/0.398, allocations: 3.371 MB / 0.5707 GB, free: 9.812 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.396090120077133]