Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001003/0.001003, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001676/0.001676, allocations: 160.8 kB / 25.61 MB, free: 8.895 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.8634/0.8634, allocations: 177.1 MB / 206.1 MB, free: 4.516 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.1469/0.1469, allocations: 34.26 MB / 296.9 MB, free: 13.93 MB / 282.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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.658e-05/2.81e-05, allocations: 6.25 kB / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002205/0.002233, allocations: 1.685 MB / 381 MB, free: 21.7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007272/0.00296, allocations: 0.5686 MB / 381.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.864e-05/0.003039, allocations: 0 / 381.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003752/0.003414, allocations: 451.1 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003102/0.003724, allocations: 299.1 kB / 382.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.004087, allocations: 179.5 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.004291, allocations: 187.5 kB / 382.7 MB, free: 20.03 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.451e-05/0.004385, allocations: 8 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.004487, allocations: 127.8 kB / 382.8 MB, free: 19.9 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.004646, allocations: 243.6 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.004662, allocations: 4 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.556e-05/0.004737, allocations: 31.92 kB / 383.1 MB, free: 19.62 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.958e-05/0.004807, allocations: 87.7 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.766e-05/0.004844, allocations: 39.73 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.005069, allocations: 203.1 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.005073, allocations: 4 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.005074, allocations: 0 / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.00508, allocations: 0 / 383.4 MB, free: 19.3 MB / 314.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.0004341/0.005514, allocations: 0.7048 MB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.005546, allocations: 12.03 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.005591, allocations: 48.66 kB / 384.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.005739, allocations: 248.8 kB / 384.4 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.005748, allocations: 4.375 kB / 384.4 MB, free: 18.22 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.005764, allocations: 4.375 kB / 384.4 MB, free: 18.22 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.928e-05/0.005853, allocations: 66.92 kB / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.005862, allocations: 192 / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.005869, allocations: 4.125 kB / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.005874, allocations: 3.938 kB / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.651e-05/0.0059, allocations: 8 kB / 384.5 MB, free: 18.13 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002554/0.006156, allocations: 344.2 kB / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.675e-05/0.006212, allocations: 47.03 kB / 384.9 MB, free: 17.71 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.474e-05/0.006227, allocations: 11.69 kB / 384.9 MB, free: 17.69 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.006242, allocations: 0 / 384.9 MB, free: 17.69 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.386e-05/0.006256, allocations: 41.41 kB / 384.9 MB, free: 17.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.006257, allocations: 0 / 384.9 MB, free: 17.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003268/0.006583, allocations: 153.5 kB / 385.1 MB, free: 17.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/0.006605, allocations: 59.41 kB / 385.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.006875, allocations: 0.6079 MB / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.564e-06/0.006882, allocations: 29.7 kB / 385.8 MB, free: 16.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.787e-05/0.00698, allocations: 290.8 kB / 386 MB, free: 16.46 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.007, allocations: 27.73 kB / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.007031, allocations: 31.36 kB / 386.1 MB, free: 16.4 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.951e-05/0.007101, allocations: 0.5585 MB / 386.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.54e-05/0.007116, allocations: 7.984 kB / 386.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.45e-05/0.007131, allocations: 8 kB / 386.7 MB, free: 15.81 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.58e-05/0.007166, allocations: 27.67 kB / 386.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.007168, allocations: 4 kB / 386.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.546e-05/0.007253, allocations: 109.3 kB / 386.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.007266, allocations: 4 kB / 386.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.007271, allocations: 0 / 386.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.736e-06/0.007279, allocations: 4 kB / 386.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.614e-05/0.007345, allocations: 19.92 kB / 386.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.534e-06/0.007348, allocations: 0 / 386.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.19e-05/0.00738, allocations: 8 kB / 386.9 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.007386, allocations: 0 / 386.9 MB, free: 15.63 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 (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 5.625e-05/0.007442, allocations: 156.6 kB / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.007475, allocations: 51.66 kB / 387.1 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.007607, allocations: 105.8 kB / 387.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.007611, allocations: 4 kB / 387.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.007612, allocations: 0 / 387.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.007615, allocations: 0 / 387.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.00787, allocations: 413.8 kB / 387.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.007873, allocations: 0 / 387.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.989e-05/0.007913, allocations: 15.98 kB / 387.6 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.007915, allocations: 0 / 387.6 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.007921, allocations: 4 kB / 387.6 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.007922, allocations: 8 kB / 387.6 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.007923, allocations: 0 / 387.6 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.769e-05/0.00801, allocations: 255.5 kB / 387.8 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.891e-05/0.008029, allocations: 35.72 kB / 387.9 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.008044, allocations: 3.984 kB / 387.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.112e-05/0.008085, allocations: 4 kB / 387.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.519e-05/0.00811, allocations: 7.984 kB / 387.9 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.008113, allocations: 4 kB / 387.9 MB, free: 14.51 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001351/0.008248, allocations: 394.7 kB / 388.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.008249, allocations: 0 / 388.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001629/0.008412, allocations: 23.94 kB / 388.3 MB, free: 14.1 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 (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.0007286/0.00914, allocations: 383.4 kB / 388.7 MB, free: 13.86 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.158e-05/0.009222, allocations: 35.61 kB / 388.7 MB, free: 13.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.009224, allocations: 4 kB / 388.7 MB, free: 13.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.324e-05/0.009247, allocations: 23.67 kB / 388.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.009508, allocations: 39.16 kB / 388.8 MB, free: 13.76 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006783/0.01019, allocations: 0.5944 MB / 389.4 MB, free: 13.14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.488e-05/0.01024, allocations: 127.1 kB / 389.5 MB, free: 12.99 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.861e-05/0.01028, allocations: 13.02 kB / 389.5 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.325e-05/0.01033, allocations: 86.2 kB / 389.6 MB, free: 12.89 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01033, allocations: 0 / 389.6 MB, free: 12.89 MB / 314.7 MB Notification: Performance of Templates: time 0.003748/0.01408, allocations: 1.664 MB / 391.3 MB, free: 11.24 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.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.0096371099352837]