Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.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.001453/0.001453, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 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.001508/0.001508, allocations: 212.4 kB / 25.13 MB, free: 3.605 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.424/1.424, allocations: 230.4 MB / 258.7 MB, free: 8.047 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.2269/0.2269, allocations: 46.93 MB / 362 MB, free: 4.223 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8") [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.002457/0.002457, allocations: 87.84 kB / 0.4978 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.323, allocations: 66.08 MB / 0.5623 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002967/0.326, allocations: 1.618 MB / 0.5639 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.327, allocations: 0.5761 MB / 0.5645 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.349e-05/0.3271, allocations: 0 / 0.5645 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005874/0.3277, allocations: 459.1 kB / 0.5649 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000458/0.3281, allocations: 291.3 kB / 0.5652 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.3285, allocations: 178.5 kB / 0.5654 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.3288, allocations: 171.6 kB / 0.5655 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.323e-05/0.3289, allocations: 15.98 kB / 0.5655 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.329, allocations: 103.8 kB / 0.5656 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.3292, allocations: 243.5 kB / 0.5659 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.3293, allocations: 4 kB / 0.5659 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.005e-05/0.3293, allocations: 31.92 kB / 0.5659 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.3295, allocations: 91.61 kB / 0.566 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.726e-05/0.3295, allocations: 95.06 kB / 0.5661 GB, free: 412 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003055/0.3299, allocations: 265.1 kB / 0.5663 GB, free: 152 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3299, allocations: 0 / 0.5663 GB, free: 152 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3299, allocations: 0 / 0.5663 GB, free: 152 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.3299, allocations: 3.938 kB / 0.5663 GB, free: 148 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007062/0.3306, allocations: 0.5621 MB / 0.5669 GB, free: 15.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.3306, allocations: 8.031 kB / 0.5669 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.051e-05/0.3307, allocations: 48.59 kB / 0.5669 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.3309, allocations: 242.8 kB / 0.5672 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.3309, allocations: 8.375 kB / 0.5672 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.331, allocations: 4.375 kB / 0.5672 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.3311, allocations: 51.22 kB / 0.5672 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.3311, allocations: 192 / 0.5672 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.3311, allocations: 3.938 kB / 0.5672 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3311, allocations: 0 / 0.5672 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.065e-05/0.3312, allocations: 23.98 kB / 0.5673 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000479/0.3317, allocations: 363.8 kB / 0.5676 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.3318, allocations: 30.56 kB / 0.5676 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.806e-05/0.3318, allocations: 20.91 kB / 0.5677 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.3319, allocations: 0 / 0.5677 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.3319, allocations: 30.56 kB / 0.5677 GB, free: 14.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.3319, allocations: 0 / 0.5677 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002629/0.3322, allocations: 109.3 kB / 0.5678 GB, free: 14.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.3322, allocations: 51.41 kB / 0.5678 GB, free: 14.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008736/0.3331, allocations: 0.8699 MB / 0.5687 GB, free: 13.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.3331, allocations: 29.7 kB / 0.5687 GB, free: 13.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.3333, allocations: 224 kB / 0.5689 GB, free: 13.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.3333, allocations: 7.953 kB / 0.5689 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.3333, allocations: 21.64 kB / 0.569 GB, free: 13.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.3335, allocations: 362.9 kB / 0.5693 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.558e-05/0.3335, allocations: 11.98 kB / 0.5693 GB, free: 12.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.209e-05/0.3336, allocations: 4 kB / 0.5693 GB, free: 12.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.336e-05/0.3337, allocations: 40.77 kB / 0.5694 GB, free: 12.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3337, allocations: 0 / 0.5694 GB, free: 12.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001549/0.3338, allocations: 93.34 kB / 0.5695 GB, free: 12.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.3338, allocations: 8.094 kB / 0.5695 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3338, allocations: 4 kB / 0.5695 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3339, allocations: 0 / 0.5695 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.39e-05/0.3339, allocations: 7.984 kB / 0.5695 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.3339, allocations: 0 / 0.5695 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.558e-05/0.334, allocations: 3.953 kB / 0.5695 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.334, allocations: 4 kB / 0.5695 GB, free: 12.74 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 (2): * Single equations (assignments): 2 * 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.0001905/0.3342, allocations: 213.7 kB / 0.5697 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.667e-05/0.3342, allocations: 39.72 kB / 0.5697 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.3344, allocations: 116.8 kB / 0.5698 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.3344, allocations: 7.984 kB / 0.5698 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3344, allocations: 3.938 kB / 0.5698 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3345, allocations: 4 kB / 0.5698 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002898/0.3347, allocations: 256.6 kB / 0.5701 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3347, allocations: 4 kB / 0.5701 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.803e-05/0.3348, allocations: 7.984 kB / 0.5701 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3348, allocations: 0 / 0.5701 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.3348, allocations: 0 / 0.5701 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3348, allocations: 4.031 kB / 0.5701 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3348, allocations: 0 / 0.5701 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.335, allocations: 191.2 kB / 0.5703 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.543e-05/0.3351, allocations: 39.66 kB / 0.5703 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.3351, allocations: 4 kB / 0.5703 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.947e-05/0.3351, allocations: 0 / 0.5703 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.3352, allocations: 8.016 kB / 0.5703 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.3352, allocations: 0 / 0.5703 GB, free: 11.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006487/0.3358, allocations: 0.655 MB / 0.571 GB, free: 11.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3358, allocations: 0 / 0.571 GB, free: 11.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002398/0.3361, allocations: 16 kB / 0.571 GB, free: 11.11 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 (2): * Single equations (assignments): 2 * 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.00122/0.3373, allocations: 339.5 kB / 0.5713 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000137/0.3374, allocations: 23.98 kB / 0.5713 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3374, allocations: 0 / 0.5713 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.498e-05/0.3375, allocations: 15.98 kB / 0.5714 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.3378, allocations: 41.47 kB / 0.5714 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.3389, allocations: 0.7908 MB / 0.5722 GB, free: 9.988 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004732/0.3394, allocations: 0.826 MB / 0.573 GB, free: 9.133 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.48e-05/0.3394, allocations: 15.73 kB / 0.573 GB, free: 9.117 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.571e-05/0.3395, allocations: 7.438 kB / 0.573 GB, free: 9.109 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3395, allocations: 0 / 0.573 GB, free: 9.109 MB / 414.1 MB Notification: Performance of Templates: time 0.004592/0.3441, allocations: 1.292 MB / 0.5743 GB, free: 7.824 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.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: 4.963438354898244]