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.0009963/0.0009963, allocations: 71.77 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.0009635/0.0009635, allocations: 163.9 kB / 24.99 MB, free: 8.336 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.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.602 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.2765/0.2765, allocations: 34.26 MB / 296 MB, free: 0.7812 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 1.122e-06/1.122e-06, allocations: 0 / 378.1 MB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/1.985e-05, allocations: 2.312 kB / 378.1 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002149/0.002169, allocations: 1.844 MB / 379.9 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.00342, allocations: 1.087 MB / 381 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.18e-05/0.003502, allocations: 0 / 381 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004298/0.003932, allocations: 303 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003373/0.004269, allocations: 267 kB / 381.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001619/0.004431, allocations: 111.6 kB / 381.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.004649, allocations: 271.2 kB / 382 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.594e-05/0.004685, allocations: 5.812 kB / 382 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.004818, allocations: 155.6 kB / 382.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.004995, allocations: 207.6 kB / 382.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.005015, allocations: 8 kB / 382.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.615e-05/0.005091, allocations: 47.92 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.005196, allocations: 143.5 kB / 382.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.793e-05/0.005264, allocations: 71.66 kB / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.005512, allocations: 290.9 kB / 382.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.005514, allocations: 0 / 382.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.005515, allocations: 0 / 382.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.005519, allocations: 0 / 382.9 MB, free: 14.12 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.0007217/0.006241, allocations: 0.7863 MB / 383.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.00627, allocations: 12.03 kB / 383.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.552e-05/0.006336, allocations: 56.56 kB / 383.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004046/0.006741, allocations: 328.6 kB / 384 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.00676, allocations: 8.375 kB / 384 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-06/0.00677, allocations: 384 / 384 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.006915, allocations: 106.2 kB / 384.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.006922, allocations: 3.938 kB / 384.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.00693, allocations: 0 / 384.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.006936, allocations: 4 kB / 384.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.08e-05/0.006977, allocations: 15.98 kB / 384.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002463/0.007224, allocations: 316.2 kB / 384.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.00735, allocations: 98.16 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.104e-05/0.007391, allocations: 35.36 kB / 384.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.007403, allocations: 4 kB / 384.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001421/0.007545, allocations: 112.3 kB / 384.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 9.32e-07/0.007546, allocations: 0 / 384.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.000254/0.0078, allocations: 177.6 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.007844, allocations: 85.09 kB / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004854/0.00833, allocations: 0.7097 MB / 385.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.008343, allocations: 25.7 kB / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.00848, allocations: 310.8 kB / 386 MB, free: 10.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.008514, allocations: 31.75 kB / 386.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.008549, allocations: 35.36 kB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.008712, allocations: 0.5626 MB / 386.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.982e-05/0.008742, allocations: 15.98 kB / 386.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.233e-05/0.008794, allocations: 54.67 kB / 386.7 MB, free: 10 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.407e-05/0.008878, allocations: 82.73 kB / 386.8 MB, free: 9.906 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.008881, allocations: 0 / 386.8 MB, free: 9.906 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001546/0.009035, allocations: 157.3 kB / 387 MB, free: 9.746 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.009047, allocations: 4 kB / 387 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.009052, allocations: 7.938 kB / 387 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.009064, allocations: 0 / 387 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.047e-05/0.009144, allocations: 27.92 kB / 387 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.00915, allocations: 4 kB / 387 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.983e-05/0.0092, allocations: 7.953 kB / 387 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.009208, allocations: 4 kB / 387 MB, free: 9.691 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 9.048e-05/0.009298, allocations: 165.2 kB / 387.2 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.009338, allocations: 59.67 kB / 387.2 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001832/0.009521, allocations: 177.8 kB / 387.4 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.009523, allocations: 256 / 387.4 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.009528, allocations: 4 kB / 387.4 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.009534, allocations: 4 kB / 387.4 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.009757, allocations: 320.4 kB / 387.7 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.009758, allocations: 0 / 387.7 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.689e-05/0.009785, allocations: 12 kB / 387.7 MB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.009788, allocations: 4 kB / 387.7 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.009797, allocations: 3.984 kB / 387.7 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.009802, allocations: 7.875 kB / 387.8 MB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.009802, allocations: 4 kB / 387.8 MB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.009965, allocations: 207.7 kB / 388 MB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.294e-05/0.01002, allocations: 67.66 kB / 388 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.01004, allocations: 4 kB / 388 MB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.949e-05/0.01008, allocations: 7.938 kB / 388 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.01012, allocations: 11.98 kB / 388 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.01013, allocations: 7.984 kB / 388.1 MB, free: 8.566 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003039/0.01044, allocations: 486.7 kB / 388.5 MB, free: 8.094 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01044, allocations: 0 / 388.5 MB, free: 8.094 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001645/0.0106, allocations: 47.98 kB / 388.6 MB, free: 8.047 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.0008089/0.01141, allocations: 396.2 kB / 389 MB, free: 7.801 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000127/0.01154, allocations: 67.59 kB / 389 MB, free: 7.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.01154, allocations: 4.125 kB / 389 MB, free: 7.727 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.725e-05/0.01159, allocations: 43.61 kB / 389.1 MB, free: 7.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.01185, allocations: 76.31 kB / 389.2 MB, free: 7.609 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006616/0.01251, allocations: 0.6758 MB / 389.8 MB, free: 6.898 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.917e-05/0.01258, allocations: 124.2 kB / 389.9 MB, free: 6.758 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.402e-05/0.01265, allocations: 46.94 kB / 390 MB, free: 6.707 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.511e-05/0.0127, allocations: 28.5 kB / 390 MB, free: 6.68 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.0127, allocations: 0 / 390 MB, free: 6.68 MB / 362.7 MB Notification: Performance of Templates: time 0.00623/0.01893, allocations: 4.064 MB / 394.1 MB, free: 2.648 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.3849555351771414]