Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002224/0.002224, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002521/0.002521, allocations: 165.3 kB / 24.28 MB, free: 152 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.625/1.625, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.3414/0.3414, allocations: 32.81 MB / 293.9 MB, free: 1.199 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 375.3 MB, free: 4.918 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.755e-05, allocations: 9.406 kB / 375.3 MB, free: 4.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.00331/0.003338, allocations: 1.817 MB / 377.2 MB, free: 3.078 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.005398, allocations: 1.076 MB / 378.2 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.4e-05/0.005472, allocations: 4 kB / 378.2 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005604/0.006032, allocations: 307.2 kB / 378.5 MB, free: 1.691 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005129/0.006545, allocations: 259 kB / 378.8 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.006793, allocations: 111.6 kB / 378.9 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003812/0.007174, allocations: 267.2 kB / 379.2 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.312e-05/0.007228, allocations: 13.8 kB / 379.2 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.007468, allocations: 155.6 kB / 379.3 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002787/0.007747, allocations: 195.6 kB / 379.5 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.29e-05/0.00778, allocations: 8 kB / 379.5 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.007898, allocations: 55.91 kB / 379.6 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.008081, allocations: 143.5 kB / 379.7 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.008195, allocations: 75.66 kB / 379.8 MB, free: 440 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004802/0.008675, allocations: 358.7 kB / 380.1 MB, free: 80 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.008679, allocations: 0 / 380.1 MB, free: 80 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.00868, allocations: 0 / 380.1 MB, free: 80 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.008687, allocations: 0 / 380.1 MB, free: 80 kB / 346.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.001542/0.01023, allocations: 0.8057 MB / 381 MB, free: 15.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.01027, allocations: 8.031 kB / 381 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.0104, allocations: 56.56 kB / 381 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006228/0.01102, allocations: 348.6 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.01104, allocations: 384 / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.01106, allocations: 4.375 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.01126, allocations: 89.53 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.01128, allocations: 3.938 kB / 381.5 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.01129, allocations: 4 kB / 381.5 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.01129, allocations: 0 / 381.5 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.0114, allocations: 27.97 kB / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004953/0.01189, allocations: 356.3 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.01218, allocations: 122.1 kB / 381.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.372e-05/0.01227, allocations: 39.36 kB / 382 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.01229, allocations: 0 / 382 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000234/0.01252, allocations: 124.3 kB / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 8.92e-07/0.01252, allocations: 0 / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004983/0.01302, allocations: 201.1 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/0.01309, allocations: 81.11 kB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009682/0.01406, allocations: 0.7799 MB / 383.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.01408, allocations: 25.7 kB / 383.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003095/0.01439, allocations: 334.8 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.214e-05/0.01444, allocations: 23.86 kB / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.074e-05/0.01451, allocations: 35.36 kB / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000393/0.0149, allocations: 0.5821 MB / 384.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.589e-05/0.01497, allocations: 23.98 kB / 384.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.01508, allocations: 66.67 kB / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.01527, allocations: 95.17 kB / 384.3 MB, free: 11.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-06/0.01527, allocations: 3.984 kB / 384.3 MB, free: 11.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003099/0.01558, allocations: 177.3 kB / 384.5 MB, free: 11.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.0156, allocations: 8 kB / 384.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.01561, allocations: 3.938 kB / 384.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.01562, allocations: 0 / 384.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.01575, allocations: 27.92 kB / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.01576, allocations: 0 / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.338e-05/0.01585, allocations: 15.89 kB / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.01587, allocations: 4 kB / 384.6 MB, free: 11.36 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.0001624/0.01603, allocations: 177.1 kB / 384.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.586e-05/0.01611, allocations: 55.67 kB / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00038/0.01649, allocations: 185.9 kB / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.0165, allocations: 0 / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.0165, allocations: 3.984 kB / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.01651, allocations: 4 kB / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004349/0.01694, allocations: 356.4 kB / 385.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.01694, allocations: 0 / 385.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.655e-05/0.01699, allocations: 11.98 kB / 385.3 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.017, allocations: 4 kB / 385.4 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.01701, allocations: 0 / 385.4 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/0.01701, allocations: 7.875 kB / 385.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.01702, allocations: 4 kB / 385.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.01738, allocations: 220 kB / 385.6 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.01753, allocations: 71.55 kB / 385.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.391e-05/0.01759, allocations: 11.98 kB / 385.7 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.498e-05/0.01767, allocations: 7.938 kB / 385.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.01772, allocations: 15.92 kB / 385.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.01774, allocations: 4 kB / 385.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006139/0.01835, allocations: 0.5027 MB / 386.2 MB, free: 9.664 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01835, allocations: 0 / 386.2 MB, free: 9.664 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002696/0.01862, allocations: 44 kB / 386.2 MB, free: 9.621 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.002793/0.02142, allocations: 434.7 kB / 386.7 MB, free: 9.375 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002896/0.02171, allocations: 99.52 kB / 386.8 MB, free: 9.273 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.02171, allocations: 0 / 386.8 MB, free: 9.273 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.02182, allocations: 51.97 kB / 386.8 MB, free: 9.219 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.02228, allocations: 85.06 kB / 386.9 MB, free: 9.137 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.0235, allocations: 0.6871 MB / 387.6 MB, free: 8.414 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005873/0.02409, allocations: 229.5 kB / 387.8 MB, free: 8.172 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.02419, allocations: 38.91 kB / 387.8 MB, free: 8.133 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.744e-05/0.02428, allocations: 36.48 kB / 387.9 MB, free: 8.098 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02428, allocations: 0 / 387.9 MB, free: 8.098 MB / 362.7 MB Notification: Performance of Templates: time 0.009718/0.034, allocations: 4.012 MB / 391.9 MB, free: 4.121 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2474264149786904]