Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.001107/0.001107, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001402/0.001402, allocations: 170.3 kB / 24.82 MB, free: 9.266 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.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.3317/0.3317, 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 0 / 378.6 MB, free: 2.324 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.194e-05/3.429e-05, allocations: 6.25 kB / 378.6 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002725/0.002759, allocations: 1.832 MB / 380.4 MB, free: 480 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.004135, allocations: 1.076 MB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.968e-05/0.004225, allocations: 3.938 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004355/0.00466, allocations: 311.1 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003764/0.005037, allocations: 255 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.005219, allocations: 111.6 kB / 382.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002434/0.005462, allocations: 267.2 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.318e-05/0.005505, allocations: 21.78 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.005652, allocations: 147.7 kB / 382.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.005827, allocations: 203.6 kB / 382.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.005851, allocations: 7.938 kB / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.784e-05/0.005949, allocations: 47.92 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.00607, allocations: 147.5 kB / 383 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.697e-05/0.006137, allocations: 71.67 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.006414, allocations: 282.9 kB / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.006416, allocations: 0 / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.006417, allocations: 0 / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.006422, allocations: 0 / 383.3 MB, free: 13.54 MB / 362.7 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.0006615/0.007083, allocations: 0.7939 MB / 384.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.007125, allocations: 12.03 kB / 384.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.321e-05/0.007188, allocations: 64.56 kB / 384.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.007534, allocations: 312.7 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.007561, allocations: 4.375 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.007573, allocations: 384 / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.007769, allocations: 94.23 kB / 384.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.007785, allocations: 11.86 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.007794, allocations: 0 / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.007802, allocations: 4 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.023e-05/0.007842, allocations: 19.97 kB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002724/0.008115, allocations: 224.8 kB / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.008269, allocations: 94.14 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.6e-05/0.008305, allocations: 27.36 kB / 385 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.008325, allocations: 4 kB / 385 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.008477, allocations: 104.3 kB / 385.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.854e-06/0.008478, allocations: 4 kB / 385.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002784/0.008757, allocations: 173.2 kB / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.008796, allocations: 81.11 kB / 385.3 MB, free: 11.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004974/0.009293, allocations: 0.6898 MB / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.009314, allocations: 25.7 kB / 386 MB, free: 10.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.009483, allocations: 314.7 kB / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/0.009529, allocations: 31.72 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/0.009575, allocations: 35.36 kB / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.009776, allocations: 0.5703 MB / 387 MB, free: 9.641 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.284e-05/0.009809, allocations: 12 kB / 387 MB, free: 9.629 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.286e-05/0.009862, allocations: 58.7 kB / 387.1 MB, free: 9.555 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.501e-05/0.009947, allocations: 62.69 kB / 387.1 MB, free: 9.477 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.009952, allocations: 4.5 kB / 387.1 MB, free: 9.473 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001592/0.01011, allocations: 149.2 kB / 387.3 MB, free: 9.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.01013, allocations: 4 kB / 387.3 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.01014, allocations: 4 kB / 387.3 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.01015, allocations: 4 kB / 387.3 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.599e-05/0.01024, allocations: 23.98 kB / 387.3 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.01024, allocations: 4 kB / 387.3 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.268e-05/0.0103, allocations: 7.953 kB / 387.3 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.01031, allocations: 15.92 kB / 387.3 MB, free: 9.258 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0001104/0.01042, allocations: 165.2 kB / 387.5 MB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.01046, allocations: 51.67 kB / 387.5 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001937/0.01065, allocations: 157.9 kB / 387.7 MB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.01066, allocations: 3.938 kB / 387.7 MB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.01066, allocations: 0 / 387.7 MB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.01066, allocations: 11.98 kB / 387.7 MB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.01085, allocations: 236.9 kB / 387.9 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.01085, allocations: 4 kB / 387.9 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.202e-05/0.01088, allocations: 11.98 kB / 388 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01089, allocations: 0 / 388 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.01089, allocations: 4 kB / 388 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.0109, allocations: 0 / 388 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.0109, allocations: 0 / 388 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.01107, allocations: 207.6 kB / 388.2 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.303e-05/0.01112, allocations: 59.66 kB / 388.2 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.01115, allocations: 8.25 kB / 388.2 MB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.817e-05/0.0112, allocations: 7.984 kB / 388.2 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.01124, allocations: 19.92 kB / 388.3 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.01125, allocations: 4 kB / 388.3 MB, free: 8.254 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003621/0.01162, allocations: 442.6 kB / 388.7 MB, free: 7.824 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01162, allocations: 0 / 388.7 MB, free: 7.824 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000244/0.01186, allocations: 40 kB / 388.7 MB, free: 7.785 MB / 362.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.000989/0.01285, allocations: 404.9 kB / 389.1 MB, free: 7.531 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001437/0.01299, allocations: 63.58 kB / 389.2 MB, free: 7.465 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01299, allocations: 0 / 389.2 MB, free: 7.465 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.29e-05/0.01305, allocations: 31.67 kB / 389.2 MB, free: 7.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.01339, allocations: 81.17 kB / 389.3 MB, free: 7.355 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003928/0.01732, allocations: 0.6596 MB / 390 MB, free: 6.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.01744, allocations: 128.2 kB / 390.1 MB, free: 6.516 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.01755, allocations: 42.94 kB / 390.1 MB, free: 6.469 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.01771, allocations: 122.2 kB / 390.2 MB, free: 6.348 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/0.01771, allocations: 0 / 390.2 MB, free: 6.348 MB / 362.7 MB Notification: Performance of Templates: time 0.01838/0.03608, allocations: 4.349 MB / 394.6 MB, free: 2.07 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.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: 3.2990242107771337]