Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.0009643/0.0009643, 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.0009924/0.0009924, 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 1.037/1.037, allocations: 177.1 MB / 205 MB, free: 5.578 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.2692/0.2692, allocations: 32.81 MB / 294.3 MB, free: 1.27 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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,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.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.469e-05, allocations: 2.312 kB / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003069/0.003093, allocations: 1.728 MB / 377.8 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009352/0.004029, allocations: 0.5452 MB / 378.3 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.329e-05/0.004082, allocations: 8 kB / 378.3 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004786/0.004561, allocations: 451 kB / 378.8 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003879/0.004948, allocations: 291.2 kB / 379 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.005208, allocations: 135.6 kB / 379.2 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.005422, allocations: 175.6 kB / 379.4 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.755e-05/0.00552, allocations: 11.98 kB / 379.4 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.005633, allocations: 123.7 kB / 379.5 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001974/0.00583, allocations: 243.6 kB / 379.7 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.005853, allocations: 8 kB / 379.7 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.005955, allocations: 55.84 kB / 379.8 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.006057, allocations: 83.72 kB / 379.9 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.145e-05/0.006099, allocations: 39.73 kB / 379.9 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.006346, allocations: 203.2 kB / 380.1 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.00635, allocations: 3.938 kB / 380.1 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.006351, allocations: 0 / 380.1 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.006359, allocations: 0 / 380.1 MB, free: 0.5508 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006251/0.006984, allocations: 0.7009 MB / 380.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.007024, allocations: 8.031 kB / 380.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.063e-05/0.007084, allocations: 48.59 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.007287, allocations: 252.8 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.007307, allocations: 8.375 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.00734, allocations: 4.375 kB / 381.1 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.00749, allocations: 58.95 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.007502, allocations: 192 / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.007515, allocations: 4.125 kB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.007525, allocations: 0 / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.154e-05/0.007566, allocations: 23.92 kB / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004603/0.008026, allocations: 427.6 kB / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.339e-05/0.0081, allocations: 51.02 kB / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.123e-05/0.008121, allocations: 11.69 kB / 381.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.008145, allocations: 4 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.008168, allocations: 33.48 kB / 381.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.00817, allocations: 0 / 381.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005738/0.008743, allocations: 260.6 kB / 382 MB, free: 14.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.008775, allocations: 55.41 kB / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004527/0.009227, allocations: 0.6276 MB / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.009247, allocations: 29.7 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.009394, allocations: 290.7 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.009421, allocations: 31.72 kB / 383 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/0.009457, allocations: 27.38 kB / 383 MB, free: 13.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.009614, allocations: 0.5586 MB / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.178e-05/0.009635, allocations: 8 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.723e-05/0.009653, allocations: 11.92 kB / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.828e-05/0.009701, allocations: 35.69 kB / 383.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.009702, allocations: 0 / 383.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001123/0.009814, allocations: 109.6 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.009826, allocations: 4 kB / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.00983, allocations: 0 / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.009846, allocations: 7.938 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.702e-05/0.009923, allocations: 15.98 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.009931, allocations: 8 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.488e-05/0.009956, allocations: 0 / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-06/0.009963, allocations: 4 kB / 383.8 MB, free: 12.66 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.707e-05/0.01004, allocations: 164.5 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.01008, allocations: 43.72 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001607/0.01024, allocations: 117.5 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01024, allocations: 4 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.01024, allocations: 3.984 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01025, allocations: 0 / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003993/0.01065, allocations: 0.5009 MB / 384.6 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.01065, allocations: 0 / 384.6 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.893e-05/0.01069, allocations: 15.98 kB / 384.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.01069, allocations: 0 / 384.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.0107, allocations: 4 kB / 384.6 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.0107, allocations: 0 / 384.6 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.0107, allocations: 3.938 kB / 384.6 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.01085, allocations: 279.3 kB / 384.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.47e-05/0.01087, allocations: 31.72 kB / 384.9 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.01089, allocations: 4 kB / 384.9 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.819e-05/0.01092, allocations: 0 / 384.9 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.01096, allocations: 15.92 kB / 385 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.01097, allocations: 4 kB / 385 MB, free: 11.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002507/0.01122, allocations: 426.8 kB / 385.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01122, allocations: 0 / 385.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001762/0.01139, allocations: 27.94 kB / 385.4 MB, free: 10.95 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.0009104/0.0123, allocations: 443 kB / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.01241, allocations: 47.59 kB / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.01241, allocations: 0 / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.875e-05/0.01244, allocations: 23.62 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.01268, allocations: 29.95 kB / 385.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006329/0.01332, allocations: 0.604 MB / 386.5 MB, free: 9.926 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.686e-05/0.01339, allocations: 123.2 kB / 386.7 MB, free: 9.785 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.606e-05/0.01343, allocations: 13.05 kB / 386.7 MB, free: 9.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.01346, allocations: 16.48 kB / 386.7 MB, free: 9.754 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01346, allocations: 0 / 386.7 MB, free: 9.754 MB / 362.7 MB Notification: Performance of Templates: time 0.003874/0.01734, allocations: 1.609 MB / 388.3 MB, free: 8.152 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.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.2432673098519444]