Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.0009973/0.0009973, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.001067/0.001067, allocations: 161 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 0.9486/0.9486, allocations: 177.1 MB / 205 MB, free: 5.609 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.2505/0.2505, allocations: 32.8 MB / 294.3 MB, free: 1.277 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.526e-05/1.679e-05, allocations: 6.312 kB / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.001961/0.001978, allocations: 1.658 MB / 377.7 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006644/0.002643, allocations: 0.522 MB / 378.2 MB, free: 2.457 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.484e-05/0.002687, allocations: 4 kB / 378.2 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003971/0.003085, allocations: 451 kB / 378.7 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000327/0.003412, allocations: 295.2 kB / 378.9 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.003606, allocations: 123.6 kB / 379.1 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.003775, allocations: 167.6 kB / 379.2 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.97e-05/0.003855, allocations: 4.188 kB / 379.2 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.628e-05/0.003951, allocations: 119.7 kB / 379.4 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.004129, allocations: 243.6 kB / 379.6 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.004146, allocations: 4 kB / 379.6 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.85e-05/0.004205, allocations: 27.92 kB / 379.6 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.479e-05/0.00429, allocations: 83.7 kB / 379.7 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.576e-05/0.004325, allocations: 31.75 kB / 379.7 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.004523, allocations: 183.2 kB / 379.9 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.004525, allocations: 3.938 kB / 379.9 MB, free: 0.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004526, allocations: 4 kB / 379.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.00453, allocations: 0 / 379.9 MB, free: 0.7461 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.0005422/0.005072, allocations: 0.6893 MB / 380.6 MB, free: 20 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.005113, allocations: 8.031 kB / 380.6 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.381e-05/0.005187, allocations: 48.64 kB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.005379, allocations: 240.9 kB / 380.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.00539, allocations: 384 / 380.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.005407, allocations: 4.375 kB / 380.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.005532, allocations: 50.95 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.005544, allocations: 4.188 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.005556, allocations: 3.938 kB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.005565, allocations: 3.938 kB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.702e-05/0.005592, allocations: 15.98 kB / 381 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.00602, allocations: 415.7 kB / 381.4 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.334e-05/0.006073, allocations: 31 kB / 381.4 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.205e-05/0.006095, allocations: 11.75 kB / 381.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.006117, allocations: 3.938 kB / 381.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.006139, allocations: 33.39 kB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.00614, allocations: 0 / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001759/0.006316, allocations: 85.41 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.006344, allocations: 51.41 kB / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004079/0.006752, allocations: 0.6278 MB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.006764, allocations: 33.7 kB / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.006911, allocations: 282.8 kB / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.006928, allocations: 7.953 kB / 382.5 MB, free: 13.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.006953, allocations: 15.38 kB / 382.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.007113, allocations: 0.547 MB / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.544e-05/0.007128, allocations: 11.92 kB / 383.1 MB, free: 13.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.005e-06/0.007136, allocations: 0 / 383.1 MB, free: 13.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.923e-05/0.007165, allocations: 19.69 kB / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.007167, allocations: 0 / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.491e-05/0.007242, allocations: 81.42 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.007257, allocations: 7.984 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.007261, allocations: 0 / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.007277, allocations: 0 / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.794e-05/0.007344, allocations: 4 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.007351, allocations: 4 kB / 383.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.478e-05/0.007376, allocations: 7.984 kB / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.007381, allocations: 3.938 kB / 383.2 MB, free: 13.21 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 (2): * Single equations (assignments): 2 * 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.918e-05/0.00746, allocations: 156.6 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.007496, allocations: 47.59 kB / 383.4 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.007608, allocations: 80.77 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.00761, allocations: 0 / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.007614, allocations: 8 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.007617, allocations: 0 / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.007856, allocations: 272.5 kB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.007857, allocations: 0 / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.596e-05/0.007883, allocations: 7.938 kB / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.007885, allocations: 0 / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.007893, allocations: 7.984 kB / 383.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.007894, allocations: 0 / 383.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.007895, allocations: 4.031 kB / 383.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.008021, allocations: 223.6 kB / 384 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.008054, allocations: 43.64 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.008071, allocations: 0 / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.047e-05/0.008122, allocations: 4 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.598e-05/0.008138, allocations: 0 / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.008142, allocations: 4 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002725/0.008415, allocations: 426.8 kB / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008415, allocations: 0 / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001605/0.008575, allocations: 15.94 kB / 384.5 MB, free: 11.87 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 (2): * Single equations (assignments): 2 * 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.0007394/0.009315, allocations: 339.4 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.151e-05/0.009396, allocations: 15.62 kB / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.009397, allocations: 0 / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.044e-05/0.009408, allocations: 11.69 kB / 384.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.009656, allocations: 25.95 kB / 384.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000685/0.01034, allocations: 0.5614 MB / 385.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.385e-05/0.01042, allocations: 123.2 kB / 385.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.438e-05/0.01045, allocations: 3.984 kB / 385.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.01048, allocations: 12.5 kB / 385.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01048, allocations: 0 / 385.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of Templates: time 0.003691/0.01417, allocations: 1.152 MB / 386.8 MB, free: 9.688 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.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.152350228279829]