Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002042/0.002042, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001484/0.001484, allocations: 206.2 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 230.2 MB / 257.8 MB, free: 8.504 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2347/0.2347, allocations: 46.89 MB / 361.1 MB, free: 4.719 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002396/0.002396, allocations: 75.88 kB / 0.4968 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3437, allocations: 65.99 MB / 0.5612 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003391/0.3471, allocations: 1.696 MB / 0.5629 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.3483, allocations: 0.5966 MB / 0.5635 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.902e-05/0.3483, allocations: 3.938 kB / 0.5635 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005937/0.3489, allocations: 463.1 kB / 0.5639 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000494/0.3494, allocations: 295.3 kB / 0.5642 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004552/0.3499, allocations: 167 kB / 0.5644 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002757/0.3502, allocations: 179.7 kB / 0.5645 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.957e-05/0.3503, allocations: 15.03 kB / 0.5645 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.3504, allocations: 115.7 kB / 0.5646 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/0.3507, allocations: 251.5 kB / 0.5649 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.3507, allocations: 7.938 kB / 0.5649 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.3508, allocations: 51.97 kB / 0.5649 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.3509, allocations: 83.69 kB / 0.565 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.101e-05/0.351, allocations: 107 kB / 0.5651 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003649/0.3514, allocations: 290.4 kB / 0.5654 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3514, allocations: 0 / 0.5654 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3514, allocations: 0 / 0.5654 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.3514, allocations: 0 / 0.5654 GB, free: 0.7266 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008065/0.3522, allocations: 0.6607 MB / 0.5661 GB, free: 12 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.3522, allocations: 8.031 kB / 0.5661 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.88e-05/0.3523, allocations: 48.66 kB / 0.5661 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.3527, allocations: 308.5 kB / 0.5664 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.3527, allocations: 4.375 kB / 0.5664 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.3527, allocations: 8.375 kB / 0.5664 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.3529, allocations: 62.17 kB / 0.5665 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.3529, allocations: 192 / 0.5665 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.3529, allocations: 3.938 kB / 0.5665 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3529, allocations: 0 / 0.5665 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.353, allocations: 35.97 kB / 0.5665 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005789/0.3536, allocations: 408.6 kB / 0.5669 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.3537, allocations: 42.55 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.304e-05/0.3538, allocations: 16.86 kB / 0.567 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.3538, allocations: 7.938 kB / 0.567 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.3538, allocations: 38.67 kB / 0.567 GB, free: 14.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3538, allocations: 0 / 0.567 GB, free: 14.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001001/0.3548, allocations: 332.8 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.3548, allocations: 51.41 kB / 0.5674 GB, free: 14.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008939/0.3557, allocations: 0.866 MB / 0.5682 GB, free: 13.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.3558, allocations: 25.7 kB / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/0.3559, allocations: 236 kB / 0.5685 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.356, allocations: 23.84 kB / 0.5685 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.356, allocations: 17.72 kB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3562, allocations: 370.7 kB / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.932e-05/0.3563, allocations: 23.98 kB / 0.5689 GB, free: 12.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.132e-05/0.3564, allocations: 31.97 kB / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.3565, allocations: 76.83 kB / 0.569 GB, free: 12.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3565, allocations: 0 / 0.569 GB, free: 12.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000271/0.3568, allocations: 157.2 kB / 0.5691 GB, free: 12.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.3568, allocations: 8 kB / 0.5691 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3568, allocations: 4.094 kB / 0.5691 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.3568, allocations: 7.922 kB / 0.5691 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.3569, allocations: 19.98 kB / 0.5692 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.3569, allocations: 0 / 0.5692 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.088e-05/0.357, allocations: 11.94 kB / 0.5692 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.357, allocations: 4 kB / 0.5692 GB, free: 12.62 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 (8): * Single equations (assignments): 8 * 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.0002036/0.3572, allocations: 217.8 kB / 0.5694 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.3573, allocations: 39.72 kB / 0.5694 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000369/0.3577, allocations: 181.7 kB / 0.5696 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3577, allocations: 0 / 0.5696 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3577, allocations: 4 kB / 0.5696 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3577, allocations: 3.938 kB / 0.5696 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006948/0.3584, allocations: 0.5187 MB / 0.5701 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3584, allocations: 0 / 0.5701 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.784e-05/0.3584, allocations: 19.98 kB / 0.5701 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.3584, allocations: 3.938 kB / 0.5701 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.3585, allocations: 4 kB / 0.5701 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3585, allocations: 7.969 kB / 0.5702 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3585, allocations: 3.938 kB / 0.5702 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.3588, allocations: 240.1 kB / 0.5704 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.251e-05/0.3589, allocations: 112.8 kB / 0.5705 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.3589, allocations: 15.92 kB / 0.5705 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.146e-05/0.359, allocations: 8 kB / 0.5705 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-05/0.359, allocations: 3.984 kB / 0.5705 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.359, allocations: 4 kB / 0.5705 GB, free: 11.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006479/0.3597, allocations: 0.655 MB / 0.5712 GB, free: 10.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3597, allocations: 0 / 0.5712 GB, free: 10.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.3599, allocations: 31.98 kB / 0.5712 GB, free: 10.45 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001711/0.3617, allocations: 466.2 kB / 0.5716 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002476/0.3619, allocations: 71.94 kB / 0.5717 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3619, allocations: 0 / 0.5717 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.362, allocations: 43.91 kB / 0.5717 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.3624, allocations: 26.38 kB / 0.5718 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.3637, allocations: 0.8463 MB / 0.5726 GB, free: 9.145 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004864/0.3642, allocations: 0.8299 MB / 0.5734 GB, free: 8.289 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.956e-05/0.3642, allocations: 24.72 kB / 0.5734 GB, free: 8.266 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.3643, allocations: 23.42 kB / 0.5735 GB, free: 8.242 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3643, allocations: 0 / 0.5735 GB, free: 8.242 MB / 414.1 MB Notification: Performance of Templates: time 0.005653/0.3699, allocations: 1.799 MB / 0.5752 GB, free: 6.441 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.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.225939142052084]