Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.001053/0.001053, allocations: 75.75 kB / 21.69 MB, free: 2.859 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.00107/0.00107, allocations: 166.2 kB / 24.99 MB, free: 8.883 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.046/1.046, allocations: 177.1 MB / 205.3 MB, free: 5.613 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.2917/0.2917, allocations: 34.26 MB / 296 MB, free: 0.7695 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 378.1 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.716e-05/2.925e-05, allocations: 2.312 kB / 378.1 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003553/0.003582, allocations: 1.844 MB / 379.9 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.00551, allocations: 1.08 MB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.005636, allocations: 0 / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006672/0.006303, allocations: 315 kB / 381.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006422/0.006946, allocations: 267 kB / 381.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.007257, allocations: 111.6 kB / 381.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004001/0.007657, allocations: 263.2 kB / 382 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.053e-05/0.007718, allocations: 5.812 kB / 382 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002286/0.007947, allocations: 159.5 kB / 382.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002577/0.008204, allocations: 203.6 kB / 382.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.008236, allocations: 8 kB / 382.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.008355, allocations: 47.92 kB / 382.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.008506, allocations: 147.6 kB / 382.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.008623, allocations: 71.67 kB / 382.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004289/0.009052, allocations: 282.9 kB / 382.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.009058, allocations: 0 / 382.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.00906, allocations: 0 / 382.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.009071, allocations: 0 / 382.9 MB, free: 14.11 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.001062/0.01013, allocations: 0.794 MB / 383.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.01018, allocations: 12.03 kB / 383.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.01031, allocations: 56.56 kB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005228/0.01083, allocations: 324.7 kB / 384 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.01086, allocations: 16.31 kB / 384.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.01087, allocations: 4.359 kB / 384.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.0111, allocations: 90.3 kB / 384.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.01111, allocations: 3.938 kB / 384.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.01112, allocations: 4 kB / 384.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.01113, allocations: 4 kB / 384.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.413e-05/0.01121, allocations: 19.91 kB / 384.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004156/0.01162, allocations: 312.2 kB / 384.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.01183, allocations: 98.22 kB / 384.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.095e-05/0.01189, allocations: 31.36 kB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.01191, allocations: 7.938 kB / 384.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001883/0.0121, allocations: 108.4 kB / 384.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/0.0121, allocations: 0 / 384.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004391/0.01254, allocations: 181.6 kB / 384.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.01259, allocations: 81.11 kB / 385 MB, free: 11.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008448/0.01344, allocations: 0.7097 MB / 385.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.01346, allocations: 33.7 kB / 385.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.01369, allocations: 310.8 kB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.777e-05/0.01375, allocations: 39.72 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.603e-05/0.0138, allocations: 27.38 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002775/0.01408, allocations: 0.5664 MB / 386.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.041e-05/0.01413, allocations: 15.98 kB / 386.7 MB, free: 10.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.321e-05/0.0142, allocations: 50.73 kB / 386.7 MB, free: 9.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.01434, allocations: 82.73 kB / 386.8 MB, free: 9.883 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.01434, allocations: 4 kB / 386.8 MB, free: 9.879 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002632/0.0146, allocations: 149.3 kB / 387 MB, free: 9.727 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.01463, allocations: 4 kB / 387 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.01463, allocations: 7.938 kB / 387 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.01465, allocations: 0 / 387 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.0148, allocations: 31.92 kB / 387 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.01481, allocations: 0 / 387 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.01491, allocations: 7.953 kB / 387 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.01493, allocations: 7.984 kB / 387 MB, free: 9.668 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.000153/0.01508, allocations: 173.2 kB / 387.2 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.596e-05/0.01516, allocations: 59.67 kB / 387.2 MB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003063/0.01546, allocations: 165.8 kB / 387.4 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.01547, allocations: 256 / 387.4 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.01547, allocations: 4 kB / 387.4 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.01548, allocations: 7.984 kB / 387.4 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003396/0.01582, allocations: 316.4 kB / 387.7 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.01583, allocations: 0 / 387.7 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.27e-05/0.01588, allocations: 15.94 kB / 387.7 MB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.01588, allocations: 7.984 kB / 387.8 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.0159, allocations: 4 kB / 387.8 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.0159, allocations: 3.938 kB / 387.8 MB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.0159, allocations: 0 / 387.8 MB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.01618, allocations: 211.7 kB / 388 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.002e-05/0.01627, allocations: 63.66 kB / 388 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.584e-05/0.01631, allocations: 4 kB / 388 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.682e-05/0.0164, allocations: 7.938 kB / 388 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.01645, allocations: 11.98 kB / 388.1 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.01647, allocations: 7.984 kB / 388.1 MB, free: 8.547 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000511/0.01698, allocations: 482.8 kB / 388.5 MB, free: 8.078 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.01698, allocations: 4 kB / 388.5 MB, free: 8.074 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002979/0.01728, allocations: 51.92 kB / 388.6 MB, free: 8.023 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.001166/0.01845, allocations: 383.3 kB / 389 MB, free: 7.789 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.01865, allocations: 71.59 kB / 389 MB, free: 7.715 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.01865, allocations: 0 / 389 MB, free: 7.715 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.596e-05/0.01872, allocations: 43.61 kB / 389.1 MB, free: 7.668 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000455/0.01918, allocations: 84.88 kB / 389.2 MB, free: 7.586 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.02038, allocations: 0.6759 MB / 389.8 MB, free: 6.875 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.0205, allocations: 124.2 kB / 390 MB, free: 6.734 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.02061, allocations: 46.94 kB / 390 MB, free: 6.684 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.584e-05/0.02069, allocations: 32.5 kB / 390 MB, free: 6.652 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.02069, allocations: 0 / 390 MB, free: 6.652 MB / 362.7 MB Notification: Performance of Templates: time 0.009238/0.02993, allocations: 4.065 MB / 394.1 MB, free: 2.621 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.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.4107252040412277]