Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.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.001247/0.001247, allocations: 81.95 kB / 21.44 MB, free: 3.051 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.001389/0.001389, allocations: 165.6 kB / 24.84 MB, free: 9.254 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.9709/0.9709, allocations: 158.6 MB / 186.7 MB, free: 2.785 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.1488/0.1488, allocations: 32.37 MB / 271.5 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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 348.9 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.289e-05, allocations: 4.281 kB / 348.9 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.004091/0.004114, allocations: 1.638 MB / 350.6 MB, free: 7.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005087/0.004623, allocations: 339.2 kB / 350.9 MB, free: 7.184 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.698e-05/0.00467, allocations: 0 / 350.9 MB, free: 7.184 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004057/0.005075, allocations: 459.1 kB / 351.3 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.005311, allocations: 259.4 kB / 351.6 MB, free: 6.48 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.005576, allocations: 151.6 kB / 351.7 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.005726, allocations: 163.7 kB / 351.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.556e-05/0.005792, allocations: 12.17 kB / 351.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.337e-05/0.005885, allocations: 119.8 kB / 352 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.006046, allocations: 235.5 kB / 352.3 MB, free: 5.812 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.006061, allocations: 4 kB / 352.3 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.274e-05/0.006124, allocations: 39.91 kB / 352.3 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.828e-05/0.006192, allocations: 83.72 kB / 352.4 MB, free: 5.688 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.211e-05/0.006224, allocations: 39.73 kB / 352.4 MB, free: 5.648 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.006391, allocations: 191.2 kB / 352.6 MB, free: 5.461 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.006393, allocations: 0 / 352.6 MB, free: 5.461 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.006394, allocations: 4 kB / 352.6 MB, free: 5.457 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.006398, allocations: 0 / 352.6 MB, free: 5.457 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000373/0.006771, allocations: 0.693 MB / 353.3 MB, free: 4.727 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.003041/0.009812, allocations: 12.03 kB / 353.3 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.009851, allocations: 44.61 kB / 353.4 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.009985, allocations: 244.9 kB / 353.6 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.009993, allocations: 4.375 kB / 353.6 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.01, allocations: 4.375 kB / 353.6 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.32e-05/0.01007, allocations: 54.95 kB / 353.7 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.01007, allocations: 192 / 353.7 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.112e-06/0.01008, allocations: 7.938 kB / 353.7 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.01008, allocations: 0 / 353.7 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.981e-05/0.0101, allocations: 11.92 kB / 353.7 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002229/0.01033, allocations: 336.3 kB / 354 MB, free: 3.961 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.369e-05/0.01042, allocations: 43.05 kB / 354.1 MB, free: 3.906 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.4e-05/0.01043, allocations: 19.56 kB / 354.1 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.769e-06/0.01044, allocations: 7.984 kB / 354.1 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.11e-05/0.01046, allocations: 37.39 kB / 354.1 MB, free: 3.828 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 6.71e-07/0.01046, allocations: 0 / 354.1 MB, free: 3.828 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002255/0.01068, allocations: 121.3 kB / 354.2 MB, free: 3.703 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.489e-05/0.0107, allocations: 55.39 kB / 354.3 MB, free: 3.637 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003228/0.01102, allocations: 0.5962 MB / 354.9 MB, free: 3.023 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.271e-06/0.01103, allocations: 29.7 kB / 354.9 MB, free: 2.988 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.01115, allocations: 294.7 kB / 355.2 MB, free: 2.695 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.01117, allocations: 15.8 kB / 355.2 MB, free: 2.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.0112, allocations: 23.38 kB / 355.2 MB, free: 2.648 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.164e-05/0.01128, allocations: 0.5625 MB / 355.8 MB, free: 2.074 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.168e-05/0.01129, allocations: 4 kB / 355.8 MB, free: 2.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.159e-05/0.0113, allocations: 4 kB / 355.8 MB, free: 2.066 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.602e-05/0.01133, allocations: 27.67 kB / 355.8 MB, free: 2.035 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.01133, allocations: 3.938 kB / 355.8 MB, free: 2.031 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.077e-05/0.0114, allocations: 93.3 kB / 355.9 MB, free: 1.934 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.085e-06/0.01141, allocations: 4 kB / 355.9 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.01141, allocations: 0 / 355.9 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.821e-06/0.01142, allocations: 0 / 355.9 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.38e-05/0.01145, allocations: 11.98 kB / 355.9 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-06/0.01145, allocations: 4 kB / 355.9 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.979e-05/0.01148, allocations: 4 kB / 356 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-06/0.01149, allocations: 0 / 356 MB, free: 1.91 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.926e-05/0.01154, allocations: 164.5 kB / 356.1 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.01157, allocations: 47.7 kB / 356.2 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.894e-05/0.01167, allocations: 97.47 kB / 356.3 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.01167, allocations: 0 / 356.3 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.01168, allocations: 0 / 356.3 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.01168, allocations: 4 kB / 356.3 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.01191, allocations: 377.9 kB / 356.6 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.01191, allocations: 0 / 356.6 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.73e-05/0.01194, allocations: 19.92 kB / 356.6 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.01194, allocations: 0 / 356.6 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-06/0.01195, allocations: 4 kB / 356.7 MB, free: 1.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.01195, allocations: 0 / 356.7 MB, free: 1.16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.01195, allocations: 4 kB / 356.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.004e-05/0.01203, allocations: 235.6 kB / 356.9 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.458e-05/0.01205, allocations: 39.7 kB / 356.9 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.01207, allocations: 0 / 356.9 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.601e-05/0.01212, allocations: 0 / 356.9 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.784e-05/0.01214, allocations: 7.984 kB / 356.9 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.01215, allocations: 8 kB / 356.9 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001796/0.01233, allocations: 386.7 kB / 357.3 MB, free: 488 kB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01233, allocations: 0 / 357.3 MB, free: 488 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002194/0.01254, allocations: 24 kB / 357.3 MB, free: 464 kB / 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.006794/0.01934, allocations: 387 kB / 357.7 MB, free: 168 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.181e-05/0.0194, allocations: 23.67 kB / 357.7 MB, free: 140 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.0194, allocations: 0 / 357.7 MB, free: 140 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.804e-05/0.01942, allocations: 15.69 kB / 357.8 MB, free: 120 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.01968, allocations: 31.14 kB / 357.8 MB, free: 92 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006009/0.02028, allocations: 0.5784 MB / 358.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.634e-05/0.02037, allocations: 119.3 kB / 358.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.321e-05/0.0204, allocations: 15.98 kB / 358.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.126e-05/0.02045, allocations: 74.2 kB / 358.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.02045, allocations: 0 / 358.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of Templates: time 0.006325/0.02678, allocations: 1.493 MB / 360.1 MB, free: 13.77 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.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.2791282879188657]