Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.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.001066/0.001066, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.00119/0.00119, allocations: 173 kB / 24.06 MB, free: 456 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.9852/0.9852, allocations: 158.6 MB / 185.9 MB, free: 2.793 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.1371/0.1371, allocations: 32.37 MB / 270.7 MB, free: 14.54 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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.716e-05/1.834e-05, allocations: 6.25 kB / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.001956/0.001974, allocations: 1.598 MB / 349.7 MB, free: 7.562 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004554/0.002429, allocations: 311.5 kB / 350 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.025e-05/0.00248, allocations: 0 / 350 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.002687, allocations: 75.72 kB / 350.1 MB, free: 7.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.00283, allocations: 67.67 kB / 350.2 MB, free: 7.113 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001502/0.00298, allocations: 63.83 kB / 350.2 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.003087, allocations: 67.78 kB / 350.3 MB, free: 6.984 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.14e-05/0.003148, allocations: 7.984 kB / 350.3 MB, free: 6.977 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.431e-05/0.003202, allocations: 39.89 kB / 350.3 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.541e-05/0.003278, allocations: 39.89 kB / 350.4 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.003291, allocations: 4 kB / 350.4 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.768e-05/0.003349, allocations: 39.92 kB / 350.4 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.308e-05/0.003382, allocations: 15.92 kB / 350.4 MB, free: 6.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.008e-05/0.003402, allocations: 11.94 kB / 350.5 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.545e-05/0.003498, allocations: 71.73 kB / 350.5 MB, free: 6.758 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.393e-06/0.003499, allocations: 0 / 350.5 MB, free: 6.758 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.0035, allocations: 0 / 350.5 MB, free: 6.758 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.076e-06/0.003503, allocations: 0 / 350.5 MB, free: 6.758 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.0002508/0.003754, allocations: 424 kB / 350.9 MB, free: 6.309 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.003784, allocations: 12.03 kB / 351 MB, free: 6.297 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.607e-05/0.003811, allocations: 12.84 kB / 351 MB, free: 6.285 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.995e-05/0.00389, allocations: 148.3 kB / 351.1 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.68e-06/0.003896, allocations: 8.312 kB / 351.1 MB, free: 6.105 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.003907, allocations: 384 / 351.1 MB, free: 6.105 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.124e-05/0.003978, allocations: 54.95 kB / 351.2 MB, free: 6.043 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.003988, allocations: 192 / 351.2 MB, free: 6.043 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.003995, allocations: 4.125 kB / 351.2 MB, free: 6.039 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.004, allocations: 4 kB / 351.2 MB, free: 6.035 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.945e-05/0.00402, allocations: 11.94 kB / 351.2 MB, free: 6.023 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.004194, allocations: 248.5 kB / 351.4 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.004298, allocations: 47.03 kB / 351.5 MB, free: 5.695 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.19e-05/0.00431, allocations: 11.77 kB / 351.5 MB, free: 5.68 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.004328, allocations: 8 kB / 351.5 MB, free: 5.672 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.218e-05/0.004341, allocations: 41.27 kB / 351.5 MB, free: 5.621 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.004341, allocations: 0 / 351.5 MB, free: 5.621 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002071/0.004549, allocations: 89.45 kB / 351.6 MB, free: 5.527 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.469e-05/0.004563, allocations: 51.41 kB / 351.7 MB, free: 5.465 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.582e-05/0.004639, allocations: 218.9 kB / 351.9 MB, free: 5.234 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.054e-06/0.004646, allocations: 29.7 kB / 351.9 MB, free: 5.199 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.004681, allocations: 150.8 kB / 352.1 MB, free: 5.047 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.004697, allocations: 15.86 kB / 352.1 MB, free: 5.031 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/0.004722, allocations: 19.38 kB / 352.1 MB, free: 5.004 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.154e-05/0.004784, allocations: 0.504 MB / 352.6 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.508e-06/0.004793, allocations: 4 kB / 352.6 MB, free: 4.484 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.169e-05/0.004805, allocations: 7.984 kB / 352.6 MB, free: 4.477 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.251e-05/0.004828, allocations: 19.69 kB / 352.6 MB, free: 4.453 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.004828, allocations: 0 / 352.6 MB, free: 4.453 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.684e-05/0.004885, allocations: 61.53 kB / 352.7 MB, free: 4.387 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.004897, allocations: 4 kB / 352.7 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.004903, allocations: 3.984 kB / 352.7 MB, free: 4.379 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.004915, allocations: 0 / 352.7 MB, free: 4.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.676e-05/0.004951, allocations: 12 kB / 352.7 MB, free: 4.367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.004955, allocations: 4 kB / 352.7 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.431e-05/0.004969, allocations: 0 / 352.7 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.004973, allocations: 4 kB / 352.7 MB, free: 4.359 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.846e-05/0.005022, allocations: 160.5 kB / 352.9 MB, free: 4.191 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/0.005039, allocations: 15.89 kB / 352.9 MB, free: 4.176 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.216e-05/0.005121, allocations: 74.28 kB / 353 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.005123, allocations: 0 / 353 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.005125, allocations: 0 / 353 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.005129, allocations: 3.984 kB / 353 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.005306, allocations: 294 kB / 353.3 MB, free: 3.773 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.005307, allocations: 4 kB / 353.3 MB, free: 3.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.284e-05/0.00533, allocations: 11.98 kB / 353.3 MB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.005331, allocations: 4 kB / 353.3 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-06/0.005336, allocations: 0 / 353.3 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.005337, allocations: 3.938 kB / 353.3 MB, free: 3.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.005338, allocations: 0 / 353.3 MB, free: 3.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.103e-05/0.005409, allocations: 207.8 kB / 353.5 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.005417, allocations: 7.953 kB / 353.5 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.976e-06/0.005426, allocations: 0 / 353.5 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.039e-05/0.005457, allocations: 11.98 kB / 353.5 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.492e-05/0.005482, allocations: 0 / 353.5 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.005484, allocations: 4 kB / 353.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.196e-05/0.005526, allocations: 159.1 kB / 353.7 MB, free: 3.348 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.005527, allocations: 0 / 353.7 MB, free: 3.348 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001433/0.00567, allocations: 12 kB / 353.7 MB, free: 3.336 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.0006994/0.006369, allocations: 382.3 kB / 354 MB, free: 3.055 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.791e-05/0.006447, allocations: 27.61 kB / 354.1 MB, free: 3.023 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.006448, allocations: 0 / 354.1 MB, free: 3.023 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.558e-05/0.006464, allocations: 19.8 kB / 354.1 MB, free: 3 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.006653, allocations: 25.3 kB / 354.1 MB, free: 2.977 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002507/0.006904, allocations: 190.2 kB / 354.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.11e-05/0.006935, allocations: 63.34 kB / 354.4 MB, free: 2.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.419e-05/0.006959, allocations: 8 kB / 354.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.007001, allocations: 86.19 kB / 354.5 MB, free: 2.586 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.007002, allocations: 0 / 354.5 MB, free: 2.586 MB / 282.7 MB Notification: Performance of Templates: time 0.00263/0.009632, allocations: 1.252 MB / 355.7 MB, free: 1.344 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.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.201147183775902]