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.0009134/0.0009134, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009803/0.0009803, allocations: 171.4 kB / 24.92 MB, free: 9.188 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.9347/0.9347, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2617/0.2617, allocations: 34.26 MB / 296.1 MB, free: 0.7109 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.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|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.[0-9,]+.|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 / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.231e-05, allocations: 10.27 kB / 325.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.00232/0.002343, allocations: 1.644 MB / 326.9 MB, free: 6.016 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008829/0.003225, allocations: 0.5374 MB / 327.4 MB, free: 5.473 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.368e-05/0.003289, allocations: 0 / 327.4 MB, free: 5.473 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002076/0.003497, allocations: 23.84 kB / 327.5 MB, free: 5.449 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.003751, allocations: 79.56 kB / 327.5 MB, free: 5.371 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.004001, allocations: 123.5 kB / 327.7 MB, free: 5.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.004123, allocations: 68.41 kB / 327.7 MB, free: 5.184 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.215e-05/0.004205, allocations: 7.984 kB / 327.7 MB, free: 5.176 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.669e-05/0.004262, allocations: 31.91 kB / 327.8 MB, free: 5.145 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.106e-05/0.004313, allocations: 15.98 kB / 327.8 MB, free: 5.129 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.004325, allocations: 0 / 327.8 MB, free: 5.129 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.489e-05/0.00439, allocations: 31.92 kB / 327.8 MB, free: 5.098 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.897e-05/0.004429, allocations: 15.94 kB / 327.8 MB, free: 5.082 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.612e-05/0.004455, allocations: 23.91 kB / 327.9 MB, free: 5.059 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.00458, allocations: 67.75 kB / 327.9 MB, free: 4.992 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.004582, allocations: 0 / 327.9 MB, free: 4.992 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.004583, allocations: 0 / 327.9 MB, free: 4.992 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.004586, allocations: 0 / 327.9 MB, free: 4.992 MB / 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.0003/0.004886, allocations: 281.9 kB / 328.2 MB, free: 4.695 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.004916, allocations: 11.97 kB / 328.2 MB, free: 4.684 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.648e-05/0.004943, allocations: 8.922 kB / 328.2 MB, free: 4.676 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.005058, allocations: 133.6 kB / 328.3 MB, free: 4.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.005068, allocations: 8.375 kB / 328.4 MB, free: 4.512 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.005087, allocations: 384 / 328.4 MB, free: 4.512 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.843e-05/0.005175, allocations: 54.95 kB / 328.4 MB, free: 4.449 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.005183, allocations: 192 / 328.4 MB, free: 4.449 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.005192, allocations: 8.125 kB / 328.4 MB, free: 4.441 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.005197, allocations: 0 / 328.4 MB, free: 4.441 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.886e-05/0.005215, allocations: 7.984 kB / 328.4 MB, free: 4.434 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/0.005406, allocations: 163.1 kB / 328.6 MB, free: 4.258 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.005546, allocations: 33.39 kB / 328.6 MB, free: 4.215 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.461e-05/0.00556, allocations: 8.859 kB / 328.6 MB, free: 4.203 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.005575, allocations: 0 / 328.6 MB, free: 4.203 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.005594, allocations: 34.62 kB / 328.7 MB, free: 4.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 6.22e-07/0.005595, allocations: 4 kB / 328.7 MB, free: 4.156 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002555/0.00585, allocations: 90.02 kB / 328.8 MB, free: 4.062 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.005879, allocations: 51.41 kB / 328.8 MB, free: 4 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.306e-05/0.005962, allocations: 151 kB / 328.9 MB, free: 3.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.005971, allocations: 29.7 kB / 329 MB, free: 3.805 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.81e-05/0.005999, allocations: 84.14 kB / 329.1 MB, free: 3.719 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.006018, allocations: 23.78 kB / 329.1 MB, free: 3.695 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.006046, allocations: 21.7 kB / 329.1 MB, free: 3.668 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.26e-05/0.006118, allocations: 314.8 kB / 329.4 MB, free: 3.352 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.027e-05/0.006129, allocations: 7.984 kB / 329.4 MB, free: 3.344 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.035e-05/0.006139, allocations: 11.94 kB / 329.4 MB, free: 3.332 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.876e-05/0.006168, allocations: 27.86 kB / 329.5 MB, free: 3.301 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.006168, allocations: 0 / 329.5 MB, free: 3.301 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.763e-05/0.006216, allocations: 45.62 kB / 329.5 MB, free: 3.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.006227, allocations: 8 kB / 329.5 MB, free: 3.242 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.006231, allocations: 0 / 329.5 MB, free: 3.242 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.006242, allocations: 0 / 329.5 MB, free: 3.242 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.692e-05/0.006279, allocations: 11.98 kB / 329.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.006283, allocations: 3.938 kB / 329.5 MB, free: 3.227 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.702e-05/0.0063, allocations: 11.94 kB / 329.5 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.006304, allocations: 4 kB / 329.5 MB, free: 3.211 MB / 298.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 4.746e-05/0.006352, allocations: 108.7 kB / 329.6 MB, free: 3.094 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.006369, allocations: 11.92 kB / 329.7 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.174e-05/0.006451, allocations: 62.42 kB / 329.7 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.006453, allocations: 0 / 329.7 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.006454, allocations: 0 / 329.7 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.006459, allocations: 7.969 kB / 329.7 MB, free: 3.008 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.006632, allocations: 202.8 kB / 329.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.006634, allocations: 3.938 kB / 329.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.47e-05/0.006659, allocations: 11.98 kB / 329.9 MB, free: 2.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.00666, allocations: 4 kB / 329.9 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-06/0.006664, allocations: 4 kB / 330 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.006665, allocations: 0 / 330 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.006666, allocations: 0 / 330 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.068e-05/0.006737, allocations: 151.7 kB / 330.1 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-06/0.006746, allocations: 15.89 kB / 330.1 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.586e-06/0.006754, allocations: 0 / 330.1 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.789e-05/0.006782, allocations: 0 / 330.1 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.175e-05/0.006804, allocations: 7.984 kB / 330.1 MB, free: 2.574 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.006807, allocations: 0 / 330.1 MB, free: 2.574 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.952e-05/0.006836, allocations: 38.06 kB / 330.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006836, allocations: 4 kB / 330.2 MB, free: 2.531 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001346/0.006971, allocations: 16 kB / 330.2 MB, free: 2.516 MB / 298.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.001026/0.007997, allocations: 0.4966 MB / 330.7 MB, free: 2.277 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.882e-05/0.008066, allocations: 20.84 kB / 330.7 MB, free: 2.254 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.008069, allocations: 0 / 330.7 MB, free: 2.254 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.959e-05/0.008089, allocations: 20.8 kB / 330.7 MB, free: 2.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/0.008233, allocations: 23.86 kB / 330.7 MB, free: 2.207 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002652/0.008498, allocations: 175.1 kB / 330.9 MB, free: 2.004 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.504e-05/0.008533, allocations: 63.34 kB / 331 MB, free: 1.922 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.883e-05/0.008562, allocations: 15.97 kB / 331 MB, free: 1.906 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.646e-05/0.008609, allocations: 55.38 kB / 331 MB, free: 1.852 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.008609, allocations: 0 / 331 MB, free: 1.852 MB / 298.7 MB Notification: Performance of Templates: time 0.002561/0.01117, allocations: 1.256 MB / 332.3 MB, free: 0.6016 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8807559651322663]