Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.001038/0.001038, allocations: 78.66 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.001092/0.001092, allocations: 165.8 kB / 24.82 MB, free: 9.266 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.041/1.041, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2817/0.2817, allocations: 34.27 MB / 296.1 MB, free: 0.6484 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.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.395e-06/2.395e-06, allocations: 0 / 378.5 MB, free: 2.344 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.227e-05/3.467e-05, allocations: 5.266 kB / 378.5 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.00258/0.002614, allocations: 1.692 MB / 380.2 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.003974, allocations: 1.29 MB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6e-05/0.004034, allocations: 0 / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001994/0.004234, allocations: 27.72 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003192/0.004553, allocations: 87.55 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.004837, allocations: 131.6 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.004977, allocations: 75.75 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.741e-05/0.005074, allocations: 12 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.696e-05/0.005151, allocations: 39.84 kB / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.005262, allocations: 27.95 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.005278, allocations: 4 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.005429, allocations: 99.75 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.032e-05/0.005489, allocations: 15.98 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.078e-05/0.00551, allocations: 23.92 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.005708, allocations: 135.5 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.005711, allocations: 0 / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.005712, allocations: 0 / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.005716, allocations: 0 / 382.2 MB, free: 14.67 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004238/0.00614, allocations: 439.9 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.006179, allocations: 12.03 kB / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.006218, allocations: 8.891 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.00635, allocations: 136.4 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.006362, allocations: 8.375 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.00638, allocations: 4.375 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.006515, allocations: 112 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.006525, allocations: 4.172 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.006536, allocations: 8.109 kB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.006541, allocations: 3.938 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.232e-05/0.006563, allocations: 8 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002643/0.006827, allocations: 256.4 kB / 383.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.337e-05/0.006891, allocations: 39.05 kB / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.613e-05/0.006907, allocations: 7.688 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.006931, allocations: 11.98 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.006958, allocations: 41.42 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.00696, allocations: 0 / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003553/0.007315, allocations: 117.4 kB / 383.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.007353, allocations: 81.11 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.007466, allocations: 192.2 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.007481, allocations: 29.7 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/0.007532, allocations: 146.8 kB / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.007553, allocations: 19.81 kB / 383.8 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.678e-05/0.007589, allocations: 39.34 kB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.007711, allocations: 496.1 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.124e-05/0.007732, allocations: 11.98 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.859e-05/0.007771, allocations: 49.06 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.066e-05/0.007812, allocations: 31.67 kB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.007813, allocations: 0 / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.004e-05/0.007903, allocations: 69.52 kB / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.007914, allocations: 4 kB / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.007919, allocations: 0 / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.007932, allocations: 0 / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.594e-05/0.008008, allocations: 19.98 kB / 384.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.225e-06/0.008011, allocations: 4.031 kB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.473e-05/0.008035, allocations: 4 kB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.008041, allocations: 0 / 384.5 MB, free: 12.07 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 (7): * Single equations (assignments): 7 * 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.118e-05/0.008112, allocations: 168.5 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.008134, allocations: 11.89 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.008249, allocations: 78.39 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.008251, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-06/0.008252, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.008255, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.008489, allocations: 322.3 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.008491, allocations: 4 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.53e-05/0.008537, allocations: 19.92 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.00854, allocations: 4 kB / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.008546, allocations: 4 kB / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.008547, allocations: 0 / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.008548, allocations: 80 / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.008673, allocations: 219.8 kB / 385.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-06/0.008682, allocations: 3.953 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.008693, allocations: 4 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.091e-05/0.008734, allocations: 15.98 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-05/0.008763, allocations: 0 / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.008768, allocations: 4 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.305e-05/0.008821, allocations: 147.1 kB / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008821, allocations: 0 / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001956/0.009016, allocations: 39.86 kB / 385.6 MB, free: 10.97 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 (7): * Single equations (assignments): 7 * 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.001103/0.01012, allocations: 495 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001164/0.01024, allocations: 35.66 kB / 386.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01024, allocations: 0 / 386.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.015e-05/0.01027, allocations: 31.61 kB / 386.1 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.0002119/0.01048, allocations: 31.8 kB / 386.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003251/0.01081, allocations: 190.3 kB / 386.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.631e-05/0.01084, allocations: 67.34 kB / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.439e-05/0.01089, allocations: 11.98 kB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.728e-05/0.01096, allocations: 90.19 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01096, allocations: 0 / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of Templates: time 0.003663/0.01463, allocations: 2.184 MB / 388.7 MB, free: 7.988 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.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.3052538791671395]