Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.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.009501/0.009501, allocations: 109.1 kB / 21.98 MB, free: 5.176 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.002089/0.002089, allocations: 220.6 kB / 25.29 MB, free: 3.203 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.483/1.483, allocations: 230.5 MB / 258.9 MB, free: 8.02 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.2288/0.2288, allocations: 46.93 MB / 362.3 MB, free: 4.199 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.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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4") [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.00226/0.00226, allocations: 83.86 kB / 0.4982 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3347, allocations: 66.07 MB / 0.5627 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.00334/0.3381, allocations: 1.68 MB / 0.5644 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.3392, allocations: 0.5888 MB / 0.565 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.3392, allocations: 4 kB / 0.565 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006366/0.3399, allocations: 459.1 kB / 0.5654 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000494/0.3404, allocations: 295.3 kB / 0.5657 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004522/0.3408, allocations: 175.1 kB / 0.5658 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002513/0.3411, allocations: 171.6 kB / 0.566 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.3412, allocations: 23.97 kB / 0.566 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.3413, allocations: 115.7 kB / 0.5661 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002962/0.3416, allocations: 243.5 kB / 0.5664 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.3416, allocations: 4 kB / 0.5664 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.099e-05/0.3417, allocations: 35.98 kB / 0.5664 GB, free: 480 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.3418, allocations: 95.61 kB / 0.5665 GB, free: 384 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.758e-05/0.3419, allocations: 99 kB / 0.5666 GB, free: 284 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003364/0.3423, allocations: 265 kB / 0.5669 GB, free: 24 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3423, allocations: 3.938 kB / 0.5669 GB, free: 20 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3423, allocations: 0 / 0.5669 GB, free: 20 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.3423, allocations: 0 / 0.5669 GB, free: 20 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007951/0.3431, allocations: 0.5776 MB / 0.5674 GB, free: 15.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3431, allocations: 12.03 kB / 0.5674 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.816e-05/0.3432, allocations: 44.61 kB / 0.5675 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.3435, allocations: 250.8 kB / 0.5677 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.3435, allocations: 4.375 kB / 0.5677 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.3435, allocations: 4.375 kB / 0.5677 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.3437, allocations: 50.25 kB / 0.5678 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3437, allocations: 192 / 0.5678 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.3437, allocations: 7.938 kB / 0.5678 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3437, allocations: 0 / 0.5678 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.3438, allocations: 27.97 kB / 0.5678 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005489/0.3444, allocations: 371.7 kB / 0.5682 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.3446, allocations: 46.56 kB / 0.5682 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.699e-05/0.3446, allocations: 16.94 kB / 0.5682 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.3447, allocations: 4 kB / 0.5682 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.3447, allocations: 30.56 kB / 0.5683 GB, free: 14.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.113e-06/0.3447, allocations: 4 kB / 0.5683 GB, free: 14.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000651/0.3453, allocations: 244.7 kB / 0.5685 GB, free: 14.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.3454, allocations: 51.41 kB / 0.5685 GB, free: 14.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009358/0.3463, allocations: 0.8699 MB / 0.5694 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.3464, allocations: 25.7 kB / 0.5694 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.3466, allocations: 224 kB / 0.5696 GB, free: 13.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.3466, allocations: 27.78 kB / 0.5697 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.3467, allocations: 17.72 kB / 0.5697 GB, free: 12.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.3468, allocations: 370.7 kB / 0.57 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.448e-05/0.3469, allocations: 23.92 kB / 0.57 GB, free: 12.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.579e-05/0.347, allocations: 19.98 kB / 0.5701 GB, free: 12.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.3471, allocations: 52.83 kB / 0.5701 GB, free: 12.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3471, allocations: 4 kB / 0.5701 GB, free: 12.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002323/0.3474, allocations: 125.4 kB / 0.5702 GB, free: 12.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.3474, allocations: 4 kB / 0.5702 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.3474, allocations: 0 / 0.5702 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.3474, allocations: 0 / 0.5702 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.725e-05/0.3475, allocations: 16.23 kB / 0.5703 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3475, allocations: 3.938 kB / 0.5703 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.562e-05/0.3475, allocations: 8 kB / 0.5703 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.3475, allocations: 0 / 0.5703 GB, free: 12.33 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.0002099/0.3477, allocations: 221.7 kB / 0.5705 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.457e-05/0.3478, allocations: 43.72 kB / 0.5705 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003071/0.3481, allocations: 141.2 kB / 0.5707 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.3481, allocations: 4 kB / 0.5707 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.3481, allocations: 0 / 0.5707 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.3481, allocations: 0 / 0.5707 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005773/0.3487, allocations: 445.4 kB / 0.5711 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3487, allocations: 0 / 0.5711 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.579e-05/0.3488, allocations: 15.98 kB / 0.5711 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3488, allocations: 0 / 0.5711 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.3488, allocations: 0 / 0.5711 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3488, allocations: 0 / 0.5711 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.3488, allocations: 3.938 kB / 0.5711 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.349, allocations: 227.5 kB / 0.5713 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.727e-05/0.3491, allocations: 35.72 kB / 0.5714 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.3491, allocations: 0 / 0.5714 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.146e-05/0.3492, allocations: 7.984 kB / 0.5714 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.3492, allocations: 7.922 kB / 0.5714 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.3492, allocations: 0 / 0.5714 GB, free: 11.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006441/0.3499, allocations: 0.6589 MB / 0.572 GB, free: 10.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3499, allocations: 0 / 0.572 GB, free: 10.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.3501, allocations: 35.88 kB / 0.5721 GB, free: 10.42 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.001485/0.3516, allocations: 398 kB / 0.5724 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002206/0.3518, allocations: 59.89 kB / 0.5725 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3519, allocations: 3.938 kB / 0.5725 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.559e-05/0.3519, allocations: 23.98 kB / 0.5725 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.3523, allocations: 29.67 kB / 0.5725 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.3536, allocations: 0.8551 MB / 0.5734 GB, free: 9.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/0.354, allocations: 0.8221 MB / 0.5742 GB, free: 8.309 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.83e-05/0.3541, allocations: 15.44 kB / 0.5742 GB, free: 8.297 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3541, allocations: 0 / 0.5742 GB, free: 8.297 MB / 414.1 MB Notification: Performance of Templates: time 0.007077/0.3611, allocations: 3.794 MB / 0.5779 GB, free: 4.496 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 7.721584029030055]