Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001238/0.001238, 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.001053/0.001053, allocations: 171.9 kB / 24.92 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.9477/0.9477, allocations: 177.1 MB / 205.3 MB, free: 5.117 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.2477/0.2477, allocations: 32.8 MB / 294.6 MB, free: 1.184 MB / 266.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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.133e-06/1.133e-06, allocations: 0 / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.396e-05, allocations: 2.969 kB / 323.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.001844/0.001858, allocations: 1.646 MB / 324.9 MB, free: 8.047 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006561/0.002514, allocations: 0.5529 MB / 325.4 MB, free: 7.488 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.257e-05/0.002557, allocations: 0 / 325.4 MB, free: 7.488 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004062/0.002963, allocations: 455.1 kB / 325.9 MB, free: 7.043 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.00329, allocations: 299.1 kB / 326.2 MB, free: 6.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.00356, allocations: 167.5 kB / 326.3 MB, free: 6.586 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.003723, allocations: 163.7 kB / 326.5 MB, free: 6.426 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.121e-05/0.003794, allocations: 16.59 kB / 326.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.003895, allocations: 115.8 kB / 326.6 MB, free: 6.297 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.00404, allocations: 199.6 kB / 326.8 MB, free: 6.102 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.004054, allocations: 4 kB / 326.8 MB, free: 6.098 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.23e-05/0.004106, allocations: 23.92 kB / 326.9 MB, free: 6.074 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.308e-05/0.004179, allocations: 91.58 kB / 326.9 MB, free: 5.984 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.101e-05/0.00421, allocations: 35.75 kB / 327 MB, free: 5.949 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.004377, allocations: 187.2 kB / 327.2 MB, free: 5.766 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.382e-06/0.004379, allocations: 4 kB / 327.2 MB, free: 5.762 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.11e-07/0.004379, allocations: 0 / 327.2 MB, free: 5.762 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.004382, allocations: 0 / 327.2 MB, free: 5.762 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.0003898/0.004772, allocations: 0.5345 MB / 327.7 MB, free: 5.203 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.004803, allocations: 8.031 kB / 327.7 MB, free: 5.195 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.004838, allocations: 24.91 kB / 327.7 MB, free: 5.172 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.004999, allocations: 246 kB / 328 MB, free: 4.906 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.00501, allocations: 8.359 kB / 328 MB, free: 4.898 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.005019, allocations: 384 / 328 MB, free: 4.898 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.634e-05/0.005096, allocations: 54.95 kB / 328 MB, free: 4.836 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.005102, allocations: 192 / 328 MB, free: 4.836 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.005109, allocations: 12.06 kB / 328 MB, free: 4.824 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.005113, allocations: 0 / 328 MB, free: 4.824 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.459e-05/0.005128, allocations: 8 kB / 328.1 MB, free: 4.816 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.005337, allocations: 195.1 kB / 328.2 MB, free: 4.609 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.24e-05/0.005369, allocations: 18.58 kB / 328.3 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.164e-05/0.005381, allocations: 4.859 kB / 328.3 MB, free: 4.574 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.005394, allocations: 4.062 kB / 328.3 MB, free: 4.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.005412, allocations: 38.56 kB / 328.3 MB, free: 4.523 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.005413, allocations: 0 / 328.3 MB, free: 4.523 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 9.554e-05/0.005508, allocations: 65.59 kB / 328.4 MB, free: 4.453 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.005534, allocations: 51.41 kB / 328.4 MB, free: 4.391 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.005833, allocations: 0.5283 MB / 329 MB, free: 3.848 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.789e-06/0.005843, allocations: 25.7 kB / 329 MB, free: 3.816 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.538e-05/0.005898, allocations: 149.2 kB / 329.1 MB, free: 3.664 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.249e-05/0.005911, allocations: 3.953 kB / 329.1 MB, free: 3.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.07e-05/0.005931, allocations: 13.72 kB / 329.1 MB, free: 3.641 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.507e-05/0.006016, allocations: 358.7 kB / 329.5 MB, free: 3.281 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.943e-06/0.006023, allocations: 4 kB / 329.5 MB, free: 3.277 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.562e-06/0.00603, allocations: 0 / 329.5 MB, free: 3.277 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.9e-05/0.006049, allocations: 15.88 kB / 329.5 MB, free: 3.258 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.00605, allocations: 0 / 329.5 MB, free: 3.258 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.583e-05/0.006096, allocations: 57.61 kB / 329.6 MB, free: 3.195 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.006107, allocations: 11.94 kB / 329.6 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.00611, allocations: 0 / 329.6 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.006121, allocations: 0 / 329.6 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.091e-05/0.006162, allocations: 7.984 kB / 329.6 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-06/0.006164, allocations: 0 / 329.6 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.05e-05/0.006185, allocations: 4 kB / 329.6 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.006189, allocations: 0 / 329.6 MB, free: 3.172 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 (2): * Single equations (assignments): 2 * 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.913e-05/0.006248, allocations: 116.7 kB / 329.7 MB, free: 3.047 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.00627, allocations: 23.91 kB / 329.7 MB, free: 3.023 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.598e-05/0.006346, allocations: 76.72 kB / 329.8 MB, free: 2.941 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.006349, allocations: 7.922 kB / 329.8 MB, free: 2.934 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.00635, allocations: 0 / 329.8 MB, free: 2.934 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.006353, allocations: 0 / 329.8 MB, free: 2.934 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.006461, allocations: 137.8 kB / 329.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.006462, allocations: 3.938 kB / 329.9 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.32e-05/0.006475, allocations: 7.984 kB / 330 MB, free: 2.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.41e-07/0.006475, allocations: 4.031 kB / 330 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-06/0.006479, allocations: 0 / 330 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.00648, allocations: 3.938 kB / 330 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.006481, allocations: 0 / 330 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.566e-05/0.006546, allocations: 147.5 kB / 330.1 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.006569, allocations: 39.7 kB / 330.1 MB, free: 2.562 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.006581, allocations: 0 / 330.1 MB, free: 2.562 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.476e-05/0.006616, allocations: 7.938 kB / 330.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.085e-06/0.006624, allocations: 0 / 330.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.006627, allocations: 4 kB / 330.2 MB, free: 2.551 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001678/0.006795, allocations: 291.2 kB / 330.4 MB, free: 2.266 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006795, allocations: 4.031 kB / 330.4 MB, free: 2.262 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001249/0.00692, allocations: 15.94 kB / 330.5 MB, free: 2.246 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 (2): * Single equations (assignments): 2 * 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.0008508/0.00777, allocations: 431.8 kB / 330.9 MB, free: 2.047 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 4.701e-05/0.007817, allocations: 16.84 kB / 330.9 MB, free: 2.027 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.007822, allocations: 4 kB / 330.9 MB, free: 2.023 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.856e-06/0.007831, allocations: 8.859 kB / 330.9 MB, free: 2.012 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.007988, allocations: 31.45 kB / 330.9 MB, free: 1.988 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005096/0.008497, allocations: 0.5633 MB / 331.5 MB, free: 1.395 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.81e-05/0.008565, allocations: 123.2 kB / 331.6 MB, free: 1.254 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.297e-05/0.008588, allocations: 4 kB / 331.6 MB, free: 1.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.986e-05/0.008638, allocations: 55.36 kB / 331.7 MB, free: 1.195 MB / 298.7 MB Notification: Performance of SimCode: time 3.7e-07/0.008639, allocations: 4 kB / 331.7 MB, free: 1.191 MB / 298.7 MB Notification: Performance of Templates: time 0.003742/0.01238, allocations: 1.227 MB / 332.9 MB, free: 15.96 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/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: 2.959042400121689]