Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.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.0008544/0.0008544, allocations: 88.2 kB / 20.94 MB, free: 3.602 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.0009858/0.0009858, allocations: 169 kB / 24.25 MB, free: 308 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.071/1.071, allocations: 158.6 MB / 186 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1425/0.1425, allocations: 32.36 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 347.7 MB, free: 9.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.605e-05/1.798e-05, allocations: 6.25 kB / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.001873/0.001891, allocations: 1.595 MB / 349.3 MB, free: 8.168 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004555/0.002347, allocations: 315.4 kB / 349.6 MB, free: 7.855 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.104e-05/0.002408, allocations: 0 / 349.6 MB, free: 7.855 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002724/0.00268, allocations: 79.7 kB / 349.7 MB, free: 7.777 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.002853, allocations: 67.67 kB / 349.7 MB, free: 7.711 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.00303, allocations: 63.84 kB / 349.8 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.003169, allocations: 75.75 kB / 349.9 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.517e-05/0.003265, allocations: 8 kB / 349.9 MB, free: 7.566 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.307e-05/0.003328, allocations: 39.89 kB / 349.9 MB, free: 7.527 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.239e-05/0.00342, allocations: 51.88 kB / 350 MB, free: 7.477 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.003439, allocations: 4 kB / 350 MB, free: 7.473 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.217e-05/0.003501, allocations: 31.92 kB / 350 MB, free: 7.441 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.486e-05/0.003546, allocations: 19.92 kB / 350 MB, free: 7.422 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.817e-05/0.003574, allocations: 15.92 kB / 350 MB, free: 7.406 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.003709, allocations: 71.69 kB / 350.1 MB, free: 7.336 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.003711, allocations: 0 / 350.1 MB, free: 7.336 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003711, allocations: 0 / 350.1 MB, free: 7.336 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.003716, allocations: 0 / 350.1 MB, free: 7.336 MB / 282.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.0003603/0.004076, allocations: 436 kB / 350.5 MB, free: 6.875 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.004115, allocations: 12.03 kB / 350.5 MB, free: 6.863 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.731e-05/0.004162, allocations: 8.891 kB / 350.5 MB, free: 6.855 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.004291, allocations: 136.5 kB / 350.7 MB, free: 6.695 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.0043, allocations: 4.375 kB / 350.7 MB, free: 6.691 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.004322, allocations: 384 / 350.7 MB, free: 6.691 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.004431, allocations: 58.89 kB / 350.7 MB, free: 6.625 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.004442, allocations: 192 / 350.7 MB, free: 6.625 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.004454, allocations: 4.125 kB / 350.7 MB, free: 6.621 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.004463, allocations: 3.938 kB / 350.7 MB, free: 6.617 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.222e-05/0.004495, allocations: 15.98 kB / 350.8 MB, free: 6.602 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002574/0.004752, allocations: 279.8 kB / 351 MB, free: 6.293 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.004906, allocations: 46.98 kB / 351.1 MB, free: 6.234 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.956e-05/0.004925, allocations: 11.69 kB / 351.1 MB, free: 6.219 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.004946, allocations: 3.938 kB / 351.1 MB, free: 6.215 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/0.00496, allocations: 33.39 kB / 351.1 MB, free: 6.172 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.004961, allocations: 0 / 351.1 MB, free: 6.172 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003229/0.005284, allocations: 109.8 kB / 351.2 MB, free: 6.059 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.005309, allocations: 51.41 kB / 351.3 MB, free: 5.996 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.00541, allocations: 228.1 kB / 351.5 MB, free: 5.758 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.242e-06/0.005416, allocations: 25.7 kB / 351.5 MB, free: 5.727 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.646e-05/0.005452, allocations: 154.8 kB / 351.7 MB, free: 5.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.005472, allocations: 19.89 kB / 351.7 MB, free: 5.551 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/0.005497, allocations: 27.36 kB / 351.7 MB, free: 5.516 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.733e-05/0.005544, allocations: 0.4923 MB / 352.2 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.339e-05/0.005557, allocations: 4 kB / 352.2 MB, free: 5.008 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.202e-05/0.005569, allocations: 8 kB / 352.2 MB, free: 5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.034e-05/0.0056, allocations: 27.88 kB / 352.3 MB, free: 4.969 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.0056, allocations: 0 / 352.3 MB, free: 4.969 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.619e-05/0.005657, allocations: 69.47 kB / 352.3 MB, free: 4.895 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.005666, allocations: 4 kB / 352.3 MB, free: 4.891 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.005672, allocations: 4 kB / 352.3 MB, free: 4.887 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.005684, allocations: 0 / 352.3 MB, free: 4.887 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.564e-05/0.00572, allocations: 11.98 kB / 352.4 MB, free: 4.875 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.005726, allocations: 0 / 352.4 MB, free: 4.875 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.661e-05/0.005742, allocations: 8 kB / 352.4 MB, free: 4.867 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.005746, allocations: 0 / 352.4 MB, free: 4.867 MB / 282.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.21e-05/0.005788, allocations: 156.6 kB / 352.5 MB, free: 4.703 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.005804, allocations: 11.89 kB / 352.5 MB, free: 4.691 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.708e-05/0.005892, allocations: 74.08 kB / 352.6 MB, free: 4.613 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.005893, allocations: 0 / 352.6 MB, free: 4.613 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-06/0.005896, allocations: 4 kB / 352.6 MB, free: 4.609 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.0059, allocations: 0 / 352.6 MB, free: 4.609 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.006064, allocations: 333.4 kB / 352.9 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.006065, allocations: 3.938 kB / 352.9 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.152e-05/0.006087, allocations: 11.94 kB / 352.9 MB, free: 4.227 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.006089, allocations: 0 / 352.9 MB, free: 4.227 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.006096, allocations: 3.984 kB / 352.9 MB, free: 4.223 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.32e-07/0.006096, allocations: 192 / 352.9 MB, free: 4.223 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.006098, allocations: 8 kB / 353 MB, free: 4.215 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.383e-05/0.006172, allocations: 207.8 kB / 353.2 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-06/0.006179, allocations: 7.953 kB / 353.2 MB, free: 3.984 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.006191, allocations: 4 kB / 353.2 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.838e-05/0.006219, allocations: 4 kB / 353.2 MB, free: 3.977 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.006254, allocations: 3.984 kB / 353.2 MB, free: 3.973 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.006256, allocations: 0 / 353.2 MB, free: 3.973 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.796e-05/0.006304, allocations: 176 kB / 353.3 MB, free: 3.801 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006304, allocations: 0 / 353.3 MB, free: 3.801 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001533/0.006458, allocations: 15.88 kB / 353.4 MB, free: 3.785 MB / 282.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.000719/0.007177, allocations: 377.2 kB / 353.7 MB, free: 3.508 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.393e-05/0.007261, allocations: 27.67 kB / 353.8 MB, free: 3.477 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.007263, allocations: 0 / 353.8 MB, free: 3.477 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.801e-05/0.007281, allocations: 19.62 kB / 353.8 MB, free: 3.453 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.007486, allocations: 25.11 kB / 353.8 MB, free: 3.43 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/0.007778, allocations: 190.3 kB / 354 MB, free: 3.215 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.017e-05/0.007808, allocations: 67.33 kB / 354.1 MB, free: 3.129 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.474e-05/0.007833, allocations: 11.97 kB / 354.1 MB, free: 3.117 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.43e-05/0.007857, allocations: 16.5 kB / 354.1 MB, free: 3.102 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.007858, allocations: 0 / 354.1 MB, free: 3.102 MB / 282.7 MB Notification: Performance of Templates: time 0.002627/0.01048, allocations: 1.165 MB / 355.2 MB, free: 1.945 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.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.1592430169694126]