Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002434/0.002434, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.002929/0.002929, allocations: 165.3 kB / 24.28 MB, free: 148 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.659/1.659, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.3368/0.3368, allocations: 32.8 MB / 293.9 MB, free: 1.203 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.835e-06/2.835e-06, allocations: 0 / 375.3 MB, free: 4.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.474e-05/3.757e-05, allocations: 2.312 kB / 375.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.004221/0.004259, allocations: 1.813 MB / 377.2 MB, free: 3.062 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002453/0.006712, allocations: 1.068 MB / 378.2 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.006853, allocations: 7.938 kB / 378.2 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006496/0.007502, allocations: 307.1 kB / 378.5 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006554/0.008158, allocations: 267 kB / 378.8 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003989/0.008556, allocations: 107.6 kB / 378.9 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005127/0.009069, allocations: 271.2 kB / 379.2 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.894e-05/0.009148, allocations: 9.812 kB / 379.2 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003744/0.009522, allocations: 147.6 kB / 379.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003552/0.009878, allocations: 207.6 kB / 379.5 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.585e-05/0.009914, allocations: 4 kB / 379.5 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.01011, allocations: 59.84 kB / 379.6 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.01035, allocations: 139.5 kB / 379.7 MB, free: 500 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.01048, allocations: 75.66 kB / 379.8 MB, free: 424 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005387/0.01102, allocations: 354.8 kB / 380.1 MB, free: 68 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.01102, allocations: 0 / 380.1 MB, free: 68 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01102, allocations: 0 / 380.1 MB, free: 68 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.01103, allocations: 0 / 380.1 MB, free: 68 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.001266/0.0123, allocations: 0.8095 MB / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.01234, allocations: 8.031 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.01245, allocations: 60.5 kB / 381 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000595/0.01305, allocations: 340.6 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.01307, allocations: 8.359 kB / 381.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.01308, allocations: 384 / 381.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.01332, allocations: 97.52 kB / 381.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.01333, allocations: 3.938 kB / 381.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.01335, allocations: 0 / 381.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.01335, allocations: 0 / 381.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.01347, allocations: 23.98 kB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005201/0.01399, allocations: 360.2 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.01431, allocations: 118.1 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.01441, allocations: 39.36 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.01444, allocations: 8 kB / 382 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002605/0.0147, allocations: 116.3 kB / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 9.22e-07/0.0147, allocations: 0 / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005557/0.01525, allocations: 201.1 kB / 382.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.212e-05/0.01533, allocations: 85.11 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.01634, allocations: 0.7721 MB / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.01636, allocations: 29.7 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003115/0.01668, allocations: 330.8 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.935e-05/0.01673, allocations: 27.84 kB / 383.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.865e-05/0.01679, allocations: 39.36 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0006258/0.01742, allocations: 0.5782 MB / 384.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.321e-05/0.0175, allocations: 27.98 kB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.01761, allocations: 62.73 kB / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.0178, allocations: 91.17 kB / 384.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.0178, allocations: 4 kB / 384.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003486/0.01815, allocations: 177.2 kB / 384.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.01817, allocations: 8.062 kB / 384.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.01818, allocations: 3.938 kB / 384.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.0182, allocations: 4 kB / 384.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.01832, allocations: 19.98 kB / 384.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.01833, allocations: 4 kB / 384.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.01844, allocations: 19.88 kB / 384.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.01845, allocations: 7.938 kB / 384.6 MB, free: 11.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.0001756/0.01862, allocations: 173.1 kB / 384.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.927e-05/0.0187, allocations: 51.67 kB / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004099/0.01911, allocations: 189.8 kB / 385 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.01912, allocations: 4 kB / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.01912, allocations: 0 / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01913, allocations: 0 / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004591/0.01959, allocations: 360.4 kB / 385.3 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01959, allocations: 0 / 385.3 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.563e-05/0.01963, allocations: 12 kB / 385.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.01964, allocations: 0 / 385.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.01965, allocations: 7.984 kB / 385.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.01966, allocations: 3.938 kB / 385.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01966, allocations: 0 / 385.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004009/0.02006, allocations: 235.9 kB / 385.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.02022, allocations: 71.55 kB / 385.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.736e-05/0.02027, allocations: 4 kB / 385.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.31e-05/0.02035, allocations: 15.86 kB / 385.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.636e-05/0.02041, allocations: 11.98 kB / 385.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.02043, allocations: 4 kB / 385.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006596/0.02109, allocations: 0.5066 MB / 386.2 MB, free: 9.637 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02109, allocations: 0 / 386.2 MB, free: 9.637 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002715/0.02136, allocations: 40 kB / 386.2 MB, free: 9.598 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.002966/0.02433, allocations: 436 kB / 386.7 MB, free: 9.352 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000298/0.02462, allocations: 91.58 kB / 386.8 MB, free: 9.258 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.02463, allocations: 0 / 386.8 MB, free: 9.258 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.02475, allocations: 48.05 kB / 386.8 MB, free: 9.207 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005028/0.02525, allocations: 82.25 kB / 386.9 MB, free: 9.125 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.02647, allocations: 0.6871 MB / 387.6 MB, free: 8.402 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.02676, allocations: 237.4 kB / 387.8 MB, free: 8.152 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001092/0.02686, allocations: 38.95 kB / 387.8 MB, free: 8.113 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.289e-05/0.02695, allocations: 32.5 kB / 387.9 MB, free: 8.082 MB / 362.7 MB Notification: Performance of SimCode: time 8.12e-07/0.02695, allocations: 0 / 387.9 MB, free: 8.082 MB / 362.7 MB Notification: Performance of Templates: time 0.01023/0.03717, allocations: 4.01 MB / 391.9 MB, free: 4.105 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.131124067935161]