Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001495/0.001495, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.001935/0.001935, allocations: 168.4 kB / 24.84 MB, free: 8.707 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.9119/0.9119, allocations: 158.6 MB / 186.7 MB, free: 2.789 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.1255/0.1255, allocations: 32.38 MB / 271.5 MB, free: 14.4 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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 348.9 MB, free: 9.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.246e-05, allocations: 2.312 kB / 348.9 MB, free: 9.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.001741/0.001763, allocations: 1.597 MB / 350.5 MB, free: 7.547 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003746/0.002138, allocations: 331.3 kB / 350.8 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.351e-05/0.002181, allocations: 0 / 350.8 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003342/0.002515, allocations: 455 kB / 351.3 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.00272, allocations: 255.4 kB / 351.5 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.00294, allocations: 143.7 kB / 351.7 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.003084, allocations: 155.7 kB / 351.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.358e-05/0.003157, allocations: 15.92 kB / 351.8 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.394e-05/0.003231, allocations: 115.8 kB / 352 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.003365, allocations: 235.6 kB / 352.2 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.003379, allocations: 0 / 352.2 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.523e-05/0.003425, allocations: 23.98 kB / 352.2 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.402e-05/0.003489, allocations: 87.7 kB / 352.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.032e-05/0.003519, allocations: 31.75 kB / 352.3 MB, free: 5.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.003664, allocations: 191.1 kB / 352.5 MB, free: 5.543 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.003666, allocations: 4 kB / 352.5 MB, free: 5.539 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.003667, allocations: 0 / 352.5 MB, free: 5.539 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.003671, allocations: 0 / 352.5 MB, free: 5.539 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.0004742/0.004145, allocations: 0.6776 MB / 353.2 MB, free: 4.824 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.004176, allocations: 8.031 kB / 353.2 MB, free: 4.816 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.962e-05/0.004216, allocations: 48.66 kB / 353.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.004346, allocations: 244.9 kB / 353.5 MB, free: 4.504 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.086e-06/0.004354, allocations: 4.375 kB / 353.5 MB, free: 4.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.031e-06/0.00436, allocations: 4.375 kB / 353.5 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.661e-05/0.004437, allocations: 58.89 kB / 353.6 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.004443, allocations: 192 / 353.6 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.004449, allocations: 8.125 kB / 353.6 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.004454, allocations: 0 / 353.6 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.24e-05/0.004476, allocations: 7.984 kB / 353.6 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002174/0.004694, allocations: 328.3 kB / 353.9 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.419e-05/0.004728, allocations: 31 kB / 353.9 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.137e-05/0.004739, allocations: 7.688 kB / 353.9 MB, free: 4.012 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.004751, allocations: 8 kB / 353.9 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.191e-05/0.004763, allocations: 41.39 kB / 354 MB, free: 3.953 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.004764, allocations: 0 / 354 MB, free: 3.953 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001058/0.00487, allocations: 77.44 kB / 354 MB, free: 3.871 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.656e-05/0.004886, allocations: 51.41 kB / 354.1 MB, free: 3.809 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.005122, allocations: 0.604 MB / 354.7 MB, free: 3.188 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.787e-06/0.005126, allocations: 25.7 kB / 354.7 MB, free: 3.156 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.122e-05/0.005217, allocations: 290.7 kB / 355 MB, free: 2.867 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.005232, allocations: 11.89 kB / 355 MB, free: 2.855 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.002e-05/0.005252, allocations: 23.3 kB / 355 MB, free: 2.824 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.795e-05/0.00532, allocations: 0.5626 MB / 355.6 MB, free: 2.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.633e-06/0.005327, allocations: 0 / 355.6 MB, free: 2.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.941e-06/0.005333, allocations: 0 / 355.6 MB, free: 2.25 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.848e-05/0.005351, allocations: 15.69 kB / 355.6 MB, free: 2.23 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.005353, allocations: 0 / 355.6 MB, free: 2.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.047e-05/0.005403, allocations: 85.34 kB / 355.7 MB, free: 2.141 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.00543, allocations: 4 kB / 355.7 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.005433, allocations: 0 / 355.7 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.384e-06/0.005441, allocations: 0 / 355.7 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.922e-05/0.00548, allocations: 8.031 kB / 355.7 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.005482, allocations: 4 kB / 355.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.071e-05/0.005503, allocations: 4 kB / 355.7 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-06/0.005507, allocations: 0 / 355.7 MB, free: 2.121 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 (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 4.511e-05/0.005552, allocations: 152.6 kB / 355.9 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.005578, allocations: 51.64 kB / 355.9 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.822e-05/0.005647, allocations: 72.75 kB / 356 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.005648, allocations: 0 / 356 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.005649, allocations: 0 / 356 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.005651, allocations: 0 / 356 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.00576, allocations: 201.1 kB / 356.2 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.005761, allocations: 0 / 356.2 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.307e-05/0.005774, allocations: 4 kB / 356.2 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.005775, allocations: 0 / 356.2 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-06/0.005778, allocations: 0 / 356.2 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.005779, allocations: 3.938 kB / 356.2 MB, free: 1.602 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.005781, allocations: 7.938 kB / 356.2 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.728e-05/0.005838, allocations: 227.7 kB / 356.4 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.785e-05/0.005856, allocations: 31.72 kB / 356.5 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.005869, allocations: 4 kB / 356.5 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.223e-05/0.005901, allocations: 7.969 kB / 356.5 MB, free: 1.309 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.761e-05/0.005918, allocations: 0 / 356.5 MB, free: 1.309 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.005921, allocations: 3.984 kB / 356.5 MB, free: 1.305 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001252/0.006046, allocations: 386.7 kB / 356.9 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006046, allocations: 0 / 356.9 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001472/0.006193, allocations: 23.88 kB / 356.9 MB, free: 0.9062 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 (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.0005897/0.006783, allocations: 322.9 kB / 357.2 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.209e-05/0.006845, allocations: 19.62 kB / 357.2 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.006847, allocations: 0 / 357.2 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.388e-05/0.006861, allocations: 15.67 kB / 357.2 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.007077, allocations: 21.97 kB / 357.3 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004254/0.007502, allocations: 0.5581 MB / 357.8 MB, free: 20 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.205e-05/0.007594, allocations: 119.2 kB / 357.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.266e-05/0.007617, allocations: 7.984 kB / 357.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.66e-05/0.007663, allocations: 78.19 kB / 358 MB, free: 15.8 MB / 298.7 MB Notification: Performance of SimCode: time 8.71e-07/0.007664, allocations: 0 / 358 MB, free: 15.8 MB / 298.7 MB Notification: Performance of Templates: time 0.003414/0.01108, allocations: 1.277 MB / 359.3 MB, free: 14.53 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.1333849621005356]