Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.001532/0.001532, allocations: 111.1 kB / 20.44 MB, free: 1.336 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.001659/0.001659, allocations: 213.2 kB / 23.73 MB, free: 4.516 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.532/1.532, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2431/0.2431, allocations: 46.96 MB / 360.9 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 67.89 kB / 0.4967 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3552, allocations: 66.02 MB / 0.5611 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003452/0.3586, allocations: 1.674 MB / 0.5628 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.3604, allocations: 0.9521 MB / 0.5637 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.564e-05/0.3605, allocations: 0 / 0.5637 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002954/0.3608, allocations: 51.75 kB / 0.5637 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003175/0.3611, allocations: 99.59 kB / 0.5638 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.3613, allocations: 79.67 kB / 0.5639 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.3615, allocations: 99.69 kB / 0.564 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.551e-05/0.3615, allocations: 4.172 kB / 0.564 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.593e-05/0.3616, allocations: 39.84 kB / 0.5641 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.462e-05/0.3617, allocations: 43.72 kB / 0.5641 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.3617, allocations: 4 kB / 0.5641 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.8e-05/0.3618, allocations: 31.98 kB / 0.5641 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.911e-05/0.3619, allocations: 27.92 kB / 0.5642 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.289e-05/0.3619, allocations: 31.73 kB / 0.5642 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.3621, allocations: 129.8 kB / 0.5643 GB, free: 0.918 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3621, allocations: 4 kB / 0.5643 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3621, allocations: 0 / 0.5643 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.3622, allocations: 3.938 kB / 0.5643 GB, free: 0.9102 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006099/0.3628, allocations: 361.4 kB / 0.5647 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.3628, allocations: 8.031 kB / 0.5647 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.947e-05/0.3629, allocations: 16.89 kB / 0.5647 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.3632, allocations: 163.1 kB / 0.5648 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.3632, allocations: 4.375 kB / 0.5648 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.3632, allocations: 8.125 kB / 0.5649 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.3633, allocations: 49.67 kB / 0.5649 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3634, allocations: 4 kB / 0.5649 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.3634, allocations: 0 / 0.5649 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.3634, allocations: 0 / 0.5649 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.764e-05/0.3634, allocations: 19.92 kB / 0.5649 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.3636, allocations: 141.3 kB / 0.5651 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.3638, allocations: 50.61 kB / 0.5651 GB, free: 0 / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.523e-05/0.3639, allocations: 16.91 kB / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.3639, allocations: 0 / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.3641, allocations: 83.2 kB / 0.5652 GB, free: 15.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.3641, allocations: 0 / 0.5652 GB, free: 15.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003307/0.3644, allocations: 97.58 kB / 0.5653 GB, free: 15.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.3645, allocations: 55.41 kB / 0.5653 GB, free: 15.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.3648, allocations: 274.8 kB / 0.5656 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.3648, allocations: 29.7 kB / 0.5656 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.973e-05/0.3649, allocations: 112.1 kB / 0.5657 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.3649, allocations: 15.91 kB / 0.5658 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.365, allocations: 17.72 kB / 0.5658 GB, free: 15.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3651, allocations: 330.8 kB / 0.5661 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.354e-05/0.3652, allocations: 16 kB / 0.5661 GB, free: 14.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.53e-05/0.3653, allocations: 33.64 kB / 0.5661 GB, free: 14.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.3654, allocations: 45.7 kB / 0.5662 GB, free: 14.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3654, allocations: 0 / 0.5662 GB, free: 14.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001866/0.3656, allocations: 89.47 kB / 0.5663 GB, free: 14.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.3656, allocations: 15.92 kB / 0.5663 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3656, allocations: 0 / 0.5663 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3656, allocations: 0 / 0.5663 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.151e-05/0.3657, allocations: 12.34 kB / 0.5663 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.3657, allocations: 4.156 kB / 0.5663 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.632e-05/0.3657, allocations: 15.89 kB / 0.5663 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.3657, allocations: 4 kB / 0.5663 GB, free: 14.67 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 (7): * Single equations (assignments): 7 * 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.0001345/0.3659, allocations: 133.8 kB / 0.5664 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.3659, allocations: 19.83 kB / 0.5665 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.3661, allocations: 110.6 kB / 0.5666 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3661, allocations: 0 / 0.5666 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3661, allocations: 0 / 0.5666 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3662, allocations: 3.984 kB / 0.5666 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.3663, allocations: 145.3 kB / 0.5667 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3663, allocations: 0 / 0.5667 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.762e-05/0.3663, allocations: 4 kB / 0.5667 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.3663, allocations: 7.922 kB / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.3663, allocations: 4 kB / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3664, allocations: 0 / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3664, allocations: 0 / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.3666, allocations: 121 kB / 0.5668 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.647e-05/0.3666, allocations: 15.84 kB / 0.5669 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.3666, allocations: 0 / 0.5669 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.422e-05/0.3667, allocations: 12 kB / 0.5669 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.3667, allocations: 3.984 kB / 0.5669 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.3667, allocations: 4 kB / 0.5669 GB, free: 14.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002121/0.3669, allocations: 204.6 kB / 0.5671 GB, free: 13.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3669, allocations: 0 / 0.5671 GB, free: 13.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002177/0.3671, allocations: 16 kB / 0.5671 GB, free: 13.81 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001616/0.3688, allocations: 447 kB / 0.5675 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001796/0.3689, allocations: 51.91 kB / 0.5676 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3689, allocations: 4.062 kB / 0.5676 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.615e-05/0.369, allocations: 16 kB / 0.5676 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.3693, allocations: 27.97 kB / 0.5676 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004889/0.3698, allocations: 274.4 kB / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.3699, allocations: 105.7 kB / 0.568 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.477e-05/0.3699, allocations: 8.5 kB / 0.568 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/0.37, allocations: 19.42 kB / 0.568 GB, free: 13.01 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.37, allocations: 4 kB / 0.568 GB, free: 13 MB / 414.1 MB Notification: Performance of Templates: time 0.005059/0.375, allocations: 1.746 MB / 0.5697 GB, free: 11.29 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.329131085891277]