Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.0009212/0.0009212, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001088/0.001088, allocations: 168.9 kB / 24.91 MB, free: 8.723 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 0.9197/0.9197, allocations: 177.1 MB / 205.3 MB, free: 4.496 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.1295/0.1295, allocations: 32.8 MB / 294.6 MB, free: 15.44 MB / 282.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.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 323.2 MB, free: 2.793 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.3e-05, allocations: 6.25 kB / 323.2 MB, free: 2.785 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002743/0.002766, allocations: 1.633 MB / 324.9 MB, free: 1.141 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009425/0.003709, allocations: 0.5374 MB / 325.4 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.276e-05/0.003762, allocations: 7.938 kB / 325.4 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002086/0.00397, allocations: 23.83 kB / 325.4 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002796/0.00425, allocations: 83.56 kB / 325.5 MB, free: 496 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000247/0.004497, allocations: 91.7 kB / 325.6 MB, free: 404 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.004632, allocations: 67.7 kB / 325.7 MB, free: 336 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.926e-05/0.004711, allocations: 15.92 kB / 325.7 MB, free: 320 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.538e-05/0.004776, allocations: 31.91 kB / 325.7 MB, free: 288 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003102/0.007879, allocations: 15.98 kB / 325.7 MB, free: 272 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.007904, allocations: 3.938 kB / 325.7 MB, free: 268 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.551e-05/0.008, allocations: 31.98 kB / 325.8 MB, free: 236 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.988e-05/0.008049, allocations: 11.98 kB / 325.8 MB, free: 224 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.698e-05/0.008076, allocations: 15.94 kB / 325.8 MB, free: 208 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.008228, allocations: 67.73 kB / 325.9 MB, free: 140 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.008232, allocations: 3.938 kB / 325.9 MB, free: 136 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.008233, allocations: 0 / 325.9 MB, free: 136 kB / 298.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.008237, allocations: 0 / 325.9 MB, free: 136 kB / 298.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.0003187/0.008555, allocations: 296.4 kB / 326.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.008589, allocations: 11.98 kB / 326.2 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.652e-05/0.008615, allocations: 4.938 kB / 326.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.008739, allocations: 133.6 kB / 326.3 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.00875, allocations: 8.359 kB / 326.3 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.00877, allocations: 4.375 kB / 326.3 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.998e-05/0.00887, allocations: 58.94 kB / 326.4 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.008878, allocations: 192 / 326.4 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.008888, allocations: 4.125 kB / 326.4 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.008893, allocations: 3.938 kB / 326.4 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.475e-05/0.008918, allocations: 8 kB / 326.4 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002354/0.009153, allocations: 171.2 kB / 326.6 MB, free: 15.37 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.009297, allocations: 22.58 kB / 326.6 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.91e-05/0.009316, allocations: 8.859 kB / 326.6 MB, free: 15.33 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.009333, allocations: 4.078 kB / 326.6 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.009357, allocations: 42.5 kB / 326.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.009358, allocations: 4 kB / 326.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003201/0.009678, allocations: 81.48 kB / 326.7 MB, free: 15.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.009715, allocations: 55.41 kB / 326.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.009836, allocations: 150.4 kB / 326.9 MB, free: 14.96 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.009848, allocations: 25.7 kB / 326.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.009888, allocations: 100 kB / 327 MB, free: 14.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.00991, allocations: 11.91 kB / 327.1 MB, free: 14.81 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.009943, allocations: 13.72 kB / 327.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.615e-05/0.01004, allocations: 322.8 kB / 327.4 MB, free: 14.47 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.435e-05/0.01005, allocations: 4 kB / 327.4 MB, free: 14.46 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.334e-05/0.01007, allocations: 11.94 kB / 327.4 MB, free: 14.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.834e-05/0.01011, allocations: 20.84 kB / 327.4 MB, free: 14.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.01011, allocations: 0 / 327.4 MB, free: 14.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.241e-05/0.01019, allocations: 57.55 kB / 327.5 MB, free: 14.37 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.01021, allocations: 4 kB / 327.5 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.01021, allocations: 0 / 327.5 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.01022, allocations: 0 / 327.5 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.917e-05/0.01028, allocations: 8 kB / 327.5 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.01029, allocations: 0 / 327.5 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.623e-05/0.01031, allocations: 7.984 kB / 327.5 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.01032, allocations: 4 kB / 327.5 MB, free: 14.34 MB / 314.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 (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 7.55e-05/0.01039, allocations: 120.7 kB / 327.6 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.01042, allocations: 7.938 kB / 327.6 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.01053, allocations: 62.03 kB / 327.7 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.01053, allocations: 0 / 327.7 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.01053, allocations: 0 / 327.7 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.01054, allocations: 0 / 327.7 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.01079, allocations: 215.1 kB / 327.9 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.0108, allocations: 4 kB / 327.9 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.667e-05/0.01084, allocations: 11.98 kB / 327.9 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.01084, allocations: 4 kB / 327.9 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.01085, allocations: 3.938 kB / 327.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01085, allocations: 0 / 327.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01085, allocations: 0 / 327.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.01096, allocations: 143.5 kB / 328.1 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.01097, allocations: 11.95 kB / 328.1 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.01098, allocations: 3.984 kB / 328.1 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.814e-05/0.01104, allocations: 4 kB / 328.1 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.379e-05/0.01106, allocations: 288 / 328.1 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.01107, allocations: 4 kB / 328.1 MB, free: 13.7 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.038e-05/0.01112, allocations: 42.27 kB / 328.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01112, allocations: 4 kB / 328.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002412/0.01136, allocations: 15.94 kB / 328.1 MB, free: 13.64 MB / 314.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 (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.001475/0.01284, allocations: 0.4921 MB / 328.6 MB, free: 13.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.698e-05/0.01292, allocations: 28.72 kB / 328.7 MB, free: 13.35 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.01293, allocations: 4 kB / 328.7 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.196e-05/0.01295, allocations: 8.859 kB / 328.7 MB, free: 13.33 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.01316, allocations: 15.98 kB / 328.7 MB, free: 13.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003741/0.01353, allocations: 186.5 kB / 328.9 MB, free: 13.1 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.376e-05/0.01358, allocations: 63.34 kB / 328.9 MB, free: 13.02 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.059e-05/0.01362, allocations: 11.97 kB / 328.9 MB, free: 13.01 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.653e-05/0.01369, allocations: 55.38 kB / 329 MB, free: 12.95 MB / 314.7 MB Notification: Performance of SimCode: time 5.62e-07/0.01369, allocations: 0 / 329 MB, free: 12.95 MB / 314.7 MB Notification: Performance of Templates: time 0.003859/0.01754, allocations: 1.252 MB / 330.2 MB, free: 11.71 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.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.058759590610862]