Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001413/0.001413, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.00159/0.00159, allocations: 206.3 kB / 23.73 MB, free: 4.523 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.526/1.526, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2426/0.2426, allocations: 46.95 MB / 360.9 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 67.91 kB / 0.4966 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3422, allocations: 66.04 MB / 0.5611 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.00354/0.3457, allocations: 1.665 MB / 0.5627 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.347, allocations: 0.5739 MB / 0.5633 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.755e-05/0.3471, allocations: 0 / 0.5633 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006877/0.3477, allocations: 455.1 kB / 0.5637 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005238/0.3483, allocations: 295.3 kB / 0.564 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004614/0.3487, allocations: 179.3 kB / 0.5642 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002795/0.349, allocations: 191.6 kB / 0.5644 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.3491, allocations: 12.23 kB / 0.5644 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.3493, allocations: 119.7 kB / 0.5645 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003085/0.3496, allocations: 255.5 kB / 0.5647 GB, free: 440 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.3496, allocations: 4 kB / 0.5647 GB, free: 436 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.3497, allocations: 47.98 kB / 0.5648 GB, free: 388 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.3499, allocations: 95.61 kB / 0.5649 GB, free: 292 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.445e-05/0.3499, allocations: 67.25 kB / 0.5649 GB, free: 224 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003988/0.3503, allocations: 296.9 kB / 0.5652 GB, free: 15.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3503, allocations: 3.938 kB / 0.5652 GB, free: 15.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3503, allocations: 0 / 0.5652 GB, free: 15.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.3503, allocations: 0 / 0.5652 GB, free: 15.93 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008554/0.3512, allocations: 0.5931 MB / 0.5658 GB, free: 15.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.3512, allocations: 12.03 kB / 0.5658 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.772e-05/0.3513, allocations: 40.66 kB / 0.5658 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.3516, allocations: 246.8 kB / 0.5661 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.3516, allocations: 4.375 kB / 0.5661 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.3517, allocations: 8.375 kB / 0.5661 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.3519, allocations: 77.66 kB / 0.5662 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.3519, allocations: 4 kB / 0.5662 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.3519, allocations: 0 / 0.5662 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3519, allocations: 0 / 0.5662 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.3521, allocations: 43.95 kB / 0.5662 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005619/0.3526, allocations: 360.2 kB / 0.5666 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.3529, allocations: 58.55 kB / 0.5666 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.253e-05/0.353, allocations: 28.91 kB / 0.5666 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.353, allocations: 4 kB / 0.5666 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.353, allocations: 34.55 kB / 0.5667 GB, free: 14.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.353, allocations: 0 / 0.5667 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001619/0.3546, allocations: 0.4964 MB / 0.5672 GB, free: 13.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.3547, allocations: 55.41 kB / 0.5672 GB, free: 13.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009063/0.3556, allocations: 0.8652 MB / 0.5681 GB, free: 12.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.3556, allocations: 25.7 kB / 0.5681 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.3558, allocations: 220.1 kB / 0.5683 GB, free: 12.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.3559, allocations: 35.7 kB / 0.5683 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.402e-05/0.3559, allocations: 25.7 kB / 0.5684 GB, free: 12.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.3561, allocations: 362.8 kB / 0.5687 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.3563, allocations: 47.97 kB / 0.5687 GB, free: 12.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.3564, allocations: 64.52 kB / 0.5688 GB, free: 12.08 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.3567, allocations: 129 kB / 0.5689 GB, free: 11.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3567, allocations: 0 / 0.5689 GB, free: 11.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003914/0.3571, allocations: 201.2 kB / 0.5691 GB, free: 11.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3571, allocations: 4 kB / 0.5691 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3571, allocations: 4 kB / 0.5691 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.3571, allocations: 8 kB / 0.5691 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.3572, allocations: 23.98 kB / 0.5692 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3572, allocations: 3.938 kB / 0.5692 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.854e-05/0.3573, allocations: 11.98 kB / 0.5692 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.3573, allocations: 4 kB / 0.5692 GB, free: 11.69 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 (11): * Single equations (assignments): 11 * 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.0002308/0.3576, allocations: 221.7 kB / 0.5694 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.315e-05/0.3576, allocations: 51.66 kB / 0.5694 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004979/0.3581, allocations: 233.4 kB / 0.5697 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3582, allocations: 0 / 0.5697 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.3582, allocations: 3.938 kB / 0.5697 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3582, allocations: 3.938 kB / 0.5697 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008821/0.359, allocations: 0.5347 MB / 0.5702 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.359, allocations: 0 / 0.5702 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.3592, allocations: 23.98 kB / 0.5702 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.3592, allocations: 7.938 kB / 0.5702 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.3592, allocations: 7.984 kB / 0.5702 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.3592, allocations: 4 kB / 0.5702 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.3592, allocations: 3.938 kB / 0.5702 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004654/0.3597, allocations: 308.9 kB / 0.5705 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.063e-05/0.3597, allocations: 39.64 kB / 0.5706 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.3597, allocations: 4 kB / 0.5706 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.3599, allocations: 11.98 kB / 0.5706 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.3599, allocations: 7.984 kB / 0.5706 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.3599, allocations: 4 kB / 0.5706 GB, free: 10.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007/0.3606, allocations: 0.655 MB / 0.5712 GB, free: 9.496 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3606, allocations: 0 / 0.5712 GB, free: 9.496 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002923/0.3609, allocations: 35.92 kB / 0.5713 GB, free: 9.461 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001922/0.3628, allocations: 495.4 kB / 0.5717 GB, free: 9.188 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004063/0.3632, allocations: 127.8 kB / 0.5719 GB, free: 9.062 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3632, allocations: 0 / 0.5719 GB, free: 9.062 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.3634, allocations: 67.83 kB / 0.5719 GB, free: 8.996 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.3638, allocations: 37.44 kB / 0.572 GB, free: 8.961 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.3653, allocations: 0.8903 MB / 0.5728 GB, free: 8.039 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/0.3658, allocations: 232.8 kB / 0.5731 GB, free: 7.789 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.435e-05/0.3659, allocations: 32.45 kB / 0.5731 GB, free: 7.758 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.072e-05/0.3659, allocations: 19.42 kB / 0.5731 GB, free: 7.742 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3659, allocations: 3.938 kB / 0.5731 GB, free: 7.738 MB / 414.1 MB Notification: Performance of Templates: time 0.006758/0.3727, allocations: 2.164 MB / 0.5752 GB, free: 5.59 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.240267646964639]