Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.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.001335/0.001335, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001543/0.001543, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.503/1.503, allocations: 230.3 MB / 258 MB, free: 8.195 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.2521/0.2521, allocations: 46.94 MB / 361.4 MB, free: 4.398 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.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25") [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.002593/0.002593, allocations: 83.86 kB / 0.4972 GB, free: 7.488 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.4305, allocations: 66.05 MB / 0.5617 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.00346/0.434, allocations: 1.691 MB / 0.5633 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.4351, allocations: 0.5692 MB / 0.5639 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.99e-05/0.4351, allocations: 4 kB / 0.5639 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002639/0.4354, allocations: 51.8 kB / 0.5639 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.4357, allocations: 91.61 kB / 0.564 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.436, allocations: 131.6 kB / 0.5642 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.4363, allocations: 83.77 kB / 0.5642 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.4364, allocations: 27.02 kB / 0.5643 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.154e-05/0.4365, allocations: 35.8 kB / 0.5643 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.4366, allocations: 51.81 kB / 0.5643 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.4366, allocations: 7.938 kB / 0.5643 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.4367, allocations: 47.98 kB / 0.5644 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.471e-05/0.4368, allocations: 27.91 kB / 0.5644 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.303e-05/0.4368, allocations: 27.75 kB / 0.5644 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.437, allocations: 111.2 kB / 0.5646 GB, free: 1.582 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4371, allocations: 0 / 0.5646 GB, free: 1.582 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4371, allocations: 4 kB / 0.5646 GB, free: 1.578 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.4371, allocations: 0 / 0.5646 GB, free: 1.578 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.0005866/0.4376, allocations: 337.6 kB / 0.5649 GB, free: 1.215 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.4377, allocations: 12.03 kB / 0.5649 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.304e-05/0.4377, allocations: 8.891 kB / 0.5649 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.4379, allocations: 142.4 kB / 0.565 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.438, allocations: 8.375 kB / 0.565 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.438, allocations: 4.375 kB / 0.565 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.4382, allocations: 69.73 kB / 0.5651 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.4382, allocations: 0 / 0.5651 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.4382, allocations: 0 / 0.5651 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.4382, allocations: 4 kB / 0.5651 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.4384, allocations: 39.95 kB / 0.5652 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/0.4388, allocations: 275.8 kB / 0.5654 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002887/0.4391, allocations: 62.53 kB / 0.5655 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.896e-05/0.4392, allocations: 24.97 kB / 0.5655 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.4392, allocations: 0 / 0.5655 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.4392, allocations: 34.59 kB / 0.5655 GB, free: 464 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.4392, allocations: 0 / 0.5655 GB, free: 464 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001459/0.4407, allocations: 405.3 kB / 0.5659 GB, free: 52 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.28e-05/0.4408, allocations: 59.34 kB / 0.566 GB, free: 15.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.441, allocations: 174.5 kB / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.441, allocations: 25.7 kB / 0.5662 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.525e-05/0.4411, allocations: 96.14 kB / 0.5663 GB, free: 15.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.179e-05/0.4412, allocations: 39.62 kB / 0.5663 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/0.4412, allocations: 33.7 kB / 0.5663 GB, free: 15.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.4414, allocations: 322.8 kB / 0.5666 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.4415, allocations: 43.91 kB / 0.5667 GB, free: 15.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.4416, allocations: 43.97 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.4419, allocations: 100.8 kB / 0.5668 GB, free: 15.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4419, allocations: 3.938 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003131/0.4422, allocations: 149.5 kB / 0.567 GB, free: 14.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.4422, allocations: 6.188 kB / 0.567 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.4422, allocations: 0 / 0.567 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.4422, allocations: 4 kB / 0.567 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.4423, allocations: 27.92 kB / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.4423, allocations: 7.984 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.565e-05/0.4424, allocations: 4 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.4424, allocations: 4 kB / 0.567 GB, free: 14.87 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.0001304/0.4425, allocations: 129.8 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.4426, allocations: 7.953 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004063/0.443, allocations: 166.3 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.443, allocations: 7.938 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.443, allocations: 0 / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.443, allocations: 0 / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007059/0.4437, allocations: 439 kB / 0.5677 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.4437, allocations: 4.031 kB / 0.5677 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.4438, allocations: 31.97 kB / 0.5678 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4438, allocations: 3.938 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.4438, allocations: 4 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4438, allocations: 4 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4438, allocations: 192 / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004135/0.4442, allocations: 253 kB / 0.568 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.654e-05/0.4443, allocations: 7.953 kB / 0.568 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.4443, allocations: 8 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.304e-05/0.4444, allocations: 7.984 kB / 0.568 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.4444, allocations: 11.92 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.4444, allocations: 12 kB / 0.5681 GB, free: 13.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.4446, allocations: 139.9 kB / 0.5682 GB, free: 13.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4446, allocations: 0 / 0.5682 GB, free: 13.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.4448, allocations: 23.94 kB / 0.5682 GB, free: 13.54 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.001745/0.4466, allocations: 459.7 kB / 0.5687 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003319/0.4469, allocations: 103.9 kB / 0.5688 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4469, allocations: 0 / 0.5688 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.4471, allocations: 52.03 kB / 0.5688 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.4475, allocations: 27.92 kB / 0.5688 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006538/0.4481, allocations: 287.4 kB / 0.5691 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.4485, allocations: 0.708 MB / 0.5698 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.079e-05/0.4486, allocations: 16.48 kB / 0.5698 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.21e-05/0.4486, allocations: 19.38 kB / 0.5698 GB, free: 11.98 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4486, allocations: 0 / 0.5698 GB, free: 11.98 MB / 414.1 MB Notification: Performance of Templates: time 0.004918/0.4535, allocations: 1.606 MB / 0.5714 GB, free: 10.38 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.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.2196042547002435]