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.001402/0.001402, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001121/0.001121, allocations: 162.6 kB / 24.99 MB, free: 9.273 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.016/1.016, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2949/0.2949, allocations: 32.8 MB / 294.6 MB, free: 1.184 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.325e-06/2.325e-06, allocations: 3.938 kB / 376.1 MB, free: 4.863 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.671e-05/3.903e-05, allocations: 10.25 kB / 376.1 MB, free: 4.852 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002883/0.002922, allocations: 1.768 MB / 377.9 MB, free: 3.074 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.005027, allocations: 1.722 MB / 379.6 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.686e-05/0.005124, allocations: 0 / 379.6 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003167/0.00544, allocations: 31.77 kB / 379.6 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004239/0.005864, allocations: 111.3 kB / 379.7 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.006085, allocations: 79.66 kB / 379.8 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.006273, allocations: 107.6 kB / 379.9 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.006385, allocations: 11.97 kB / 379.9 MB, free: 1.008 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.645e-05/0.006481, allocations: 51.91 kB / 380 MB, free: 0.957 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.0066, allocations: 39.83 kB / 380 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.00662, allocations: 8 kB / 380 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.006825, allocations: 107.8 kB / 380.1 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.088e-05/0.006886, allocations: 19.92 kB / 380.1 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.867e-05/0.006934, allocations: 23.91 kB / 380.2 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002911/0.007226, allocations: 155.5 kB / 380.3 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.007229, allocations: 4 kB / 380.3 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.007231, allocations: 0 / 380.3 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.007238, allocations: 3.938 kB / 380.3 MB, free: 0.6016 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006041/0.007843, allocations: 451.8 kB / 380.8 MB, free: 128 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.007888, allocations: 8.031 kB / 380.8 MB, free: 120 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.058e-05/0.007949, allocations: 12.89 kB / 380.8 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.008195, allocations: 149 kB / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.008218, allocations: 4.375 kB / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.008243, allocations: 384 / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.008431, allocations: 123.3 kB / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.008446, allocations: 3.953 kB / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.008457, allocations: 0 / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.008468, allocations: 7.922 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.974e-05/0.008508, allocations: 8 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.008865, allocations: 287.7 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.008985, allocations: 55.11 kB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.009019, allocations: 19.67 kB / 381.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.009033, allocations: 0 / 381.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/0.009162, allocations: 73.03 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.009164, allocations: 4 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004861/0.00965, allocations: 149.4 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.009706, allocations: 77.11 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.009875, allocations: 224 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.009894, allocations: 33.7 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.935e-05/0.009954, allocations: 138.9 kB / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.009985, allocations: 27.78 kB / 382.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.01003, allocations: 31.38 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.01019, allocations: 0.4961 MB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.524e-05/0.01022, allocations: 11.98 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.684e-05/0.01029, allocations: 72.69 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.052e-05/0.01036, allocations: 43.38 kB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.01036, allocations: 0 / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001506/0.01051, allocations: 105.5 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.01053, allocations: 4 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.01054, allocations: 0 / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/0.01056, allocations: 4 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.385e-05/0.01066, allocations: 12 kB / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.01066, allocations: 0 / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.578e-05/0.0107, allocations: 7.984 kB / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.01071, allocations: 4 kB / 382.9 MB, free: 13.74 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.57e-05/0.01079, allocations: 164.5 kB / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.037e-05/0.01081, allocations: 15.95 kB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001677/0.01098, allocations: 110.5 kB / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.01098, allocations: 0 / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.01098, allocations: 0 / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.01099, allocations: 0 / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.0113, allocations: 396.9 kB / 383.6 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.0113, allocations: 0 / 383.6 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.037e-05/0.01133, allocations: 15.92 kB / 383.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01133, allocations: 0 / 383.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.01134, allocations: 4 kB / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.01134, allocations: 0 / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.01135, allocations: 4.031 kB / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.01151, allocations: 255.4 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.643e-05/0.01153, allocations: 7.953 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.01155, allocations: 8.359 kB / 383.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.728e-05/0.0116, allocations: 4 kB / 383.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.01164, allocations: 11.92 kB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.01166, allocations: 8 kB / 383.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.96e-05/0.01174, allocations: 162 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.01174, allocations: 0 / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002233/0.01196, allocations: 51.86 kB / 384.1 MB, free: 12.46 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.001243/0.0132, allocations: 0.5376 MB / 384.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001425/0.01335, allocations: 47.67 kB / 384.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.01335, allocations: 3.938 kB / 384.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.563e-05/0.01339, allocations: 35.61 kB / 384.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.01365, allocations: 38.28 kB / 384.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003755/0.01402, allocations: 205.9 kB / 385 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.268e-05/0.01407, allocations: 67.28 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.405e-05/0.01411, allocations: 25.38 kB / 385.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.804e-05/0.01415, allocations: 24.48 kB / 385.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of SimCode: time 1.223e-06/0.01415, allocations: 0 / 385.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of Templates: time 0.004691/0.01884, allocations: 2.532 MB / 387.6 MB, free: 9.117 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.453124691033736]