Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.0009983/0.0009983, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001166/0.001166, allocations: 165 kB / 24.56 MB, free: 16 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.016/1.016, allocations: 177.2 MB / 205 MB, free: 5.297 MB / 186.7 MB " [Timeout remaining time 179] 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.2558/0.2558, allocations: 34.26 MB / 295.7 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] 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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 3.938 kB / 378.1 MB, free: 2.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.399e-05/1.552e-05, allocations: 6.312 kB / 378.1 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002075/0.00209, allocations: 1.766 MB / 379.9 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.003293, allocations: 1.005 MB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.935e-05/0.003362, allocations: 7.938 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002757/0.003638, allocations: 43.69 kB / 381 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002838/0.003921, allocations: 91.55 kB / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.004093, allocations: 83.59 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.004245, allocations: 115.6 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.313e-05/0.004328, allocations: 7.984 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.642e-05/0.004404, allocations: 51.91 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.186e-05/0.004476, allocations: 35.83 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.004492, allocations: 4 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.213e-05/0.004574, allocations: 43.92 kB / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.607e-05/0.00462, allocations: 19.92 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.88e-05/0.004659, allocations: 19.92 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.004834, allocations: 107.5 kB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004836, allocations: 0 / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.004837, allocations: 0 / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.004842, allocations: 0 / 381.5 MB, free: 15.17 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004249/0.005267, allocations: 451.8 kB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.005298, allocations: 12.03 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/0.00534, allocations: 16.89 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.005496, allocations: 156.9 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.005511, allocations: 4.359 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.005529, allocations: 8.312 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.005638, allocations: 62.94 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.005646, allocations: 3.938 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.005655, allocations: 0 / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.00566, allocations: 0 / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.231e-05/0.005693, allocations: 15.98 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002608/0.005953, allocations: 283.8 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.92e-05/0.006053, allocations: 55.09 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.102e-05/0.006084, allocations: 23.62 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.006094, allocations: 0 / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.247e-05/0.006177, allocations: 65.05 kB / 382.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.133e-06/0.006178, allocations: 3.938 kB / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003633/0.006541, allocations: 165.3 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.006574, allocations: 55.41 kB / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.006706, allocations: 237.9 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.00672, allocations: 29.7 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.645e-05/0.006777, allocations: 158.8 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.006806, allocations: 23.8 kB / 383.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003106/0.007116, allocations: 23.38 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.007219, allocations: 0.5078 MB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.349e-05/0.007243, allocations: 8 kB / 383.9 MB, free: 12.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.386e-05/0.007277, allocations: 35.36 kB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.645e-05/0.007333, allocations: 55.36 kB / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.007334, allocations: 4 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001036/0.007438, allocations: 93.56 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.00745, allocations: 4 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.007454, allocations: 0 / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.007466, allocations: 4 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.348e-05/0.007529, allocations: 12 kB / 384.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.007535, allocations: 7.922 kB / 384.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.797e-05/0.007563, allocations: 7.953 kB / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.007568, allocations: 0 / 384.1 MB, free: 12.39 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 6.687e-05/0.007635, allocations: 164.5 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.00765, allocations: 15.98 kB / 384.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/0.00779, allocations: 111 kB / 384.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.007792, allocations: 0 / 384.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.007795, allocations: 0 / 384.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.007798, allocations: 0 / 384.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.008064, allocations: 404.9 kB / 384.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.008065, allocations: 0 / 384.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.322e-05/0.008088, allocations: 8 kB / 384.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.00809, allocations: 0 / 384.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.008098, allocations: 4 kB / 384.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.008099, allocations: 4.031 kB / 384.8 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.0081, allocations: 0 / 384.8 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.008232, allocations: 255.4 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.333e-05/0.008245, allocations: 15.91 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.855e-05/0.008263, allocations: 11.92 kB / 385 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.987e-05/0.008303, allocations: 384 / 385 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.008339, allocations: 7.984 kB / 385.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.008354, allocations: 12 kB / 385.1 MB, free: 11.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.587e-05/0.00843, allocations: 176.1 kB / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00843, allocations: 3.938 kB / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001708/0.0086, allocations: 35.92 kB / 385.3 MB, free: 11.1 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.0008854/0.009486, allocations: 434.1 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001149/0.009601, allocations: 51.59 kB / 385.8 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.135e-06/0.009603, allocations: 0 / 385.8 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.004e-05/0.009643, allocations: 27.69 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.009869, allocations: 36.45 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003242/0.01019, allocations: 238 kB / 386 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.939e-05/0.01023, allocations: 67.33 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.827e-05/0.01027, allocations: 12.97 kB / 386.1 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.0103, allocations: 20.5 kB / 386.1 MB, free: 10.33 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.0103, allocations: 0 / 386.1 MB, free: 10.33 MB / 362.7 MB Notification: Performance of Templates: time 0.003514/0.01382, allocations: 2.011 MB / 388.2 MB, free: 8.348 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.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.1944475169293582]