Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.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.001416/0.001416, 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.00158/0.00158, 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 0.9731/0.9731, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.2716/0.2716, allocations: 32.81 MB / 294.6 MB, free: 1.211 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.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 376 MB, free: 4.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.434e-05/2.583e-05, allocations: 6.25 kB / 376 MB, free: 4.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.002371/0.002397, allocations: 1.637 MB / 377.7 MB, free: 3.281 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000746/0.003143, allocations: 0.522 MB / 378.2 MB, free: 2.754 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.133e-05/0.003204, allocations: 0 / 378.2 MB, free: 2.754 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002213/0.003425, allocations: 39.66 kB / 378.2 MB, free: 2.715 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.003665, allocations: 83.67 kB / 378.3 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.003857, allocations: 91.58 kB / 378.4 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.003994, allocations: 63.83 kB / 378.5 MB, free: 2.48 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.638e-05/0.00409, allocations: 8 kB / 378.5 MB, free: 2.473 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.127e-05/0.004151, allocations: 39.83 kB / 378.5 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.158e-05/0.004203, allocations: 11.94 kB / 378.5 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.004216, allocations: 0 / 378.5 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.895e-05/0.004285, allocations: 35.92 kB / 378.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.048e-05/0.004335, allocations: 19.92 kB / 378.6 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.989e-05/0.004365, allocations: 11.92 kB / 378.6 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.004516, allocations: 71.75 kB / 378.6 MB, free: 2.285 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.004519, allocations: 4 kB / 378.6 MB, free: 2.281 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.00452, allocations: 0 / 378.6 MB, free: 2.281 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.004526, allocations: 0 / 378.6 MB, free: 2.281 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003758/0.004901, allocations: 420 kB / 379.1 MB, free: 1.836 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.004937, allocations: 12.03 kB / 379.1 MB, free: 1.824 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.004973, allocations: 8.891 kB / 379.1 MB, free: 1.816 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.005112, allocations: 145 kB / 379.2 MB, free: 1.648 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.005121, allocations: 384 / 379.2 MB, free: 1.648 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.005141, allocations: 4.375 kB / 379.2 MB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.005255, allocations: 66.69 kB / 379.3 MB, free: 1.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.005264, allocations: 0 / 379.3 MB, free: 1.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.005272, allocations: 0 / 379.3 MB, free: 1.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.005279, allocations: 0 / 379.3 MB, free: 1.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.914e-05/0.005308, allocations: 11.92 kB / 379.3 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002745/0.005582, allocations: 279.8 kB / 379.6 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.005738, allocations: 42.98 kB / 379.6 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.158e-05/0.00576, allocations: 11.78 kB / 379.6 MB, free: 1.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.005781, allocations: 7.984 kB / 379.6 MB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.005802, allocations: 37.39 kB / 379.7 MB, free: 1.125 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.005803, allocations: 4 kB / 379.7 MB, free: 1.121 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003247/0.006128, allocations: 93.47 kB / 379.8 MB, free: 1.023 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.006159, allocations: 55.34 kB / 379.8 MB, free: 0.957 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.006281, allocations: 220.8 kB / 380 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.006289, allocations: 25.7 kB / 380.1 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/0.006344, allocations: 150.8 kB / 380.2 MB, free: 0.543 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.006362, allocations: 19.84 kB / 380.2 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.006393, allocations: 19.38 kB / 380.2 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.006522, allocations: 0.5 MB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/0.006539, allocations: 4 kB / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.442e-05/0.006554, allocations: 12.17 kB / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.839e-05/0.006592, allocations: 23.69 kB / 380.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.006593, allocations: 0 / 380.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.508e-05/0.006658, allocations: 61.64 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.006674, allocations: 11.94 kB / 380.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.006679, allocations: 0 / 380.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.006694, allocations: 0 / 380.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.907e-05/0.006743, allocations: 11.98 kB / 380.9 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.006748, allocations: 0 / 380.9 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.823e-05/0.006766, allocations: 4 kB / 380.9 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.006771, allocations: 0 / 380.9 MB, free: 15.85 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.283e-05/0.006843, allocations: 168.5 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.956e-05/0.006863, allocations: 11.91 kB / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.006985, allocations: 62.14 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.006987, allocations: 4 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.006991, allocations: 0 / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.006994, allocations: 3.938 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.007246, allocations: 329.4 kB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.007248, allocations: 0 / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.007283, allocations: 11.94 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.007286, allocations: 4 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.007296, allocations: 8.172 kB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.007298, allocations: 4 kB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.0073, allocations: 0 / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.00742, allocations: 211.8 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-06/0.00743, allocations: 7.953 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.007442, allocations: 0 / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.208e-05/0.007474, allocations: 4 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.00751, allocations: 3.984 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.007514, allocations: 4 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.998e-05/0.007584, allocations: 158 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007584, allocations: 4 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001679/0.007752, allocations: 23.88 kB / 381.9 MB, free: 14.77 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008215/0.008574, allocations: 381.8 kB / 382.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.825e-05/0.008672, allocations: 31.61 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.008674, allocations: 0 / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.168e-05/0.008695, allocations: 15.69 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.008925, allocations: 19.98 kB / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003422/0.009268, allocations: 178.3 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.494e-05/0.009313, allocations: 71.33 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.037e-05/0.009343, allocations: 11.98 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/0.00937, allocations: 12.5 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.00937, allocations: 0 / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of Templates: time 0.003027/0.0124, allocations: 1.166 MB / 383.7 MB, free: 12.99 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.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.3109600280877203]