Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.001333/0.001333, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.00109/0.00109, allocations: 171.8 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 1.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.3014/0.3014, allocations: 32.8 MB / 294.6 MB, free: 1.234 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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 376.6 MB, free: 4.324 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.849e-05/3.079e-05, allocations: 2.312 kB / 376.6 MB, free: 4.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003141/0.003172, allocations: 1.773 MB / 378.3 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002167/0.005339, allocations: 1.722 MB / 380.1 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.00545, allocations: 3.938 kB / 380.1 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003143/0.005764, allocations: 27.84 kB / 380.1 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004133/0.006178, allocations: 115.3 kB / 380.2 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.006409, allocations: 67.69 kB / 380.3 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.006586, allocations: 115.6 kB / 380.4 MB, free: 492 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.086e-05/0.006677, allocations: 12 kB / 380.4 MB, free: 480 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.896e-05/0.006776, allocations: 59.81 kB / 380.4 MB, free: 420 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.006895, allocations: 27.91 kB / 380.5 MB, free: 392 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.006915, allocations: 8 kB / 380.5 MB, free: 384 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.0071, allocations: 107.7 kB / 380.6 MB, free: 276 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.778e-05/0.007148, allocations: 23.91 kB / 380.6 MB, free: 252 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.843e-05/0.007186, allocations: 19.92 kB / 380.6 MB, free: 232 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.007426, allocations: 163.5 kB / 380.8 MB, free: 68 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.00743, allocations: 0 / 380.8 MB, free: 68 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.007431, allocations: 0 / 380.8 MB, free: 68 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.007436, allocations: 0 / 380.8 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004893/0.007925, allocations: 455.9 kB / 381.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.007964, allocations: 12.03 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.008008, allocations: 12.89 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.008173, allocations: 145 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.008188, allocations: 4.375 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.008207, allocations: 8.375 kB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.008353, allocations: 107.3 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.008365, allocations: 3.953 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.008374, allocations: 4 kB / 381.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.008379, allocations: 0 / 381.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.381e-05/0.008413, allocations: 15.98 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002623/0.008675, allocations: 252.4 kB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.377e-05/0.008769, allocations: 55.05 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.252e-05/0.008792, allocations: 15.67 kB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.008808, allocations: 4 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001019/0.00891, allocations: 73.02 kB / 381.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.008911, allocations: 0 / 381.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003406/0.009252, allocations: 137.6 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.009294, allocations: 85.09 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.009426, allocations: 216.8 kB / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.009443, allocations: 33.64 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.467e-05/0.009497, allocations: 142.9 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.00953, allocations: 31.77 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.009568, allocations: 23.38 kB / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.009692, allocations: 0.4961 MB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.392e-05/0.009715, allocations: 11.98 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.608e-05/0.009762, allocations: 72.67 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.745e-05/0.009809, allocations: 39.39 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.00981, allocations: 4 kB / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001132/0.009923, allocations: 93.52 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.00994, allocations: 6.188 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.009945, allocations: 0 / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.009959, allocations: 0 / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.874e-05/0.01003, allocations: 16 kB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.01003, allocations: 0 / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.05e-05/0.01006, allocations: 0 / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.01007, allocations: 11.98 kB / 383.3 MB, free: 13.27 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 (10): * Single equations (assignments): 10 * 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.173e-05/0.01015, allocations: 168.5 kB / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.01017, allocations: 15.95 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001555/0.01032, allocations: 102.5 kB / 383.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01033, allocations: 0 / 383.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.01033, allocations: 0 / 383.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.01033, allocations: 0 / 383.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.01062, allocations: 365.5 kB / 384 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01063, allocations: 0 / 384 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.094e-05/0.01066, allocations: 12 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.01066, allocations: 0 / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.01067, allocations: 4.031 kB / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.01067, allocations: 4 kB / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01067, allocations: 0 / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.01082, allocations: 251.4 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.552e-05/0.01084, allocations: 11.94 kB / 384.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.01085, allocations: 0 / 384.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.476e-05/0.0109, allocations: 4 kB / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.943e-05/0.01093, allocations: 11.98 kB / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.01094, allocations: 4.188 kB / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.968e-05/0.01101, allocations: 157.5 kB / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01101, allocations: 4 kB / 384.4 MB, free: 12.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002212/0.01123, allocations: 55.8 kB / 384.5 MB, free: 12.05 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: 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 (9): * Single equations (assignments): 7 * 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.001148/0.01238, allocations: 0.5267 MB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001266/0.01251, allocations: 51.58 kB / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01251, allocations: 0 / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.677e-05/0.01255, allocations: 31.61 kB / 385.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.01279, allocations: 43.73 kB / 385.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003264/0.01312, allocations: 210 kB / 385.3 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.943e-05/0.01315, allocations: 63.34 kB / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.993e-05/0.01321, allocations: 21.27 kB / 385.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.18e-05/0.01331, allocations: 94.17 kB / 385.5 MB, free: 11.15 MB / 362.7 MB Notification: Performance of SimCode: time 1.343e-06/0.01331, allocations: 0 / 385.5 MB, free: 11.15 MB / 362.7 MB Notification: Performance of Templates: time 0.004539/0.01785, allocations: 2.783 MB / 388.3 MB, free: 8.395 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.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.1349747232161462]