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.0009987/0.0009987, allocations: 77 kB / 20.65 MB, free: 3.848 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.001079/0.001079, allocations: 177 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.9179/0.9179, allocations: 158.6 MB / 185.9 MB, free: 2.805 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.1464/0.1464, allocations: 32.38 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.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 2.425e-06/2.425e-06, allocations: 0 / 348.1 MB, free: 9.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.397e-05, allocations: 5.406 kB / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test9): time 0.001902/0.001926, allocations: 1.603 MB / 349.7 MB, free: 7.562 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004708/0.002397, allocations: 311.4 kB / 350 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.74e-05/0.002454, allocations: 0 / 350 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004218/0.002876, allocations: 451.1 kB / 350.5 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002432/0.003119, allocations: 255.4 kB / 350.7 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.003314, allocations: 107.7 kB / 350.8 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.003464, allocations: 159.6 kB / 351 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.627e-05/0.00355, allocations: 7.984 kB / 351 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.003658, allocations: 111.8 kB / 351.1 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.003809, allocations: 239.6 kB / 351.3 MB, free: 5.949 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.003827, allocations: 4 kB / 351.3 MB, free: 5.945 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.567e-05/0.003883, allocations: 31.91 kB / 351.4 MB, free: 5.914 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.002e-05/0.003953, allocations: 79.72 kB / 351.5 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.791e-05/0.003981, allocations: 35.73 kB / 351.5 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.004132, allocations: 187.2 kB / 351.7 MB, free: 5.617 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.004134, allocations: 0 / 351.7 MB, free: 5.617 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004135, allocations: 0 / 351.7 MB, free: 5.617 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.004138, allocations: 0 / 351.7 MB, free: 5.617 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.0004075/0.004546, allocations: 0.6854 MB / 352.4 MB, free: 4.895 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.004588, allocations: 8.031 kB / 352.4 MB, free: 4.887 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.004633, allocations: 48.66 kB / 352.4 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.004773, allocations: 244.8 kB / 352.7 MB, free: 4.574 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.004783, allocations: 4.375 kB / 352.7 MB, free: 4.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.532e-06/0.00479, allocations: 384 / 352.7 MB, free: 4.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.252e-05/0.004882, allocations: 50.95 kB / 352.7 MB, free: 4.512 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.004891, allocations: 4.188 kB / 352.7 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.0049, allocations: 12.11 kB / 352.7 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.004905, allocations: 0 / 352.7 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.76e-05/0.004923, allocations: 7.938 kB / 352.7 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002463/0.005169, allocations: 328.3 kB / 353.1 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.841e-05/0.005218, allocations: 31.06 kB / 353.1 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.362e-05/0.005231, allocations: 11.69 kB / 353.1 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.005253, allocations: 96 / 353.1 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.00527, allocations: 49.3 kB / 353.1 MB, free: 4.023 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.005272, allocations: 0 / 353.1 MB, free: 4.023 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001406/0.005412, allocations: 85.36 kB / 353.2 MB, free: 3.934 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.208e-05/0.005434, allocations: 55.39 kB / 353.3 MB, free: 3.867 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.005722, allocations: 0.5962 MB / 353.9 MB, free: 3.254 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.00573, allocations: 29.69 kB / 353.9 MB, free: 3.219 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.005836, allocations: 294.7 kB / 354.2 MB, free: 2.926 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.005852, allocations: 3.953 kB / 354.2 MB, free: 2.922 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.188e-05/0.005874, allocations: 27.36 kB / 354.2 MB, free: 2.887 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.138e-05/0.005955, allocations: 0.5547 MB / 354.8 MB, free: 2.32 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-06/0.005965, allocations: 7.938 kB / 354.8 MB, free: 2.312 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.047e-06/0.005974, allocations: 0 / 354.8 MB, free: 2.312 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.54e-05/0.005999, allocations: 23.62 kB / 354.8 MB, free: 2.285 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.006002, allocations: 0 / 354.8 MB, free: 2.285 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.911e-05/0.006061, allocations: 77.41 kB / 354.9 MB, free: 2.203 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.006074, allocations: 7.938 kB / 354.9 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.006079, allocations: 4 kB / 354.9 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.006093, allocations: 0 / 354.9 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.242e-05/0.006155, allocations: 8 kB / 354.9 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.006158, allocations: 0 / 354.9 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.236e-05/0.00618, allocations: 7.984 kB / 354.9 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.006185, allocations: 0 / 354.9 MB, free: 2.176 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.554e-05/0.006241, allocations: 152.6 kB / 355.1 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.006265, allocations: 51.66 kB / 355.1 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.691e-05/0.006352, allocations: 84.98 kB / 355.2 MB, free: 1.871 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.006354, allocations: 4 kB / 355.2 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.006355, allocations: 0 / 355.2 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.006358, allocations: 0 / 355.2 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.006493, allocations: 201.1 kB / 355.4 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.006494, allocations: 0 / 355.4 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.077e-05/0.006515, allocations: 4 kB / 355.4 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.006516, allocations: 4 kB / 355.4 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-06/0.006521, allocations: 0 / 355.4 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.006522, allocations: 3.938 kB / 355.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.006523, allocations: 0 / 355.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.424e-05/0.006597, allocations: 231.6 kB / 355.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.815e-05/0.006615, allocations: 31.72 kB / 355.7 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.006628, allocations: 4 kB / 355.7 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.499e-05/0.006663, allocations: 7.922 kB / 355.7 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.006691, allocations: 8.422 kB / 355.7 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.006693, allocations: 4 kB / 355.7 MB, free: 1.332 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001381/0.006831, allocations: 390.7 kB / 356.1 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006831, allocations: 0 / 356.1 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001477/0.006979, allocations: 12 kB / 356.1 MB, free: 0.9414 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.0006185/0.007598, allocations: 337 kB / 356.4 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.052e-05/0.007658, allocations: 15.69 kB / 356.4 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.007659, allocations: 4 kB / 356.4 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.362e-05/0.007673, allocations: 23.61 kB / 356.5 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.007885, allocations: 26.11 kB / 356.5 MB, free: 0.625 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004541/0.008339, allocations: 0.5509 MB / 357 MB, free: 40 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.526e-05/0.008435, allocations: 119.2 kB / 357.1 MB, free: 15.9 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.348e-05/0.008458, allocations: 11.97 kB / 357.2 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.212e-05/0.00851, allocations: 78.19 kB / 357.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.008511, allocations: 0 / 357.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of Templates: time 0.003494/0.01201, allocations: 1.351 MB / 358.6 MB, free: 14.47 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.9169688438996673]