Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001473/0.001473, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.00227/0.00227, allocations: 215.8 kB / 23.73 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.567/1.567, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2369/0.2369, allocations: 44.93 MB / 358.8 MB, free: 6.062 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 79.86 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3257, allocations: 65.46 MB / 0.5575 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003097/0.3288, allocations: 1.64 MB / 0.5591 GB, free: 5.832 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.33, allocations: 0.5582 MB / 0.5596 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.425e-05/0.3301, allocations: 4 kB / 0.5596 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005967/0.3306, allocations: 459.1 kB / 0.5601 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004707/0.3311, allocations: 291.3 kB / 0.5603 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004462/0.3316, allocations: 183.1 kB / 0.5605 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003017/0.3319, allocations: 171.6 kB / 0.5607 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.332, allocations: 15.98 kB / 0.5607 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.3321, allocations: 111.7 kB / 0.5608 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003166/0.3325, allocations: 247.5 kB / 0.561 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.3325, allocations: 4 kB / 0.561 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.809e-05/0.3326, allocations: 39.92 kB / 0.5611 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.3327, allocations: 87.67 kB / 0.5612 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.563e-05/0.3328, allocations: 67.25 kB / 0.5612 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003949/0.3332, allocations: 273 kB / 0.5615 GB, free: 3.363 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3332, allocations: 0 / 0.5615 GB, free: 3.363 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3332, allocations: 3.938 kB / 0.5615 GB, free: 3.359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.3332, allocations: 0 / 0.5615 GB, free: 3.359 MB / 398.1 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.0007785/0.334, allocations: 0.5815 MB / 0.5621 GB, free: 2.746 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.3341, allocations: 16.02 kB / 0.5621 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.251e-05/0.3341, allocations: 48.61 kB / 0.5621 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.3344, allocations: 238.8 kB / 0.5623 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.601e-06/0.3345, allocations: 384 / 0.5623 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.3345, allocations: 4.375 kB / 0.5623 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.3346, allocations: 57.8 kB / 0.5624 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.3346, allocations: 0 / 0.5624 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.3346, allocations: 0 / 0.5624 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.3347, allocations: 4 kB / 0.5624 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.3348, allocations: 39.91 kB / 0.5624 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006205/0.3354, allocations: 328.4 kB / 0.5628 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.3357, allocations: 50.55 kB / 0.5628 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.96e-05/0.3358, allocations: 12.86 kB / 0.5628 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.3358, allocations: 0 / 0.5628 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.3358, allocations: 42.58 kB / 0.5629 GB, free: 1.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 3.627e-06/0.3358, allocations: 7.922 kB / 0.5629 GB, free: 1.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0009008/0.3367, allocations: 240.7 kB / 0.5631 GB, free: 1.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.3368, allocations: 59.39 kB / 0.5631 GB, free: 1.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.3381, allocations: 0.8535 MB / 0.564 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.3381, allocations: 25.7 kB / 0.564 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.3384, allocations: 220 kB / 0.5642 GB, free: 412 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.3384, allocations: 15.86 kB / 0.5642 GB, free: 396 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.226e-05/0.3384, allocations: 17.72 kB / 0.5642 GB, free: 372 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000281/0.3387, allocations: 366.9 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.3389, allocations: 19.98 kB / 0.5646 GB, free: 15.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.339, allocations: 23.98 kB / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.3392, allocations: 56.81 kB / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3393, allocations: 0 / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003559/0.3396, allocations: 125.3 kB / 0.5648 GB, free: 15.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.3396, allocations: 4 kB / 0.5648 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3396, allocations: 0 / 0.5648 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.3397, allocations: 0 / 0.5648 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.924e-05/0.3397, allocations: 19.98 kB / 0.5648 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3398, allocations: 0 / 0.5648 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.952e-05/0.3398, allocations: 8.234 kB / 0.5648 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.3399, allocations: 0 / 0.5648 GB, free: 15.73 MB / 414.1 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 0.0002963/0.3402, allocations: 213.7 kB / 0.565 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.94e-05/0.3403, allocations: 47.72 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000425/0.3407, allocations: 141.1 kB / 0.5652 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.3407, allocations: 3.938 kB / 0.5652 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3407, allocations: 8 kB / 0.5652 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3407, allocations: 3.984 kB / 0.5652 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000829/0.3415, allocations: 414.1 kB / 0.5656 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3415, allocations: 0 / 0.5656 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.975e-05/0.3416, allocations: 11.98 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3416, allocations: 4 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.3416, allocations: 0 / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.3416, allocations: 3.984 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3416, allocations: 3.938 kB / 0.5657 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/0.342, allocations: 227.2 kB / 0.5659 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.029e-05/0.3421, allocations: 31.72 kB / 0.5659 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/0.3421, allocations: 7.938 kB / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.3423, allocations: 0 / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.068e-05/0.3423, allocations: 15.92 kB / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.3423, allocations: 0 / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001005/0.3433, allocations: 0.6472 MB / 0.5666 GB, free: 13.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3433, allocations: 4 kB / 0.5666 GB, free: 13.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004817/0.3438, allocations: 27.92 kB / 0.5666 GB, free: 13.86 MB / 414.1 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.002181/0.346, allocations: 435.9 kB / 0.567 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002891/0.3463, allocations: 51.91 kB / 0.5671 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3463, allocations: 0 / 0.5671 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.3464, allocations: 27.98 kB / 0.5671 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005931/0.347, allocations: 28.77 kB / 0.5671 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.3486, allocations: 0.7988 MB / 0.5679 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.3489, allocations: 228.1 kB / 0.5681 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.538e-05/0.349, allocations: 19.7 kB / 0.5681 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.945e-05/0.3491, allocations: 15.44 kB / 0.5681 GB, free: 12.41 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3491, allocations: 4 kB / 0.5681 GB, free: 12.41 MB / 414.1 MB Notification: Performance of Templates: time 0.007402/0.3565, allocations: 1.69 MB / 0.5698 GB, free: 10.73 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.370269799605012]