Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.001364/0.001364, allocations: 75.75 kB / 21.69 MB, free: 2.852 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.001042/0.001042, allocations: 160.9 kB / 24.99 MB, free: 9.316 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.079/1.079, allocations: 177.1 MB / 205.3 MB, free: 5.598 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.2876/0.2876, allocations: 34.26 MB / 296.1 MB, free: 0.7695 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 378.1 MB, free: 2.871 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.433e-05/4.69e-05, allocations: 2.312 kB / 378.1 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003903/0.003949, allocations: 1.761 MB / 379.9 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.005686, allocations: 1.005 MB / 380.9 MB, free: 84 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.005787, allocations: 7.938 kB / 380.9 MB, free: 76 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000341/0.006128, allocations: 39.78 kB / 380.9 MB, free: 36 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003836/0.006511, allocations: 103.5 kB / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.00672, allocations: 75.61 kB / 381.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00016/0.00688, allocations: 119.5 kB / 381.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.536e-05/0.006965, allocations: 4 kB / 381.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.883e-05/0.007044, allocations: 55.83 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.173e-05/0.007116, allocations: 27.91 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.007131, allocations: 4 kB / 381.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.533e-05/0.007206, allocations: 43.92 kB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.317e-05/0.007259, allocations: 23.92 kB / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.75e-05/0.007307, allocations: 31.84 kB / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.007485, allocations: 103.6 kB / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.007488, allocations: 0 / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.007489, allocations: 0 / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.007494, allocations: 0 / 381.5 MB, free: 15.45 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.0005374/0.008032, allocations: 467.7 kB / 382 MB, free: 14.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.008075, allocations: 8.031 kB / 382 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.904e-05/0.008145, allocations: 20.84 kB / 382 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.008384, allocations: 157.2 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.008408, allocations: 8.312 kB / 382.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.008428, allocations: 384 / 382.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.008593, allocations: 62.94 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.008606, allocations: 3.938 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.00862, allocations: 4 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.008629, allocations: 0 / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.893e-05/0.008678, allocations: 11.98 kB / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003616/0.00904, allocations: 299.8 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.009151, allocations: 55.11 kB / 382.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.917e-05/0.009181, allocations: 19.62 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.009192, allocations: 0 / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001103/0.009303, allocations: 69.03 kB / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.009304, allocations: 0 / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003955/0.009699, allocations: 161.3 kB / 382.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.009731, allocations: 55.41 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.00988, allocations: 259.1 kB / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.009894, allocations: 29.7 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.486e-05/0.009959, allocations: 154.9 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.009989, allocations: 31.77 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.01002, allocations: 35.31 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.01015, allocations: 0.504 MB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.776e-05/0.01017, allocations: 8 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.574e-05/0.01021, allocations: 35.36 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.696e-05/0.01027, allocations: 47.39 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.01027, allocations: 4 kB / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001112/0.01038, allocations: 97.5 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.01039, allocations: 6.344 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.696e-06/0.0104, allocations: 0 / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.01041, allocations: 4 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.288e-05/0.01048, allocations: 15.94 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.01049, allocations: 3.938 kB / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.218e-05/0.01052, allocations: 11.98 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.01052, allocations: 0 / 384.1 MB, free: 12.62 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 7.282e-05/0.0106, allocations: 164.5 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.868e-05/0.01061, allocations: 23.92 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.01077, allocations: 107.1 kB / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.01077, allocations: 0 / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.01077, allocations: 4 kB / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.01078, allocations: 0 / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.0111, allocations: 404.9 kB / 384.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.0111, allocations: 0 / 384.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.188e-05/0.01114, allocations: 8 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.01114, allocations: 384 / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.01115, allocations: 8 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.01115, allocations: 8.031 kB / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01115, allocations: 0 / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.0113, allocations: 259.4 kB / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.617e-05/0.01132, allocations: 15.89 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.01134, allocations: 4 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.523e-05/0.01138, allocations: 4 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.01142, allocations: 7.984 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.01143, allocations: 4 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.705e-05/0.01152, allocations: 191 kB / 385.3 MB, free: 11.35 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.01152, allocations: 0 / 385.3 MB, free: 11.35 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001709/0.01169, allocations: 27.94 kB / 385.3 MB, free: 11.32 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.000978/0.01267, allocations: 426.9 kB / 385.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002913/0.01296, allocations: 59.58 kB / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01296, allocations: 0 / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.899e-05/0.013, allocations: 31.61 kB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.01325, allocations: 27.98 kB / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004481/0.01369, allocations: 253.5 kB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.334e-05/0.01375, allocations: 75.27 kB / 386.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.942e-05/0.0138, allocations: 12.97 kB / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.01384, allocations: 20.5 kB / 386.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.01384, allocations: 0 / 386.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of Templates: time 0.004146/0.01799, allocations: 1.882 MB / 388.1 MB, free: 8.676 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.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.484631090890616]