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.001022/0.001022, allocations: 83.69 kB / 21.18 MB, free: 3.395 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.001037/0.001037, allocations: 165 kB / 24.56 MB, free: 24 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.045/1.045, allocations: 177.1 MB / 205 MB, free: 5.223 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.304/0.304, allocations: 34.26 MB / 295.7 MB, free: 0.7148 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.703e-06/1.703e-06, allocations: 0 / 378.1 MB, free: 2.594 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.842e-05/3.013e-05, allocations: 2.312 kB / 378.1 MB, free: 2.59 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003092/0.003122, allocations: 1.855 MB / 380 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.005075, allocations: 1.087 MB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.005178, allocations: 0 / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000529/0.005707, allocations: 307 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005204/0.006227, allocations: 267 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.006501, allocations: 115.6 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003486/0.00685, allocations: 263.2 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.994e-05/0.0069, allocations: 13.73 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.007098, allocations: 151.6 kB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.007339, allocations: 203.6 kB / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.007364, allocations: 8 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.007482, allocations: 47.92 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.007621, allocations: 143.6 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.577e-05/0.007706, allocations: 67.61 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003521/0.008058, allocations: 286.9 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.008061, allocations: 0 / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.008062, allocations: 4 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.008068, allocations: 0 / 382.9 MB, free: 13.79 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.0008323/0.0089, allocations: 0.794 MB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.008945, allocations: 12.03 kB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.916e-05/0.009035, allocations: 56.56 kB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004145/0.009449, allocations: 332.7 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.009472, allocations: 4.375 kB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.009486, allocations: 384 / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.009665, allocations: 94.3 kB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.009678, allocations: 7.938 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.009691, allocations: 3.984 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.0097, allocations: 4 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.137e-05/0.009751, allocations: 19.92 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003658/0.01012, allocations: 312.2 kB / 384.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.0103, allocations: 94.16 kB / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.66e-05/0.01036, allocations: 39.34 kB / 384.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.01038, allocations: 11.94 kB / 384.6 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.01053, allocations: 108.3 kB / 384.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.01053, allocations: 0 / 384.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003379/0.01087, allocations: 185.6 kB / 384.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.01091, allocations: 81.11 kB / 385 MB, free: 11.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006588/0.01157, allocations: 0.7097 MB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.01159, allocations: 25.7 kB / 385.7 MB, free: 10.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.01178, allocations: 310.8 kB / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.01182, allocations: 31.73 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.124e-05/0.01187, allocations: 31.38 kB / 386.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.01206, allocations: 0.5665 MB / 386.7 MB, free: 9.738 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.293e-05/0.0121, allocations: 16 kB / 386.7 MB, free: 9.723 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.793e-05/0.01216, allocations: 54.78 kB / 386.8 MB, free: 9.652 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.01226, allocations: 78.69 kB / 386.8 MB, free: 9.559 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01226, allocations: 0 / 386.8 MB, free: 9.559 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002075/0.01247, allocations: 153.2 kB / 387 MB, free: 9.402 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.01249, allocations: 4 kB / 387 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.01249, allocations: 12 kB / 387 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.01251, allocations: 0 / 387 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.01261, allocations: 23.98 kB / 387 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.01262, allocations: 3.984 kB / 387 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.259e-05/0.0127, allocations: 11.95 kB / 387 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.01271, allocations: 7.984 kB / 387 MB, free: 9.34 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.0001115/0.01282, allocations: 165.1 kB / 387.2 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.712e-05/0.01288, allocations: 55.67 kB / 387.3 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.01313, allocations: 166 kB / 387.4 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.01313, allocations: 7.984 kB / 387.4 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.01314, allocations: 8.062 kB / 387.4 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01314, allocations: 0 / 387.4 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.01342, allocations: 320.4 kB / 387.7 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01342, allocations: 0 / 387.7 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.149e-05/0.01346, allocations: 11.98 kB / 387.8 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.01347, allocations: 4 kB / 387.8 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.01348, allocations: 4 kB / 387.8 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.01348, allocations: 3.938 kB / 387.8 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.01348, allocations: 4 kB / 387.8 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003668/0.01385, allocations: 211.6 kB / 388 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.938e-05/0.01393, allocations: 63.66 kB / 388 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.01396, allocations: 8 kB / 388 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.09e-05/0.01403, allocations: 11.92 kB / 388.1 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.01407, allocations: 7.984 kB / 388.1 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.885e-05/0.01408, allocations: 8 kB / 388.1 MB, free: 8.223 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004278/0.01451, allocations: 486.7 kB / 388.6 MB, free: 7.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.01451, allocations: 0 / 388.6 MB, free: 7.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002691/0.01478, allocations: 44 kB / 388.6 MB, free: 7.707 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.0009797/0.01576, allocations: 395.4 kB / 389 MB, free: 7.461 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001701/0.01593, allocations: 71.53 kB / 389.1 MB, free: 7.387 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.01593, allocations: 4 kB / 389.1 MB, free: 7.383 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.296e-05/0.016, allocations: 43.73 kB / 389.1 MB, free: 7.336 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.01636, allocations: 79.38 kB / 389.2 MB, free: 7.266 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008494/0.01721, allocations: 0.6714 MB / 389.8 MB, free: 6.559 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.092e-05/0.0173, allocations: 128.2 kB / 390 MB, free: 6.414 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.546e-05/0.01738, allocations: 46.94 kB / 390 MB, free: 6.363 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.601e-05/0.01745, allocations: 36.48 kB / 390.1 MB, free: 6.328 MB / 362.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01745, allocations: 0 / 390.1 MB, free: 6.328 MB / 362.7 MB Notification: Performance of Templates: time 0.007641/0.02509, allocations: 4.053 MB / 394.1 MB, free: 2.305 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.461616217158735]