Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.001301/0.001301, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001615/0.001615, allocations: 167.2 kB / 24.82 MB, free: 8.918 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.9685/0.9685, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2485/0.2485, 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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 376.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.941e-05/3.155e-05, allocations: 6.25 kB / 376.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.002416/0.002447, allocations: 1.705 MB / 378.2 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007842/0.003231, allocations: 0.5413 MB / 378.8 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.361e-05/0.003295, allocations: 4 kB / 378.8 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004434/0.003738, allocations: 447.1 kB / 379.2 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003481/0.004087, allocations: 299.2 kB / 379.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.004305, allocations: 135.5 kB / 379.6 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.00447, allocations: 175.6 kB / 379.8 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.641e-05/0.004557, allocations: 11.98 kB / 379.8 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.004663, allocations: 123.7 kB / 379.9 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.00484, allocations: 239.6 kB / 380.2 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.004854, allocations: 4 kB / 380.2 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.003e-05/0.004934, allocations: 51.91 kB / 380.2 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.33e-05/0.005018, allocations: 87.7 kB / 380.3 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.005047, allocations: 43.73 kB / 380.3 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.005244, allocations: 211.1 kB / 380.5 MB, free: 324 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.005246, allocations: 0 / 380.5 MB, free: 324 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005247, allocations: 0 / 380.5 MB, free: 324 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.005251, allocations: 0 / 380.5 MB, free: 324 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005102/0.005762, allocations: 0.7048 MB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.005794, allocations: 8.031 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/0.00584, allocations: 44.66 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.005998, allocations: 248.8 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.006007, allocations: 8.375 kB / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.006022, allocations: 8.219 kB / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.006e-05/0.006112, allocations: 62.94 kB / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.006121, allocations: 192 / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.006129, allocations: 12.12 kB / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.006134, allocations: 0 / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.336e-05/0.006157, allocations: 11.98 kB / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003131/0.00647, allocations: 340.2 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.058e-05/0.006521, allocations: 39.05 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.628e-05/0.006537, allocations: 23.7 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.006559, allocations: 8.031 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.851e-05/0.006578, allocations: 33.39 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.006579, allocations: 0 / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004144/0.006993, allocations: 193.1 kB / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.007015, allocations: 51.41 kB / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003562/0.007371, allocations: 0.604 MB / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.007383, allocations: 25.7 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.007522, allocations: 298.6 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.007546, allocations: 31.73 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/0.007578, allocations: 35.36 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.007726, allocations: 0.5585 MB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.391e-05/0.007739, allocations: 7.984 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.38e-05/0.007753, allocations: 8 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.722e-05/0.00779, allocations: 31.84 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.007791, allocations: 4 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.543e-05/0.007877, allocations: 101.4 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.007889, allocations: 7.984 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.007895, allocations: 4 kB / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.007906, allocations: 4 kB / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.844e-05/0.007965, allocations: 16 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-06/0.007967, allocations: 0 / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.564e-05/0.007993, allocations: 7.984 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.007998, allocations: 4 kB / 384.1 MB, free: 12.6 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 (8): * Single equations (assignments): 8 * 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.109e-05/0.008069, allocations: 160.5 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.008108, allocations: 47.72 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.008238, allocations: 105.5 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.00824, allocations: 4 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.008241, allocations: 0 / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.008244, allocations: 4 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003096/0.008554, allocations: 433.4 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.008555, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.701e-05/0.008592, allocations: 19.92 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.008594, allocations: 0 / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.0086, allocations: 4 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.008601, allocations: 0 / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.008602, allocations: 0 / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.008722, allocations: 259.3 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.605e-05/0.008748, allocations: 39.73 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.008761, allocations: 7.938 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.223e-05/0.008803, allocations: 4 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.382e-05/0.008827, allocations: 11.98 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.008831, allocations: 7.875 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001967/0.009028, allocations: 398.7 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009028, allocations: 0 / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001684/0.009197, allocations: 27.94 kB / 385.6 MB, free: 11.02 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0008481/0.01004, allocations: 436.5 kB / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.9e-05/0.01011, allocations: 35.67 kB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.01011, allocations: 0 / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.672e-05/0.01014, allocations: 35.59 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.01036, allocations: 33.91 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005305/0.01089, allocations: 0.5885 MB / 386.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.912e-05/0.01096, allocations: 127.1 kB / 386.8 MB, free: 9.879 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.346e-05/0.01099, allocations: 17.03 kB / 386.8 MB, free: 9.859 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.01112, allocations: 86.19 kB / 386.9 MB, free: 9.773 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.01112, allocations: 0 / 386.9 MB, free: 9.773 MB / 362.7 MB Notification: Performance of Templates: time 0.003819/0.01494, allocations: 1.748 MB / 388.6 MB, free: 8.039 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.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: 2.9030538289807737]