Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.001568/0.001568, 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.001159/0.001159, allocations: 174.1 kB / 24.82 MB, free: 8.934 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.051/1.051, allocations: 177.1 MB / 205.3 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2642/0.2642, allocations: 32.81 MB / 294.6 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 376.6 MB, free: 4.363 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/2.975e-05, allocations: 9.203 kB / 376.6 MB, free: 4.355 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002714/0.002743, allocations: 1.84 MB / 378.4 MB, free: 2.5 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.004217, allocations: 1.064 MB / 379.5 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.00432, allocations: 0 / 379.5 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004886/0.004809, allocations: 307.1 kB / 379.8 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004819/0.005291, allocations: 255 kB / 380 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.005581, allocations: 111.6 kB / 380.1 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003123/0.005894, allocations: 271.2 kB / 380.4 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.566e-05/0.005949, allocations: 5.812 kB / 380.4 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.006134, allocations: 155.6 kB / 380.5 MB, free: 352 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.00633, allocations: 196.1 kB / 380.7 MB, free: 156 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.006353, allocations: 8 kB / 380.7 MB, free: 148 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.006454, allocations: 47.92 kB / 380.8 MB, free: 100 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.006584, allocations: 140.5 kB / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.097e-05/0.006655, allocations: 75.67 kB / 381 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.006945, allocations: 282.8 kB / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.006949, allocations: 0 / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.00695, allocations: 0 / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.006956, allocations: 0 / 381.3 MB, free: 15.61 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.0009639/0.00792, allocations: 0.7784 MB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.00796, allocations: 12.02 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.563e-05/0.008025, allocations: 52.61 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.008315, allocations: 312.6 kB / 382.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.008336, allocations: 12.38 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.008346, allocations: 384 / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.008498, allocations: 94.28 kB / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.008507, allocations: 3.938 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.008514, allocations: 0 / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.00852, allocations: 3.938 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.226e-05/0.008552, allocations: 19.92 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002156/0.008767, allocations: 220.8 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.008885, allocations: 94.22 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.383e-05/0.008918, allocations: 39.28 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.008935, allocations: 0 / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001198/0.009055, allocations: 108.4 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 9.02e-07/0.009056, allocations: 0 / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002294/0.009285, allocations: 165.2 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.009316, allocations: 77.11 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004135/0.00973, allocations: 0.6858 MB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.009745, allocations: 25.7 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.009893, allocations: 314.7 kB / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.009927, allocations: 23.84 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.009964, allocations: 35.34 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.01012, allocations: 0.5664 MB / 384.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.377e-05/0.01014, allocations: 11.98 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.653e-05/0.01018, allocations: 46.73 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.493e-05/0.01025, allocations: 74.66 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01025, allocations: 0 / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001317/0.01038, allocations: 145.8 kB / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.01039, allocations: 8 kB / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.0104, allocations: 3.984 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.01041, allocations: 7.938 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.24e-05/0.01048, allocations: 20 kB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.01049, allocations: 4 kB / 385.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.209e-05/0.01054, allocations: 15.92 kB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.01054, allocations: 4 kB / 385.2 MB, free: 11.38 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.339e-05/0.01064, allocations: 169.2 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.01068, allocations: 55.62 kB / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.01086, allocations: 157.8 kB / 385.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.01086, allocations: 7.938 kB / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.01086, allocations: 0 / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.01087, allocations: 0 / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.01104, allocations: 225.1 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.01105, allocations: 4 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.992e-05/0.01108, allocations: 15.88 kB / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.01108, allocations: 0 / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.01109, allocations: 4 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.01109, allocations: 4 kB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01109, allocations: 0 / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.01125, allocations: 211.6 kB / 386.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.0113, allocations: 55.59 kB / 386.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.01132, allocations: 0 / 386.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.154e-05/0.01136, allocations: 7.984 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/0.0114, allocations: 19.86 kB / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.01141, allocations: 4 kB / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002587/0.01167, allocations: 430.7 kB / 386.6 MB, free: 9.973 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01167, allocations: 0 / 386.6 MB, free: 9.973 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002218/0.01189, allocations: 47.98 kB / 386.6 MB, free: 9.926 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.0008843/0.01277, allocations: 402.5 kB / 387 MB, free: 9.672 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001186/0.01289, allocations: 67.59 kB / 387.1 MB, free: 9.602 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01289, allocations: 0 / 387.1 MB, free: 9.602 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.18e-05/0.01293, allocations: 35.61 kB / 387.1 MB, free: 9.562 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.01329, allocations: 77.31 kB / 387.2 MB, free: 9.488 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00097/0.01426, allocations: 0.6442 MB / 387.8 MB, free: 8.809 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.01438, allocations: 128.2 kB / 387.9 MB, free: 8.664 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.172e-05/0.01445, allocations: 34.95 kB / 388 MB, free: 8.625 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.01458, allocations: 122.2 kB / 388.1 MB, free: 8.504 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01458, allocations: 4 kB / 388.1 MB, free: 8.5 MB / 362.7 MB Notification: Performance of Templates: time 0.007292/0.02188, allocations: 4.304 MB / 392.4 MB, free: 4.273 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.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.1501224488019943]