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.001505/0.001505, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001648/0.001648, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.591/1.591, allocations: 230.3 MB / 258 MB, free: 8.227 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.2454/0.2454, allocations: 46.95 MB / 361.4 MB, free: 4.387 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-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.002401/0.002401, allocations: 75.88 kB / 0.4972 GB, free: 7.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.4253, allocations: 66.05 MB / 0.5617 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003274/0.4286, allocations: 1.692 MB / 0.5633 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.4299, allocations: 0.6044 MB / 0.5639 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.832e-05/0.4299, allocations: 4 kB / 0.5639 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006577/0.4306, allocations: 451.1 kB / 0.5644 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005206/0.4311, allocations: 291.3 kB / 0.5646 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005052/0.4316, allocations: 178.4 kB / 0.5648 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002983/0.4319, allocations: 179.6 kB / 0.565 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.4321, allocations: 19.03 kB / 0.565 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.4322, allocations: 123.7 kB / 0.5651 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.4325, allocations: 247.5 kB / 0.5653 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.4325, allocations: 4 kB / 0.5654 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.4326, allocations: 51.97 kB / 0.5654 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.4328, allocations: 87.62 kB / 0.5655 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.4329, allocations: 103 kB / 0.5656 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000401/0.4333, allocations: 278.3 kB / 0.5658 GB, free: 240 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4333, allocations: 4 kB / 0.5659 GB, free: 236 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4333, allocations: 11.88 kB / 0.5659 GB, free: 224 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.4333, allocations: 0 / 0.5659 GB, free: 224 kB / 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.0008277/0.4341, allocations: 0.5855 MB / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.4342, allocations: 12.03 kB / 0.5664 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.128e-05/0.4343, allocations: 44.61 kB / 0.5665 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/0.4346, allocations: 242.8 kB / 0.5667 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.4346, allocations: 12.31 kB / 0.5667 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.4346, allocations: 4.375 kB / 0.5667 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.4348, allocations: 62.23 kB / 0.5668 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.4348, allocations: 192 / 0.5668 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.4348, allocations: 3.938 kB / 0.5668 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.4348, allocations: 0 / 0.5668 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.4349, allocations: 35.97 kB / 0.5668 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006079/0.4355, allocations: 387.6 kB / 0.5672 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.4357, allocations: 46.56 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.621e-05/0.4357, allocations: 21.03 kB / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.4357, allocations: 3.938 kB / 0.5673 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.4358, allocations: 34.56 kB / 0.5673 GB, free: 14.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.4358, allocations: 0 / 0.5673 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001059/0.4368, allocations: 324.6 kB / 0.5676 GB, free: 14.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.4369, allocations: 51.41 kB / 0.5677 GB, free: 14.22 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009121/0.4378, allocations: 0.866 MB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.4378, allocations: 25.7 kB / 0.5685 GB, free: 13.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.438, allocations: 232 kB / 0.5688 GB, free: 13.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.438, allocations: 23.84 kB / 0.5688 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.4381, allocations: 25.66 kB / 0.5688 GB, free: 13.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.4383, allocations: 370.7 kB / 0.5692 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.585e-05/0.4384, allocations: 31.97 kB / 0.5692 GB, free: 12.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.573e-05/0.4385, allocations: 31.97 kB / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.4386, allocations: 80.75 kB / 0.5693 GB, free: 12.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.4386, allocations: 0 / 0.5693 GB, free: 12.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000267/0.4389, allocations: 145.8 kB / 0.5694 GB, free: 12.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.4389, allocations: 8 kB / 0.5694 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4389, allocations: 0 / 0.5694 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.4389, allocations: 0 / 0.5694 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.4391, allocations: 15.98 kB / 0.5695 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.4391, allocations: 3.938 kB / 0.5695 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.954e-05/0.4391, allocations: 11.94 kB / 0.5695 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.4391, allocations: 8 kB / 0.5695 GB, free: 12.32 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.0002283/0.4394, allocations: 225.6 kB / 0.5697 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.815e-05/0.4394, allocations: 47.7 kB / 0.5697 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003648/0.4398, allocations: 165.9 kB / 0.5699 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.4398, allocations: 4 kB / 0.5699 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4398, allocations: 0 / 0.5699 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.4398, allocations: 3.938 kB / 0.5699 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007445/0.4406, allocations: 0.4983 MB / 0.5704 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4406, allocations: 0 / 0.5704 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.347e-05/0.4406, allocations: 16 kB / 0.5704 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.4406, allocations: 11.86 kB / 0.5704 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.4407, allocations: 0 / 0.5704 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.4407, allocations: 4 kB / 0.5704 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4407, allocations: 0 / 0.5704 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/0.441, allocations: 252.1 kB / 0.5707 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.014e-05/0.4411, allocations: 35.67 kB / 0.5707 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.4411, allocations: 11.92 kB / 0.5707 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.3e-05/0.4412, allocations: 0 / 0.5707 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.4412, allocations: 7.984 kB / 0.5707 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.4412, allocations: 12 kB / 0.5707 GB, free: 10.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006765/0.4419, allocations: 0.6511 MB / 0.5714 GB, free: 10.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4419, allocations: 0 / 0.5714 GB, free: 10.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002832/0.4422, allocations: 35.86 kB / 0.5714 GB, free: 10.25 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.001782/0.444, allocations: 458.7 kB / 0.5718 GB, free: 9.961 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002617/0.4442, allocations: 67.95 kB / 0.5719 GB, free: 9.895 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4442, allocations: 0 / 0.5719 GB, free: 9.895 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.4444, allocations: 43.91 kB / 0.5719 GB, free: 9.852 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.4448, allocations: 22.31 kB / 0.572 GB, free: 9.832 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.4462, allocations: 0.8426 MB / 0.5728 GB, free: 8.957 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005822/0.4468, allocations: 0.8299 MB / 0.5736 GB, free: 8.098 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.644e-05/0.4469, allocations: 28.7 kB / 0.5736 GB, free: 8.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.041e-05/0.4469, allocations: 15.44 kB / 0.5736 GB, free: 8.055 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4469, allocations: 0 / 0.5736 GB, free: 8.055 MB / 414.1 MB Notification: Performance of Templates: time 0.006168/0.4531, allocations: 1.828 MB / 0.5754 GB, free: 6.234 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.4973773416131735]