Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.002383/0.002383, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002587/0.002587, allocations: 165.3 kB / 24.27 MB, free: 156 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.615/1.615, allocations: 177.1 MB / 204.6 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 178] 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.3586/0.3586, allocations: 34.27 MB / 295.3 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 377.3 MB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.994e-05/3.194e-05, allocations: 2.312 kB / 377.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003545/0.003576, allocations: 1.674 MB / 379 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.005679, allocations: 1.293 MB / 380.3 MB, free: 0 / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.639e-05/0.005736, allocations: 0 / 380.3 MB, free: 0 / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002246/0.00596, allocations: 27.83 kB / 380.3 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003257/0.006286, allocations: 91.44 kB / 380.4 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005278/0.006814, allocations: 175.4 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.006997, allocations: 79.77 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.007109, allocations: 15.97 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.611e-05/0.007205, allocations: 39.92 kB / 380.7 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.007346, allocations: 35.89 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.282e-05/0.007379, allocations: 4 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001936/0.007573, allocations: 99.75 kB / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.766e-05/0.00763, allocations: 11.98 kB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.696e-05/0.007667, allocations: 19.92 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.007965, allocations: 163.4 kB / 381 MB, free: 15.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.007968, allocations: 0 / 381 MB, free: 15.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.007968, allocations: 0 / 381 MB, free: 15.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.309e-06/0.007973, allocations: 0 / 381 MB, free: 15.25 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.0005988/0.008571, allocations: 435.7 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.008611, allocations: 16.03 kB / 381.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.43e-05/0.008665, allocations: 8.891 kB / 381.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.008884, allocations: 152.3 kB / 381.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.008896, allocations: 384 / 381.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.00892, allocations: 4.375 kB / 381.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.009135, allocations: 103.2 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.009146, allocations: 192 / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.009163, allocations: 8.125 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.009166, allocations: 0 / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.00929, allocations: 23.98 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004873/0.009778, allocations: 303.7 kB / 382 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.009908, allocations: 50.98 kB / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.883e-05/0.009976, allocations: 23.62 kB / 382.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.009996, allocations: 0 / 382.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.01003, allocations: 37.39 kB / 382.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.32e-07/0.01004, allocations: 0 / 382.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007383/0.01077, allocations: 185.4 kB / 382.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.431e-05/0.01085, allocations: 81.11 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.01106, allocations: 205.9 kB / 382.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.01109, allocations: 29.7 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.0112, allocations: 142.9 kB / 382.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.023e-05/0.01124, allocations: 27.75 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.147e-05/0.0113, allocations: 31.36 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00032/0.01162, allocations: 0.4923 MB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.153e-05/0.01171, allocations: 19.97 kB / 383.4 MB, free: 12.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.01185, allocations: 85.06 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.01203, allocations: 59.59 kB / 383.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.01203, allocations: 0 / 383.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002565/0.01229, allocations: 93.69 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.01231, allocations: 9.562 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.01232, allocations: 0 / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.01233, allocations: 3.984 kB / 383.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.01245, allocations: 20.03 kB / 383.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.01245, allocations: 3.938 kB / 383.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.425e-05/0.01251, allocations: 7.984 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.01252, allocations: 4 kB / 383.6 MB, free: 12.39 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 0.0001438/0.01266, allocations: 164.5 kB / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.0127, allocations: 11.89 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005065/0.01321, allocations: 102.4 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.01322, allocations: 4 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.01322, allocations: 4 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.01323, allocations: 0 / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005666/0.01379, allocations: 377.3 kB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.0138, allocations: 3.984 kB / 384.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.262e-05/0.01387, allocations: 12 kB / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.01387, allocations: 0 / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.01389, allocations: 7.984 kB / 384.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01389, allocations: 0 / 384.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01389, allocations: 0 / 384.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003512/0.01424, allocations: 252.1 kB / 384.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.01427, allocations: 15.94 kB / 384.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.01429, allocations: 0 / 384.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.828e-05/0.01437, allocations: 4 kB / 384.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.01441, allocations: 7.984 kB / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.01442, allocations: 4 kB / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001365/0.01456, allocations: 155.2 kB / 384.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01456, allocations: 0 / 384.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002815/0.01484, allocations: 39.88 kB / 384.8 MB, free: 11.16 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.003381/0.01822, allocations: 0.5391 MB / 385.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002792/0.0185, allocations: 71.58 kB / 385.4 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.0185, allocations: 0 / 385.4 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.01861, allocations: 35.67 kB / 385.4 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.01892, allocations: 23.94 kB / 385.4 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000573/0.01949, allocations: 213.1 kB / 385.6 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.975e-05/0.01959, allocations: 87.31 kB / 385.7 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.01969, allocations: 32.62 kB / 385.8 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.417e-05/0.01974, allocations: 20.5 kB / 385.8 MB, free: 10.31 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01974, allocations: 0 / 385.8 MB, free: 10.31 MB / 362.7 MB Notification: Performance of Templates: time 0.006166/0.02591, allocations: 1.989 MB / 387.8 MB, free: 8.34 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.028500293032266]