Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.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.001264/0.001264, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001215/0.001215, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 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.9609/0.9609, allocations: 158.6 MB / 185.7 MB, free: 2.922 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.1383/0.1383, allocations: 32.37 MB / 270.4 MB, free: 14.81 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.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 3.938 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.692e-05, allocations: 10.25 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test9): time 0.002598/0.002615, allocations: 1.617 MB / 349.3 MB, free: 7.805 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000607/0.003222, allocations: 311.4 kB / 349.6 MB, free: 7.496 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.063e-05/0.003263, allocations: 0 / 349.6 MB, free: 7.496 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004885/0.003751, allocations: 447.1 kB / 350 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003037/0.004055, allocations: 259.4 kB / 350.3 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.00428, allocations: 99.73 kB / 350.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.004453, allocations: 163.7 kB / 350.6 MB, free: 6.547 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.434e-05/0.004518, allocations: 7.984 kB / 350.6 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.004632, allocations: 119.7 kB / 350.7 MB, free: 6.422 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001965/0.004829, allocations: 239.6 kB / 350.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.004846, allocations: 0 / 350.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.648e-05/0.004903, allocations: 31.91 kB / 350.9 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.836e-05/0.004981, allocations: 75.72 kB / 351 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.584e-05/0.005017, allocations: 39.75 kB / 351.1 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.005221, allocations: 187.2 kB / 351.2 MB, free: 5.859 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.005224, allocations: 0 / 351.2 MB, free: 5.859 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005224, allocations: 0 / 351.2 MB, free: 5.859 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.005229, allocations: 0 / 351.2 MB, free: 5.859 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.0005102/0.00574, allocations: 0.6854 MB / 351.9 MB, free: 5.137 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.005769, allocations: 8.031 kB / 351.9 MB, free: 5.129 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.308e-05/0.005822, allocations: 44.66 kB / 352 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.005997, allocations: 240.9 kB / 352.2 MB, free: 4.824 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.006006, allocations: 4.375 kB / 352.2 MB, free: 4.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-06/0.006013, allocations: 384 / 352.2 MB, free: 4.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.965e-05/0.006112, allocations: 58.95 kB / 352.3 MB, free: 4.754 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.006119, allocations: 4.188 kB / 352.3 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.996e-06/0.006127, allocations: 8.062 kB / 352.3 MB, free: 4.742 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.006132, allocations: 0 / 352.3 MB, free: 4.742 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.085e-05/0.006163, allocations: 11.98 kB / 352.3 MB, free: 4.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.006521, allocations: 407.8 kB / 352.7 MB, free: 4.297 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.565e-05/0.006587, allocations: 27.06 kB / 352.7 MB, free: 4.258 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.452e-05/0.006611, allocations: 15.69 kB / 352.7 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.006627, allocations: 11.88 kB / 352.7 MB, free: 4.227 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.583e-05/0.006643, allocations: 37.39 kB / 352.8 MB, free: 4.18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.006644, allocations: 0 / 352.8 MB, free: 4.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001523/0.006797, allocations: 85.5 kB / 352.9 MB, free: 4.09 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.854e-05/0.006815, allocations: 51.41 kB / 352.9 MB, free: 4.027 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004934/0.007308, allocations: 0.6238 MB / 353.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.592e-06/0.007315, allocations: 25.7 kB / 353.6 MB, free: 3.355 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.007471, allocations: 286.8 kB / 353.8 MB, free: 3.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.007487, allocations: 7.938 kB / 353.9 MB, free: 3.062 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.007516, allocations: 27.38 kB / 353.9 MB, free: 3.027 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.007641, allocations: 0.547 MB / 354.4 MB, free: 2.469 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.993e-05/0.007661, allocations: 3.984 kB / 354.4 MB, free: 2.465 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.245e-05/0.007673, allocations: 11.94 kB / 354.4 MB, free: 2.453 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.515e-05/0.007708, allocations: 23.95 kB / 354.5 MB, free: 2.426 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.00771, allocations: 0 / 354.5 MB, free: 2.426 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.335e-05/0.007804, allocations: 81.34 kB / 354.5 MB, free: 2.34 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.007817, allocations: 8 kB / 354.6 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.007821, allocations: 0 / 354.6 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.00783, allocations: 0 / 354.6 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.134e-05/0.007891, allocations: 8 kB / 354.6 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.007896, allocations: 4 kB / 354.6 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.727e-05/0.007933, allocations: 3.984 kB / 354.6 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.007939, allocations: 15.88 kB / 354.6 MB, free: 2.301 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 (3): * Single equations (assignments): 3 * 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.989e-05/0.007999, allocations: 156.6 kB / 354.7 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/0.008048, allocations: 43.66 kB / 354.8 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.008161, allocations: 89.05 kB / 354.9 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.008163, allocations: 0 / 354.9 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.008165, allocations: 0 / 354.9 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.008168, allocations: 0 / 354.9 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.008419, allocations: 272.5 kB / 355.1 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.00842, allocations: 0 / 355.1 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.815e-05/0.008458, allocations: 8 kB / 355.1 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.008461, allocations: 7.938 kB / 355.1 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.008466, allocations: 0 / 355.1 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.008468, allocations: 0 / 355.1 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.008468, allocations: 0 / 355.1 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.008577, allocations: 235.6 kB / 355.4 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.881e-05/0.008606, allocations: 31.72 kB / 355.4 MB, free: 1.398 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.008627, allocations: 7.922 kB / 355.4 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.168e-05/0.008699, allocations: 4 kB / 355.4 MB, free: 1.387 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.882e-05/0.008728, allocations: 4 kB / 355.4 MB, free: 1.383 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.008731, allocations: 0 / 355.4 MB, free: 1.383 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003197/0.00905, allocations: 426.8 kB / 355.8 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.009051, allocations: 4 kB / 355.8 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002686/0.009319, allocations: 16 kB / 355.9 MB, free: 0.9492 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 (3): * Single equations (assignments): 3 * 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.0009353/0.01025, allocations: 326.9 kB / 356.2 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.57e-05/0.01034, allocations: 23.62 kB / 356.2 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01034, allocations: 0 / 356.2 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.997e-05/0.01036, allocations: 15.67 kB / 356.2 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.01068, allocations: 29.91 kB / 356.2 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000598/0.01127, allocations: 0.5626 MB / 356.8 MB, free: 48 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.01138, allocations: 111.3 kB / 356.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.175e-05/0.01141, allocations: 11.97 kB / 356.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.908e-05/0.01144, allocations: 16.44 kB / 356.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01144, allocations: 0 / 356.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of Templates: time 0.003947/0.01539, allocations: 1.333 MB / 358.3 MB, free: 14.56 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test9/Test9.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.989604572299868]