Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.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.007205/0.007205, allocations: 110.2 kB / 21.98 MB, free: 5.219 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.001921/0.001921, allocations: 212.8 kB / 25.29 MB, free: 3.215 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.429/1.429, allocations: 230.5 MB / 258.9 MB, free: 8.043 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.221/0.221, allocations: 46.94 MB / 362.3 MB, free: 4.312 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.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5") [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.002292/0.002292, allocations: 87.84 kB / 0.4982 GB, free: 7.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3295, allocations: 66.08 MB / 0.5628 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003278/0.3328, allocations: 1.664 MB / 0.5644 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.3339, allocations: 0.5654 MB / 0.5649 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.026e-05/0.3339, allocations: 0 / 0.5649 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005935/0.3345, allocations: 455.2 kB / 0.5654 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004917/0.335, allocations: 295.3 kB / 0.5656 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.3353, allocations: 131.6 kB / 0.5658 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002557/0.3356, allocations: 171.6 kB / 0.5659 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.3357, allocations: 12 kB / 0.5659 GB, free: 1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.3358, allocations: 111.7 kB / 0.5661 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002985/0.3361, allocations: 251.5 kB / 0.5663 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.3362, allocations: 4 kB / 0.5663 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.005e-05/0.3362, allocations: 31.98 kB / 0.5663 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.3364, allocations: 79.7 kB / 0.5664 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.837e-05/0.3365, allocations: 107 kB / 0.5665 GB, free: 436 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003491/0.3368, allocations: 269 kB / 0.5668 GB, free: 172 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3368, allocations: 0 / 0.5668 GB, free: 172 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3368, allocations: 0 / 0.5668 GB, free: 172 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.3368, allocations: 0 / 0.5668 GB, free: 172 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.0007488/0.3376, allocations: 0.5814 MB / 0.5673 GB, free: 15.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.3376, allocations: 8.031 kB / 0.5673 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.431e-05/0.3377, allocations: 48.66 kB / 0.5674 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.3379, allocations: 234.8 kB / 0.5676 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.338, allocations: 4.375 kB / 0.5676 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.338, allocations: 4.375 kB / 0.5676 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.3381, allocations: 50.25 kB / 0.5677 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.3381, allocations: 8.125 kB / 0.5677 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.3381, allocations: 3.938 kB / 0.5677 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3381, allocations: 0 / 0.5677 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.3383, allocations: 35.89 kB / 0.5677 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/0.3387, allocations: 359.7 kB / 0.5681 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.3389, allocations: 42.56 kB / 0.5681 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.495e-05/0.339, allocations: 20.8 kB / 0.5681 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.339, allocations: 96 / 0.5681 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.339, allocations: 34.55 kB / 0.5681 GB, free: 14.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.339, allocations: 0 / 0.5681 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006045/0.3397, allocations: 236.7 kB / 0.5684 GB, free: 14.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.3397, allocations: 51.41 kB / 0.5684 GB, free: 14.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008646/0.3406, allocations: 0.8653 MB / 0.5693 GB, free: 13.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.3406, allocations: 25.7 kB / 0.5693 GB, free: 13.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.3408, allocations: 224.1 kB / 0.5695 GB, free: 13.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.3408, allocations: 15.83 kB / 0.5695 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.36e-05/0.3408, allocations: 17.72 kB / 0.5695 GB, free: 13.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.341, allocations: 366.7 kB / 0.5699 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.662e-05/0.3411, allocations: 15.98 kB / 0.5699 GB, free: 12.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.236e-05/0.3411, allocations: 23.97 kB / 0.5699 GB, free: 12.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.3413, allocations: 44.84 kB / 0.57 GB, free: 12.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.3413, allocations: 0 / 0.57 GB, free: 12.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002136/0.3415, allocations: 129.3 kB / 0.5701 GB, free: 12.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.3415, allocations: 4 kB / 0.5701 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3415, allocations: 0 / 0.5701 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.3415, allocations: 0 / 0.5701 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.861e-05/0.3416, allocations: 15.98 kB / 0.5701 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3416, allocations: 0 / 0.5701 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.203e-05/0.3417, allocations: 4.281 kB / 0.5701 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.3417, allocations: 3.984 kB / 0.5701 GB, free: 12.54 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.000203/0.3419, allocations: 221.7 kB / 0.5703 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.746e-05/0.3419, allocations: 47.66 kB / 0.5704 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/0.3422, allocations: 137.1 kB / 0.5705 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3422, allocations: 0 / 0.5705 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3422, allocations: 0 / 0.5705 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.3422, allocations: 8.25 kB / 0.5705 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005784/0.3428, allocations: 437.5 kB / 0.5709 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3428, allocations: 4 kB / 0.5709 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.621e-05/0.3429, allocations: 11.94 kB / 0.5709 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3429, allocations: 0 / 0.5709 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.3429, allocations: 7.984 kB / 0.571 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3429, allocations: 0 / 0.571 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3429, allocations: 3.938 kB / 0.571 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.3431, allocations: 211.2 kB / 0.5712 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/0.3432, allocations: 35.67 kB / 0.5712 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.3432, allocations: 4 kB / 0.5712 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.278e-05/0.3433, allocations: 7.984 kB / 0.5712 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.3433, allocations: 7.938 kB / 0.5712 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.3433, allocations: 0 / 0.5712 GB, free: 11.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006554/0.344, allocations: 0.6589 MB / 0.5719 GB, free: 10.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.344, allocations: 0 / 0.5719 GB, free: 10.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.3442, allocations: 19.94 kB / 0.5719 GB, free: 10.65 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.001478/0.3457, allocations: 413.2 kB / 0.5723 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.3459, allocations: 47.91 kB / 0.5723 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3459, allocations: 0 / 0.5723 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.692e-05/0.346, allocations: 27.97 kB / 0.5723 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.3464, allocations: 18.31 kB / 0.5724 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.3478, allocations: 0.8507 MB / 0.5732 GB, free: 9.406 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005872/0.3484, allocations: 0.8143 MB / 0.574 GB, free: 8.562 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.064e-05/0.3484, allocations: 15.44 kB / 0.574 GB, free: 8.551 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3484, allocations: 0 / 0.574 GB, free: 8.551 MB / 414.1 MB Notification: Performance of Templates: time 0.007615/0.3561, allocations: 3.72 MB / 0.5776 GB, free: 4.824 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.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.639960315078497]