Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.002445/0.002445, allocations: 95.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.002838/0.002838, allocations: 161.6 kB / 24.27 MB, free: 156 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.631/1.631, 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.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.3679/0.3679, allocations: 34.27 MB / 295.3 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 179] 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 377.4 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.147e-05/3.365e-05, allocations: 2.312 kB / 377.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003577/0.003611, allocations: 1.692 MB / 379.1 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001913/0.005524, allocations: 0.982 MB / 380 MB, free: 192 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.638e-05/0.00559, allocations: 0 / 380 MB, free: 192 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000358/0.005948, allocations: 67.67 kB / 380.1 MB, free: 124 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003513/0.0063, allocations: 111.5 kB / 380.2 MB, free: 12 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.006528, allocations: 75.67 kB / 380.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.006741, allocations: 111.6 kB / 380.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.744e-05/0.006779, allocations: 240 / 380.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.006924, allocations: 63.81 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.007037, allocations: 35.89 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.00706, allocations: 4 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.00716, allocations: 43.86 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.025e-05/0.00723, allocations: 19.86 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.005e-05/0.00728, allocations: 19.92 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.007509, allocations: 103.7 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.007512, allocations: 0 / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.007513, allocations: 0 / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.007518, allocations: 4 kB / 380.7 MB, free: 15.54 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006982/0.008216, allocations: 439.6 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.008256, allocations: 12.03 kB / 381.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.977e-05/0.008315, allocations: 8.891 kB / 381.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.008577, allocations: 161 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.008592, allocations: 384 / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.008607, allocations: 8.375 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.008759, allocations: 50.23 kB / 381.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.008771, allocations: 3.938 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.008782, allocations: 4 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.008786, allocations: 0 / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.129e-05/0.008858, allocations: 11.98 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002283/0.009086, allocations: 148.6 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.009278, allocations: 59.05 kB / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.114e-05/0.009339, allocations: 23.67 kB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.009357, allocations: 0 / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.009519, allocations: 73.05 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/0.00952, allocations: 0 / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003375/0.009858, allocations: 105.5 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.009908, allocations: 51.41 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.01017, allocations: 250.4 kB / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.01019, allocations: 25.7 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.0103, allocations: 154.9 kB / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.01034, allocations: 15.91 kB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/0.01039, allocations: 23.38 kB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004281/0.01082, allocations: 0.5001 MB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.297e-05/0.01087, allocations: 15.98 kB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.196e-05/0.01093, allocations: 31.38 kB / 382.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.01104, allocations: 55.55 kB / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.01104, allocations: 0 / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000165/0.01121, allocations: 73.64 kB / 382.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.01123, allocations: 8 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.01124, allocations: 3.938 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.01125, allocations: 3.984 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.141e-05/0.01134, allocations: 19.92 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.01135, allocations: 4 kB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.444e-05/0.0114, allocations: 7.969 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.01141, allocations: 4 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001477/0.01155, allocations: 162.8 kB / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.01158, allocations: 15.89 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.0118, allocations: 98.91 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01181, allocations: 0 / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.01181, allocations: 0 / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01181, allocations: 0 / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.01199, allocations: 156.5 kB / 383.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.01199, allocations: 0 / 383.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.286e-05/0.01202, allocations: 12 kB / 383.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.01202, allocations: 0 / 383.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.01203, allocations: 7.922 kB / 383.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.01204, allocations: 3.938 kB / 383.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01204, allocations: 0 / 383.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.01226, allocations: 128.3 kB / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.01228, allocations: 7.953 kB / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.0123, allocations: 0 / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.914e-05/0.01234, allocations: 8.125 kB / 383.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.01238, allocations: 7.984 kB / 383.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.0124, allocations: 8 kB / 383.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001566/0.01256, allocations: 176.2 kB / 383.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01256, allocations: 3.938 kB / 383.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002157/0.01277, allocations: 23.94 kB / 383.8 MB, free: 12.12 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003029/0.0158, allocations: 432.4 kB / 384.2 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.01601, allocations: 43.67 kB / 384.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.01601, allocations: 0 / 384.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.436e-05/0.0161, allocations: 31.61 kB / 384.3 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.01644, allocations: 28.23 kB / 384.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005718/0.01701, allocations: 210.2 kB / 384.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.01712, allocations: 89.38 kB / 384.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.057e-05/0.01717, allocations: 12.48 kB / 384.6 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.01721, allocations: 16.5 kB / 384.6 MB, free: 11.4 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01721, allocations: 0 / 384.6 MB, free: 11.4 MB / 362.7 MB Notification: Performance of Templates: time 0.006063/0.02327, allocations: 1.632 MB / 386.3 MB, free: 9.793 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.093252373975702]