Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.001547/0.001547, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001592/0.001592, allocations: 169 kB / 24.24 MB, free: 312 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 0.9896/0.9896, 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.1242/0.1242, allocations: 32.37 MB / 270.7 MB, free: 14.78 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.CombiTable1D.Test7,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.CombiTable1D.Test7") translateModel(ModelicaTest.Tables.CombiTable1D.Test7,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.CombiTable1D.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 347.7 MB, free: 9.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.413e-05, allocations: 6.25 kB / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test7): time 0.002801/0.002825, allocations: 1.598 MB / 349.3 MB, free: 8.164 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006334/0.003459, allocations: 327.4 kB / 349.6 MB, free: 7.84 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.98e-05/0.003528, allocations: 7.938 kB / 349.6 MB, free: 7.832 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.003808, allocations: 23.91 kB / 349.6 MB, free: 7.809 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.004029, allocations: 35.72 kB / 349.7 MB, free: 7.773 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.004343, allocations: 91.75 kB / 349.7 MB, free: 7.684 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.00449, allocations: 55.83 kB / 349.8 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.004593, allocations: 11.92 kB / 349.8 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.034e-05/0.004654, allocations: 31.92 kB / 349.8 MB, free: 7.586 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.368e-05/0.004707, allocations: 15.98 kB / 349.9 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.004725, allocations: 3.938 kB / 349.9 MB, free: 7.566 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.442e-05/0.0048, allocations: 31.92 kB / 349.9 MB, free: 7.535 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.891e-05/0.004849, allocations: 11.98 kB / 349.9 MB, free: 7.523 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.332e-05/0.004882, allocations: 15.92 kB / 349.9 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.005038, allocations: 63.75 kB / 350 MB, free: 7.445 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.005041, allocations: 0 / 350 MB, free: 7.445 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.005042, allocations: 0 / 350 MB, free: 7.445 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.005046, allocations: 0 / 350 MB, free: 7.445 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.0003659/0.005412, allocations: 408.2 kB / 350.4 MB, free: 7.012 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.005449, allocations: 8.031 kB / 350.4 MB, free: 7.004 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.005497, allocations: 16.89 kB / 350.4 MB, free: 6.988 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.005632, allocations: 144.3 kB / 350.5 MB, free: 6.82 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.005645, allocations: 4.375 kB / 350.6 MB, free: 6.816 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.005666, allocations: 4.375 kB / 350.6 MB, free: 6.812 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.005781, allocations: 54.95 kB / 350.6 MB, free: 6.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.005792, allocations: 192 / 350.6 MB, free: 6.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.005802, allocations: 4.125 kB / 350.6 MB, free: 6.746 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.005811, allocations: 0 / 350.6 MB, free: 6.746 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.72e-05/0.005848, allocations: 4 kB / 350.6 MB, free: 6.742 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002873/0.006136, allocations: 279.8 kB / 350.9 MB, free: 6.434 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.006309, allocations: 39.05 kB / 350.9 MB, free: 6.383 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.539e-05/0.006334, allocations: 15.69 kB / 350.9 MB, free: 6.363 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.006353, allocations: 3.938 kB / 350.9 MB, free: 6.359 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.006372, allocations: 37.39 kB / 351 MB, free: 6.312 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.006373, allocations: 0 / 351 MB, free: 6.312 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003779/0.006751, allocations: 97.83 kB / 351.1 MB, free: 6.211 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.006777, allocations: 59.39 kB / 351.1 MB, free: 6.141 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.006879, allocations: 192.2 kB / 351.3 MB, free: 5.938 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.824e-06/0.006886, allocations: 33.7 kB / 351.4 MB, free: 5.898 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.728e-05/0.006924, allocations: 146.8 kB / 351.5 MB, free: 5.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.006945, allocations: 15.89 kB / 351.5 MB, free: 5.734 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.006979, allocations: 23.38 kB / 351.5 MB, free: 5.703 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.052e-05/0.00703, allocations: 0.4923 MB / 352 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.42e-05/0.007054, allocations: 7.938 kB / 352 MB, free: 5.191 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.781e-05/0.007072, allocations: 4 kB / 352 MB, free: 5.188 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.547e-05/0.007117, allocations: 27.88 kB / 352.1 MB, free: 5.156 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.007118, allocations: 0 / 352.1 MB, free: 5.156 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.897e-05/0.007207, allocations: 61.58 kB / 352.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.007221, allocations: 4 kB / 352.1 MB, free: 5.086 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.007226, allocations: 8 kB / 352.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.00724, allocations: 0 / 352.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.988e-05/0.0073, allocations: 15.92 kB / 352.2 MB, free: 5.062 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.007305, allocations: 3.938 kB / 352.2 MB, free: 5.059 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.681e-05/0.007331, allocations: 4 kB / 352.2 MB, free: 5.055 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.007337, allocations: 0 / 352.2 MB, free: 5.055 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.837e-05/0.007386, allocations: 156.6 kB / 352.3 MB, free: 4.891 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.007418, allocations: 15.89 kB / 352.3 MB, free: 4.875 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.007545, allocations: 66.14 kB / 352.4 MB, free: 4.805 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.007547, allocations: 4 kB / 352.4 MB, free: 4.801 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.007551, allocations: 0 / 352.4 MB, free: 4.801 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.007554, allocations: 0 / 352.4 MB, free: 4.801 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.007802, allocations: 325.3 kB / 352.7 MB, free: 4.441 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.007803, allocations: 0 / 352.7 MB, free: 4.441 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.893e-05/0.007852, allocations: 8 kB / 352.7 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.007854, allocations: 0 / 352.7 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.007863, allocations: 0 / 352.7 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.007865, allocations: 4.188 kB / 352.7 MB, free: 4.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.007866, allocations: 4 kB / 352.7 MB, free: 4.426 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.007984, allocations: 215.8 kB / 352.9 MB, free: 4.195 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.05e-05/0.007994, allocations: 11.95 kB / 353 MB, free: 4.184 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.008008, allocations: 0 / 353 MB, free: 4.184 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.02e-05/0.008068, allocations: 3.984 kB / 353 MB, free: 4.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.008105, allocations: 4 kB / 353 MB, free: 4.176 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-06/0.00811, allocations: 0 / 353 MB, free: 4.176 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.818e-05/0.008168, allocations: 153.7 kB / 353.1 MB, free: 4.027 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.008168, allocations: 0 / 353.1 MB, free: 4.027 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002666/0.008435, allocations: 15.94 kB / 353.1 MB, free: 4.012 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.001046/0.00948, allocations: 368.3 kB / 353.5 MB, free: 3.742 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001087/0.009589, allocations: 31.67 kB / 353.5 MB, free: 3.707 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.009591, allocations: 3.938 kB / 353.5 MB, free: 3.703 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.92e-05/0.00962, allocations: 15.69 kB / 353.5 MB, free: 3.684 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.009931, allocations: 31.8 kB / 353.6 MB, free: 3.652 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003383/0.01027, allocations: 166 kB / 353.7 MB, free: 3.461 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.377e-05/0.0103, allocations: 63.34 kB / 353.8 MB, free: 3.379 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.866e-05/0.01035, allocations: 15.97 kB / 353.8 MB, free: 3.363 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/0.01039, allocations: 16.5 kB / 353.8 MB, free: 3.348 MB / 282.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01039, allocations: 0 / 353.8 MB, free: 3.348 MB / 282.7 MB Notification: Performance of Templates: time 0.002712/0.0131, allocations: 1.16 MB / 355 MB, free: 2.199 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/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.430859914049506]