Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.0008193/0.0008193, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001204/0.001204, allocations: 169.7 kB / 24.82 MB, free: 8.934 MB / 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 0.992/0.992, allocations: 177.1 MB / 205.3 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] 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.2674/0.2674, allocations: 32.8 MB / 294.6 MB, free: 0.6992 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 376.6 MB, free: 4.168 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.401e-05, allocations: 2.312 kB / 376.6 MB, free: 4.164 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003203/0.003227, allocations: 1.718 MB / 378.3 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.004686, allocations: 0.9741 MB / 379.2 MB, free: 1.453 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.978e-05/0.004766, allocations: 0 / 379.2 MB, free: 1.453 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002922/0.005058, allocations: 59.73 kB / 379.3 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003333/0.005392, allocations: 107.4 kB / 379.4 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.005584, allocations: 75.66 kB / 379.5 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.005758, allocations: 107.6 kB / 379.6 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.815e-05/0.005796, allocations: 4.234 kB / 379.6 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.005909, allocations: 55.83 kB / 379.6 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.179e-05/0.006001, allocations: 43.89 kB / 379.7 MB, free: 1.008 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.006017, allocations: 4 kB / 379.7 MB, free: 1.004 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.982e-05/0.006097, allocations: 31.92 kB / 379.7 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.971e-05/0.006146, allocations: 19.94 kB / 379.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.875e-05/0.006185, allocations: 19.91 kB / 379.8 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.006353, allocations: 83.67 kB / 379.8 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.006355, allocations: 0 / 379.8 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.006356, allocations: 4 kB / 379.9 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.006359, allocations: 3.938 kB / 379.9 MB, free: 0.8438 MB / 346.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.0004347/0.006794, allocations: 428 kB / 380.3 MB, free: 400 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.006831, allocations: 16.03 kB / 380.3 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.006869, allocations: 8.891 kB / 380.3 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.007031, allocations: 152.4 kB / 380.4 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.007046, allocations: 384 / 380.4 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.308e-06/0.007055, allocations: 4.375 kB / 380.5 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.007165, allocations: 58.88 kB / 380.5 MB, free: 124 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.007173, allocations: 3.938 kB / 380.5 MB, free: 120 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.007179, allocations: 0 / 380.5 MB, free: 120 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.007184, allocations: 0 / 380.5 MB, free: 120 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.502e-05/0.007209, allocations: 7.984 kB / 380.5 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001442/0.007354, allocations: 125.1 kB / 380.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.923e-05/0.007443, allocations: 43.16 kB / 380.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.648e-05/0.007469, allocations: 19.66 kB / 380.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.007484, allocations: 4 kB / 380.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.441e-05/0.007578, allocations: 60.98 kB / 380.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.00758, allocations: 0 / 380.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001816/0.007761, allocations: 77.58 kB / 380.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.007792, allocations: 59.39 kB / 380.9 MB, free: 15.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.007938, allocations: 226.5 kB / 381.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.007953, allocations: 25.7 kB / 381.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.257e-05/0.008016, allocations: 154.8 kB / 381.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.008045, allocations: 11.91 kB / 381.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-05/0.008085, allocations: 27.36 kB / 381.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.008221, allocations: 0.4923 MB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.111e-05/0.008242, allocations: 11.92 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.988e-05/0.008272, allocations: 23.38 kB / 381.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.256e-05/0.008324, allocations: 39.59 kB / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.008326, allocations: 0 / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001069/0.008433, allocations: 77.58 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.008447, allocations: 8 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.008451, allocations: 0 / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.008464, allocations: 3.938 kB / 382 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.29e-05/0.008527, allocations: 8 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.008529, allocations: 0 / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.043e-05/0.00857, allocations: 11.94 kB / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.008575, allocations: 0 / 382 MB, free: 14.47 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 8.59e-05/0.008661, allocations: 164.5 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.008682, allocations: 15.98 kB / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.008819, allocations: 78.83 kB / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.008822, allocations: 3.938 kB / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.008824, allocations: 0 / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.008827, allocations: 0 / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.008931, allocations: 113.2 kB / 382.4 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.008933, allocations: 0 / 382.4 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.96e-05/0.008963, allocations: 12 kB / 382.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.008965, allocations: 0 / 382.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.008971, allocations: 0 / 382.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.008974, allocations: 3.938 kB / 382.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.008975, allocations: 4 kB / 382.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.009107, allocations: 124.2 kB / 382.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/0.009123, allocations: 7.891 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.868e-05/0.009141, allocations: 4 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.073e-05/0.009172, allocations: 192 / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.628e-05/0.009198, allocations: 11.98 kB / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.009211, allocations: 3.938 kB / 382.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.363e-05/0.009295, allocations: 159.8 kB / 382.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009295, allocations: 0 / 382.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002391/0.009534, allocations: 19.98 kB / 382.7 MB, free: 13.7 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.001105/0.01064, allocations: 392.9 kB / 383.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.8e-05/0.01074, allocations: 35.61 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01074, allocations: 0 / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.531e-05/0.01077, allocations: 23.75 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.01102, allocations: 36.52 kB / 383.2 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.01135, allocations: 186.2 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.437e-05/0.01139, allocations: 67.28 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.653e-05/0.01143, allocations: 8.5 kB / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.494e-05/0.01151, allocations: 90.19 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01151, allocations: 0 / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of Templates: time 0.01/0.02151, allocations: 1.795 MB / 385.3 MB, free: 11.19 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.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: 2.9046627418138087]