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.0009885/0.0009885, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.000898/0.000898, allocations: 164.8 kB / 25.61 MB, free: 8.891 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 0.9987/0.9987, allocations: 177.1 MB / 206.1 MB, free: 4.504 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.1487/0.1487, allocations: 34.27 MB / 296.9 MB, free: 13.93 MB / 282.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 1.343e-06/1.343e-06, allocations: 0 / 379.4 MB, free: 23.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.558e-06/1.09e-05, allocations: 2.312 kB / 379.4 MB, free: 23.34 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.001763/0.001774, allocations: 1.835 MB / 381.2 MB, free: 21.49 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.002777, allocations: 1.068 MB / 382.3 MB, free: 20.42 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.587e-05/0.002842, allocations: 0 / 382.3 MB, free: 20.42 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003303/0.003173, allocations: 315.1 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002938/0.003466, allocations: 262.9 kB / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.00361, allocations: 107.6 kB / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.003788, allocations: 271.2 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.531e-05/0.003823, allocations: 5.812 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.003936, allocations: 159.5 kB / 383.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.004076, allocations: 207.6 kB / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.004092, allocations: 8 kB / 383.6 MB, free: 19.11 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.595e-05/0.004158, allocations: 51.91 kB / 383.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.591e-05/0.004234, allocations: 139.6 kB / 383.8 MB, free: 18.92 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.457e-05/0.004289, allocations: 75.64 kB / 383.8 MB, free: 18.85 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.004474, allocations: 282.9 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.004476, allocations: 0 / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.9e-07/0.004476, allocations: 0 / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.004481, allocations: 0 / 384.1 MB, free: 18.57 MB / 314.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.000442/0.004923, allocations: 0.794 MB / 384.9 MB, free: 17.74 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.713e-05/0.00495, allocations: 12.03 kB / 384.9 MB, free: 17.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.61e-05/0.004996, allocations: 60.56 kB / 385 MB, free: 17.67 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.005193, allocations: 316.6 kB / 385.3 MB, free: 17.33 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.005206, allocations: 4.375 kB / 385.3 MB, free: 17.33 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.005215, allocations: 4.375 kB / 385.3 MB, free: 17.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.97e-05/0.005314, allocations: 94.27 kB / 385.4 MB, free: 17.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.005321, allocations: 3.938 kB / 385.4 MB, free: 17.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-06/0.005329, allocations: 4 kB / 385.4 MB, free: 17.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.005333, allocations: 0 / 385.4 MB, free: 17.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.782e-05/0.005361, allocations: 19.92 kB / 385.4 MB, free: 17.19 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001467/0.005507, allocations: 212.9 kB / 385.6 MB, free: 16.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.297e-05/0.0056, allocations: 98.2 kB / 385.7 MB, free: 16.83 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.562e-05/0.005626, allocations: 31.3 kB / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.005635, allocations: 4 kB / 385.8 MB, free: 16.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.896e-05/0.005714, allocations: 100.4 kB / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 8.32e-07/0.005715, allocations: 0 / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.00018/0.005895, allocations: 173.1 kB / 386 MB, free: 16.49 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.854e-05/0.005913, allocations: 85.11 kB / 386.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003188/0.006232, allocations: 0.6898 MB / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.006241, allocations: 33.7 kB / 386.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.959e-05/0.006341, allocations: 322.6 kB / 387.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.006368, allocations: 23.84 kB / 387.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.006398, allocations: 31.36 kB / 387.2 MB, free: 15.26 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.884e-05/0.006476, allocations: 0.5664 MB / 387.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.725e-05/0.006494, allocations: 11.98 kB / 387.8 MB, free: 14.67 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.849e-05/0.006522, allocations: 54.72 kB / 387.8 MB, free: 14.6 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.129e-05/0.006573, allocations: 71.17 kB / 387.9 MB, free: 14.51 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.006575, allocations: 4 kB / 387.9 MB, free: 14.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001114/0.006687, allocations: 145.2 kB / 388 MB, free: 14.36 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.006696, allocations: 7.984 kB / 388 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.0067, allocations: 3.984 kB / 388.1 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.755e-06/0.006708, allocations: 7.938 kB / 388.1 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.099e-05/0.006769, allocations: 19.94 kB / 388.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.006772, allocations: 4 kB / 388.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.938e-05/0.006822, allocations: 23.94 kB / 388.1 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.006828, allocations: 4 kB / 388.1 MB, free: 14.29 MB / 314.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 6.035e-05/0.006888, allocations: 165.2 kB / 388.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.006919, allocations: 55.66 kB / 388.3 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.007052, allocations: 161.9 kB / 388.5 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.007054, allocations: 3.938 kB / 388.5 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.007056, allocations: 0 / 388.5 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.007059, allocations: 0 / 388.5 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.007188, allocations: 233 kB / 388.7 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.007189, allocations: 0 / 388.7 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.111e-05/0.00721, allocations: 19.94 kB / 388.7 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.007212, allocations: 0 / 388.7 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.007218, allocations: 4 kB / 388.7 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.00722, allocations: 7.984 kB / 388.7 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.00722, allocations: 256 / 388.7 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.007335, allocations: 203.7 kB / 388.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.791e-05/0.007373, allocations: 59.55 kB / 389 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.007399, allocations: 7.984 kB / 389 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.776e-05/0.007436, allocations: 4 kB / 389 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.007461, allocations: 11.92 kB / 389 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.007472, allocations: 8 kB / 389 MB, free: 13.29 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001828/0.007655, allocations: 450.6 kB / 389.5 MB, free: 12.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007655, allocations: 0 / 389.5 MB, free: 12.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001644/0.007819, allocations: 44 kB / 389.5 MB, free: 12.81 MB / 314.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.0006967/0.008516, allocations: 390.5 kB / 389.9 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.965e-05/0.008606, allocations: 63.56 kB / 390 MB, free: 12.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.21e-07/0.008606, allocations: 0 / 390 MB, free: 12.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.562e-05/0.008642, allocations: 39.61 kB / 390 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.008881, allocations: 83.22 kB / 390.1 MB, free: 12.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005/0.009381, allocations: 0.6616 MB / 390.7 MB, free: 11.68 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.221e-05/0.009434, allocations: 136.1 kB / 390.9 MB, free: 11.53 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.354e-05/0.009487, allocations: 42.95 kB / 390.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.875e-05/0.009576, allocations: 118.2 kB / 391 MB, free: 11.37 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.009576, allocations: 0 / 391 MB, free: 11.37 MB / 314.7 MB Notification: Performance of Templates: time 0.00532/0.0149, allocations: 4.423 MB / 395.5 MB, free: 6.996 MB / 314.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.142228883225471]