Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.001041/0.001041, allocations: 80.92 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001136/0.001136, allocations: 167.8 kB / 24.91 MB, free: 8.77 MB / 18.57 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.01/1.01, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.2614/0.2614, allocations: 34.26 MB / 296.1 MB, free: 0.7344 MB / 266.7 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.186e-06/3.186e-06, allocations: 4 kB / 325.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.884e-05, allocations: 7.406 kB / 325.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003415/0.003444, allocations: 1.759 MB / 327.1 MB, free: 5.844 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.005311, allocations: 1.01 MB / 328.1 MB, free: 4.828 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.005417, allocations: 4 kB / 328.1 MB, free: 4.824 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000333/0.00575, allocations: 43.64 kB / 328.1 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003969/0.006147, allocations: 99.53 kB / 328.2 MB, free: 4.684 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.006413, allocations: 75.61 kB / 328.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.006617, allocations: 112.1 kB / 328.4 MB, free: 4.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.729e-05/0.006714, allocations: 4 kB / 328.4 MB, free: 4.496 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.006842, allocations: 59.78 kB / 328.5 MB, free: 4.438 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.244e-05/0.006934, allocations: 31.89 kB / 328.5 MB, free: 4.406 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.006952, allocations: 4 kB / 328.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.007067, allocations: 43.92 kB / 328.6 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.66e-05/0.007123, allocations: 23.91 kB / 328.6 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.298e-05/0.007166, allocations: 15.94 kB / 328.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.00738, allocations: 103.6 kB / 328.7 MB, free: 4.219 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.007384, allocations: 0 / 328.7 MB, free: 4.219 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.007385, allocations: 3.938 kB / 328.7 MB, free: 4.215 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.00739, allocations: 0 / 328.7 MB, free: 4.215 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004397/0.007829, allocations: 325.5 kB / 329 MB, free: 3.875 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.007861, allocations: 8.031 kB / 329 MB, free: 3.867 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.007892, allocations: 12.92 kB / 329.1 MB, free: 3.855 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.008036, allocations: 143.4 kB / 329.2 MB, free: 3.691 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.008052, allocations: 8.375 kB / 329.2 MB, free: 3.684 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.00807, allocations: 384 / 329.2 MB, free: 3.684 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.008176, allocations: 65.77 kB / 329.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.008187, allocations: 3.938 kB / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.008195, allocations: 3.984 kB / 329.3 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.0082, allocations: 3.938 kB / 329.3 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.416e-05/0.008224, allocations: 12 kB / 329.3 MB, free: 3.586 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001972/0.008421, allocations: 162 kB / 329.4 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.88e-05/0.00851, allocations: 89.34 kB / 329.5 MB, free: 3.312 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.897e-05/0.008529, allocations: 12.86 kB / 329.5 MB, free: 3.297 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.008541, allocations: 0 / 329.5 MB, free: 3.297 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.945e-05/0.00863, allocations: 70.09 kB / 329.6 MB, free: 3.215 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.008631, allocations: 0 / 329.6 MB, free: 3.215 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002784/0.00891, allocations: 109.5 kB / 329.7 MB, free: 3.102 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.008942, allocations: 59.41 kB / 329.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.009044, allocations: 177.2 kB / 330 MB, free: 2.844 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.009058, allocations: 29.7 kB / 330 MB, free: 2.809 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.988e-05/0.009088, allocations: 96.12 kB / 330.1 MB, free: 2.711 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.009116, allocations: 31.77 kB / 330.1 MB, free: 2.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.009144, allocations: 17.72 kB / 330.1 MB, free: 2.656 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.751e-05/0.009222, allocations: 330.8 kB / 330.4 MB, free: 2.324 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2e-05/0.009242, allocations: 10.83 kB / 330.5 MB, free: 2.312 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.366e-05/0.009265, allocations: 21.7 kB / 330.5 MB, free: 2.285 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.252e-05/0.009308, allocations: 48.45 kB / 330.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.009309, allocations: 4 kB / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.656e-05/0.009386, allocations: 72.38 kB / 330.6 MB, free: 2.148 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.009397, allocations: 4 kB / 330.6 MB, free: 2.145 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.009402, allocations: 4 kB / 330.6 MB, free: 2.141 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.009414, allocations: 384 / 330.6 MB, free: 2.141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.864e-05/0.009473, allocations: 12 kB / 330.6 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.009477, allocations: 3.984 kB / 330.6 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.961e-05/0.009506, allocations: 12 kB / 330.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.009511, allocations: 0 / 330.6 MB, free: 2.113 MB / 298.7 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 (10): * Single equations (assignments): 10 * 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 7.334e-05/0.009584, allocations: 125.8 kB / 330.8 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.009599, allocations: 11.92 kB / 330.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.009704, allocations: 75.08 kB / 330.8 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.009706, allocations: 0 / 330.8 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.009708, allocations: 0 / 330.8 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.009712, allocations: 3.984 kB / 330.8 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.009929, allocations: 295.5 kB / 331.1 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.009931, allocations: 0 / 331.1 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.579e-05/0.009957, allocations: 8 kB / 331.1 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.00996, allocations: 3.984 kB / 331.1 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.009967, allocations: 8.031 kB / 331.2 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.00997, allocations: 3.938 kB / 331.2 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.009971, allocations: 80 / 331.2 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.01007, allocations: 223 kB / 331.4 MB, free: 1.305 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.039e-05/0.01009, allocations: 7.953 kB / 331.4 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.0101, allocations: 4 kB / 331.4 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.976e-05/0.01014, allocations: 4 kB / 331.4 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.721e-05/0.01017, allocations: 11.92 kB / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.01018, allocations: 7.938 kB / 331.4 MB, free: 1.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.112e-05/0.01022, allocations: 47.64 kB / 331.5 MB, free: 1.219 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01022, allocations: 8 kB / 331.5 MB, free: 1.211 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001513/0.01037, allocations: 27.92 kB / 331.5 MB, free: 1.184 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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.001355/0.01173, allocations: 0.5664 MB / 332.1 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000112/0.01184, allocations: 52.77 kB / 332.1 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.01184, allocations: 0 / 332.1 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.36e-05/0.01188, allocations: 28.78 kB / 332.1 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.01207, allocations: 31.55 kB / 332.2 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000327/0.01239, allocations: 219.7 kB / 332.4 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.803e-05/0.01244, allocations: 67.33 kB / 332.5 MB, free: 480 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.058e-05/0.01248, allocations: 17.41 kB / 332.5 MB, free: 460 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.982e-05/0.01255, allocations: 67.36 kB / 332.5 MB, free: 392 kB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01255, allocations: 0 / 332.5 MB, free: 392 kB / 298.7 MB Notification: Performance of Templates: time 0.004129/0.01668, allocations: 2.02 MB / 334.6 MB, free: 14.4 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9612246407195926]