Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.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.001344/0.001344, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001506/0.001506, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.554/1.554, 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 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2471/0.2471, allocations: 46.94 MB / 361.4 MB, free: 4.398 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002631/0.002631, allocations: 75.88 kB / 0.4972 GB, free: 7.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3539, allocations: 66.04 MB / 0.5617 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003975/0.3579, allocations: 1.96 MB / 0.5636 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00214/0.3601, allocations: 1.084 MB / 0.5647 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.3602, allocations: 3.938 kB / 0.5647 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003575/0.3605, allocations: 51.7 kB / 0.5647 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003954/0.3609, allocations: 99.47 kB / 0.5648 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.3612, allocations: 99.64 kB / 0.5649 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.3615, allocations: 147.5 kB / 0.5651 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.3616, allocations: 24.55 kB / 0.5651 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.3617, allocations: 63.64 kB / 0.5652 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.825e-05/0.3618, allocations: 51.72 kB / 0.5652 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.3618, allocations: 8 kB / 0.5652 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.3619, allocations: 47.98 kB / 0.5653 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.345e-05/0.362, allocations: 31.89 kB / 0.5653 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.155e-05/0.3621, allocations: 51.62 kB / 0.5653 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.3624, allocations: 155 kB / 0.5655 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3624, allocations: 0 / 0.5655 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3624, allocations: 0 / 0.5655 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.3624, allocations: 0 / 0.5655 GB, free: 0.6289 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006959/0.3631, allocations: 411 kB / 0.5659 GB, free: 196 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.3631, allocations: 8.031 kB / 0.5659 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.495e-05/0.3632, allocations: 24.83 kB / 0.5659 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003752/0.3635, allocations: 179.6 kB / 0.5661 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.3635, allocations: 4.375 kB / 0.5661 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.3636, allocations: 8.375 kB / 0.5661 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.3638, allocations: 107.5 kB / 0.5662 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.3638, allocations: 0 / 0.5662 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.3639, allocations: 11.98 kB / 0.5662 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.3639, allocations: 0 / 0.5662 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.364, allocations: 51.91 kB / 0.5663 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006691/0.3647, allocations: 480.1 kB / 0.5667 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003507/0.3651, allocations: 86.66 kB / 0.5668 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.3652, allocations: 36.78 kB / 0.5668 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.3652, allocations: 4 kB / 0.5668 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000202/0.3654, allocations: 87.31 kB / 0.5669 GB, free: 15.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.3654, allocations: 0 / 0.5669 GB, free: 15.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004253/0.3658, allocations: 145.4 kB / 0.5671 GB, free: 14.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.3659, allocations: 55.34 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.3661, allocations: 203.1 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.3661, allocations: 29.7 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.3662, allocations: 116 kB / 0.5674 GB, free: 14.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.619e-05/0.3663, allocations: 39.72 kB / 0.5675 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.439e-05/0.3663, allocations: 29.72 kB / 0.5675 GB, free: 14.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3665, allocations: 326.8 kB / 0.5678 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.3666, allocations: 27.98 kB / 0.5678 GB, free: 14.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.3667, allocations: 67.59 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.3669, allocations: 100.2 kB / 0.568 GB, free: 13.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3669, allocations: 0 / 0.568 GB, free: 13.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003044/0.3672, allocations: 137.5 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.3672, allocations: 8.031 kB / 0.5681 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.3672, allocations: 4 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3673, allocations: 0 / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.3674, allocations: 31.92 kB / 0.5682 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.3674, allocations: 4.406 kB / 0.5682 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.174e-05/0.3675, allocations: 15.94 kB / 0.5682 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.3675, allocations: 4 kB / 0.5682 GB, free: 13.61 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001284/0.3676, allocations: 125.8 kB / 0.5683 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.3676, allocations: 19.91 kB / 0.5683 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003258/0.3679, allocations: 130.9 kB / 0.5685 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.368, allocations: 3.938 kB / 0.5685 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.368, allocations: 4 kB / 0.5685 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.368, allocations: 0 / 0.5685 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.3682, allocations: 180.7 kB / 0.5686 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3682, allocations: 0 / 0.5686 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.077e-05/0.3682, allocations: 12 kB / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3682, allocations: 0 / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.3683, allocations: 4 kB / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.3683, allocations: 7.875 kB / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3683, allocations: 7.922 kB / 0.5687 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004069/0.3687, allocations: 176.9 kB / 0.5688 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.911e-05/0.3688, allocations: 11.94 kB / 0.5689 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.3688, allocations: 8 kB / 0.5689 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.99e-05/0.3689, allocations: 15.98 kB / 0.5689 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.3689, allocations: 3.984 kB / 0.5689 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.3689, allocations: 4 kB / 0.5689 GB, free: 12.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001487/0.3691, allocations: 147.2 kB / 0.569 GB, free: 12.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3691, allocations: 0 / 0.569 GB, free: 12.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.3693, allocations: 27.94 kB / 0.5691 GB, free: 12.66 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001556/0.3709, allocations: 406.3 kB / 0.5694 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002768/0.3711, allocations: 79.83 kB / 0.5695 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3711, allocations: 4 kB / 0.5695 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.3712, allocations: 31.98 kB / 0.5695 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.3716, allocations: 43.22 kB / 0.5696 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000641/0.3722, allocations: 275.3 kB / 0.5699 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/0.3727, allocations: 0.7164 MB / 0.5706 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.606e-05/0.3728, allocations: 21.41 kB / 0.5706 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.68e-05/0.3728, allocations: 23.36 kB / 0.5706 GB, free: 11.16 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3728, allocations: 0 / 0.5706 GB, free: 11.16 MB / 414.1 MB Notification: Performance of Templates: time 0.006322/0.3791, allocations: 1.955 MB / 0.5725 GB, free: 9.219 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.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.421164037659764]