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.001479/0.001479, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001763/0.001763, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.115/1.115, allocations: 177.1 MB / 205 MB, free: 5.289 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.2675/0.2675, allocations: 34.26 MB / 295.7 MB, free: 0.7227 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.024e-06/2.024e-06, allocations: 0 / 378.1 MB, free: 2.602 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.199e-05/3.401e-05, allocations: 6.312 kB / 378.1 MB, free: 2.594 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003923/0.003957, allocations: 1.847 MB / 380 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001998/0.005955, allocations: 1.08 MB / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.006083, allocations: 4 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006553/0.006739, allocations: 311 kB / 381.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006017/0.00734, allocations: 263 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003259/0.007666, allocations: 111.5 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003703/0.008036, allocations: 267.2 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.08e-05/0.008097, allocations: 9.75 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.008318, allocations: 151.6 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003115/0.00863, allocations: 211.6 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.008657, allocations: 4 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.008769, allocations: 47.92 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.0089, allocations: 147.5 kB / 382.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.509e-05/0.008986, allocations: 71.67 kB / 382.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003551/0.009341, allocations: 286.9 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.585e-06/0.009348, allocations: 0 / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.00935, allocations: 0 / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.679e-06/0.00936, allocations: 0 / 382.9 MB, free: 13.8 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.0007858/0.01015, allocations: 0.7979 MB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.01018, allocations: 8.031 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.718e-05/0.01026, allocations: 56.56 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.01062, allocations: 328.7 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.01064, allocations: 384 / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.01065, allocations: 12.36 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.01082, allocations: 98.28 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.01083, allocations: 3.938 kB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.01084, allocations: 0 / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.01085, allocations: 0 / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.629e-05/0.0109, allocations: 23.92 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002947/0.01119, allocations: 316.1 kB / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.01136, allocations: 98.16 kB / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.811e-05/0.01141, allocations: 39.36 kB / 384.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.01142, allocations: 0 / 384.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001413/0.01156, allocations: 108.3 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 8.91e-07/0.01156, allocations: 0 / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002925/0.01186, allocations: 185.6 kB / 384.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.0119, allocations: 81.09 kB / 385 MB, free: 11.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005415/0.01244, allocations: 0.7097 MB / 385.7 MB, free: 10.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.01246, allocations: 29.7 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.01261, allocations: 306.8 kB / 386.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.708e-05/0.01266, allocations: 39.73 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/0.0127, allocations: 35.36 kB / 386.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.01287, allocations: 0.5587 MB / 386.7 MB, free: 9.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.807e-05/0.01291, allocations: 15.98 kB / 386.7 MB, free: 9.734 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.049e-05/0.01296, allocations: 54.73 kB / 386.8 MB, free: 9.664 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.67e-05/0.01305, allocations: 78.73 kB / 386.8 MB, free: 9.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01305, allocations: 0 / 386.8 MB, free: 9.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001797/0.01323, allocations: 161.2 kB / 387 MB, free: 9.406 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.01325, allocations: 4 kB / 387 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.01326, allocations: 3.938 kB / 387 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.01328, allocations: 4 kB / 387 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.01338, allocations: 19.98 kB / 387 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.01339, allocations: 7.984 kB / 387 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.18e-05/0.01345, allocations: 11.95 kB / 387 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.01346, allocations: 4 kB / 387 MB, free: 9.352 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.0001134/0.01357, allocations: 169.1 kB / 387.2 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.468e-05/0.01362, allocations: 55.73 kB / 387.3 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.01386, allocations: 170.1 kB / 387.4 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.01386, allocations: 0 / 387.4 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.01387, allocations: 4 kB / 387.4 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.01388, allocations: 0 / 387.4 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.01413, allocations: 320.4 kB / 387.7 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.01413, allocations: 4 kB / 387.8 MB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.247e-05/0.01417, allocations: 8 kB / 387.8 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.01418, allocations: 0 / 387.8 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.01419, allocations: 15.92 kB / 387.8 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.0142, allocations: 3.938 kB / 387.8 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.0142, allocations: 7.984 kB / 387.8 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.01441, allocations: 211.7 kB / 388 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.671e-05/0.01447, allocations: 59.66 kB / 388.1 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.01451, allocations: 4 kB / 388.1 MB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.888e-05/0.01455, allocations: 7.938 kB / 388.1 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.0146, allocations: 7.984 kB / 388.1 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.01462, allocations: 11.98 kB / 388.1 MB, free: 8.234 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003661/0.01498, allocations: 486.8 kB / 388.6 MB, free: 7.762 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.01498, allocations: 0 / 388.6 MB, free: 7.762 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002219/0.01521, allocations: 43.98 kB / 388.6 MB, free: 7.719 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.0009906/0.0162, allocations: 396.2 kB / 389 MB, free: 7.469 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001701/0.01637, allocations: 71.66 kB / 389.1 MB, free: 7.395 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01637, allocations: 0 / 389.1 MB, free: 7.395 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.56e-05/0.01643, allocations: 43.61 kB / 389.1 MB, free: 7.348 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.01675, allocations: 69.39 kB / 389.2 MB, free: 7.285 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009151/0.01766, allocations: 0.6758 MB / 389.8 MB, free: 6.574 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.096e-05/0.01775, allocations: 132.2 kB / 390 MB, free: 6.426 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.916e-05/0.01784, allocations: 50.92 kB / 390 MB, free: 6.371 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.601e-05/0.01791, allocations: 32.5 kB / 390.1 MB, free: 6.34 MB / 362.7 MB Notification: Performance of SimCode: time 1.262e-06/0.01791, allocations: 4 kB / 390.1 MB, free: 6.336 MB / 362.7 MB Notification: Performance of Templates: time 0.007344/0.02525, allocations: 4.053 MB / 394.1 MB, free: 2.316 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.443135197740048]