Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.001305/0.001305, allocations: 83.38 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001419/0.001419, allocations: 163.3 kB / 23.96 MB, free: 4.145 MB / 14.72 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.469/1.469, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 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.2231/0.2231, allocations: 34.28 MB / 295 MB, free: 14.58 MB / 286.1 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.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 442.7 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.268e-05/3.403e-05, allocations: 6.219 kB / 442.7 MB, free: 5.398 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003029/0.003063, allocations: 1.61 MB / 444.3 MB, free: 3.781 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.004182, allocations: 0.5298 MB / 444.8 MB, free: 3.246 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.977e-05/0.004242, allocations: 0 / 444.8 MB, free: 3.246 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002131/0.004455, allocations: 23.8 kB / 444.9 MB, free: 3.223 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003265/0.004781, allocations: 83.61 kB / 444.9 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.005107, allocations: 111.2 kB / 445 MB, free: 3.035 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.005287, allocations: 63.84 kB / 445.1 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.005394, allocations: 15.92 kB / 445.1 MB, free: 2.957 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.634e-05/0.005471, allocations: 31.91 kB / 445.1 MB, free: 2.926 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.196e-05/0.005533, allocations: 15.92 kB / 445.2 MB, free: 2.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.005551, allocations: 3.938 kB / 445.2 MB, free: 2.906 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.509e-05/0.005637, allocations: 39.92 kB / 445.2 MB, free: 2.867 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.183e-05/0.005698, allocations: 19.92 kB / 445.2 MB, free: 2.848 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.176e-05/0.00573, allocations: 7.938 kB / 445.2 MB, free: 2.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.005914, allocations: 79.72 kB / 445.3 MB, free: 2.762 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.005917, allocations: 0 / 445.3 MB, free: 2.762 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005917, allocations: 4 kB / 445.3 MB, free: 2.758 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.005926, allocations: 0 / 445.3 MB, free: 2.758 MB / 366.1 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.0005209/0.006447, allocations: 305.9 kB / 445.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.006484, allocations: 8.031 kB / 445.6 MB, free: 2.422 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/0.006522, allocations: 12.83 kB / 445.6 MB, free: 2.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.006735, allocations: 133.6 kB / 445.8 MB, free: 2.254 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.412e-06/0.006742, allocations: 4.375 kB / 445.8 MB, free: 2.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.006766, allocations: 384 / 445.8 MB, free: 2.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.006914, allocations: 54.23 kB / 445.8 MB, free: 2.191 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.006928, allocations: 4.125 kB / 445.8 MB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.00694, allocations: 4.125 kB / 445.8 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.006948, allocations: 7.984 kB / 445.8 MB, free: 2.176 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.448e-05/0.007043, allocations: 19.98 kB / 445.9 MB, free: 2.156 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.00743, allocations: 228.5 kB / 446.1 MB, free: 1.902 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.007645, allocations: 46.56 kB / 446.1 MB, free: 1.848 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.667e-05/0.007702, allocations: 16.94 kB / 446.1 MB, free: 1.828 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.007721, allocations: 3.938 kB / 446.1 MB, free: 1.824 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.007758, allocations: 34.56 kB / 446.2 MB, free: 1.781 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.007759, allocations: 0 / 446.2 MB, free: 1.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.000604/0.008363, allocations: 149.4 kB / 446.3 MB, free: 1.629 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.008417, allocations: 51.41 kB / 446.4 MB, free: 1.566 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.008587, allocations: 156.9 kB / 446.5 MB, free: 1.402 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.008606, allocations: 29.7 kB / 446.6 MB, free: 1.367 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.784e-05/0.008683, allocations: 92.08 kB / 446.7 MB, free: 1.273 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.008709, allocations: 23.84 kB / 446.7 MB, free: 1.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/0.008752, allocations: 21.7 kB / 446.7 MB, free: 1.223 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.008912, allocations: 318.8 kB / 447 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.354e-05/0.008996, allocations: 27.91 kB / 447 MB, free: 0.875 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.241e-05/0.009078, allocations: 19.98 kB / 447.1 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.009231, allocations: 52.83 kB / 447.1 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.009232, allocations: 0 / 447.1 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002106/0.009442, allocations: 89.8 kB / 447.2 MB, free: 0.707 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.009456, allocations: 4 kB / 447.2 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/0.009465, allocations: 8 kB / 447.2 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.00948, allocations: 0 / 447.2 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.831e-05/0.009549, allocations: 11.98 kB / 447.2 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.009554, allocations: 7.875 kB / 447.2 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.3e-05/0.009597, allocations: 4 kB / 447.2 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.009606, allocations: 8 kB / 447.2 MB, free: 0.6641 MB / 366.1 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 (5): * Single equations (assignments): 5 * 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.0001113/0.009717, allocations: 122.5 kB / 447.4 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/0.009752, allocations: 11.89 kB / 447.4 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002662/0.01002, allocations: 90.12 kB / 447.5 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.01002, allocations: 4 kB / 447.5 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.01003, allocations: 0 / 447.5 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.01003, allocations: 3.938 kB / 447.5 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/0.01049, allocations: 302.1 kB / 447.8 MB, free: 88 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01049, allocations: 0 / 447.8 MB, free: 88 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.287e-05/0.01056, allocations: 11.98 kB / 447.8 MB, free: 76 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.01056, allocations: 4 kB / 447.8 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.01057, allocations: 0 / 447.8 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.01057, allocations: 0 / 447.8 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.01057, allocations: 0 / 447.8 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1874/0.198, allocations: 180.9 kB / 447.9 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.803e-05/0.198, allocations: 8.5 kB / 448 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.198, allocations: 6.578 kB / 448 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.441e-05/0.1981, allocations: 7.625 kB / 448 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.1981, allocations: 6.156 kB / 448 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.1981, allocations: 2.625 kB / 448 MB, free: 19.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.176e-05/0.1982, allocations: 119.7 kB / 448.1 MB, free: 18.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1982, allocations: 0 / 448.1 MB, free: 18.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002999/0.1985, allocations: 21.36 kB / 448.1 MB, free: 18.98 MB / 366.1 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 (5): * Single equations (assignments): 5 * 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.00158/0.2001, allocations: 422.8 kB / 448.5 MB, free: 18.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002346/0.2003, allocations: 55.91 kB / 448.6 MB, free: 18.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2003, allocations: 1.25 kB / 448.6 MB, free: 18.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.374e-05/0.2004, allocations: 24.36 kB / 448.6 MB, free: 18.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.2007, allocations: 13.5 kB / 448.6 MB, free: 18.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004415/0.2012, allocations: 191.8 kB / 448.8 MB, free: 18.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.796e-05/0.2013, allocations: 79.98 kB / 448.9 MB, free: 18.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.741e-05/0.2013, allocations: 19.92 kB / 448.9 MB, free: 18.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.354e-05/0.2014, allocations: 13.88 kB / 448.9 MB, free: 18.65 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2014, allocations: 0 / 448.9 MB, free: 18.65 MB / 366.1 MB Notification: Performance of Templates: time 0.004829/0.2062, allocations: 1.162 MB / 450.1 MB, free: 18.52 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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: 4.851344142109156]