Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 107.6 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002197/0.002197, allocations: 210.8 kB / 24.48 MB, free: 3.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.528/1.528, allocations: 230.6 MB / 258.2 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2309/0.2309, allocations: 46.96 MB / 361.6 MB, free: 4.043 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 63.91 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.332, allocations: 66.03 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003347/0.3353, allocations: 1.617 MB / 0.5634 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.3364, allocations: 0.5262 MB / 0.5639 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.595e-05/0.3365, allocations: 0 / 0.5639 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006128/0.3371, allocations: 459.1 kB / 0.5644 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005015/0.3376, allocations: 291.3 kB / 0.5646 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004742/0.338, allocations: 182.9 kB / 0.5648 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.3383, allocations: 167.7 kB / 0.565 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.3384, allocations: 11.94 kB / 0.565 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.3386, allocations: 119.7 kB / 0.5651 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003176/0.3389, allocations: 243.5 kB / 0.5653 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.3389, allocations: 4 kB / 0.5653 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.036e-05/0.339, allocations: 24 kB / 0.5654 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.3391, allocations: 83.69 kB / 0.5654 GB, free: 480 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.362e-05/0.3392, allocations: 67.25 kB / 0.5655 GB, free: 412 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.3395, allocations: 265 kB / 0.5657 GB, free: 152 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3395, allocations: 0 / 0.5657 GB, free: 152 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3395, allocations: 0 / 0.5657 GB, free: 152 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.3395, allocations: 0 / 0.5657 GB, free: 152 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.0007961/0.3403, allocations: 0.5699 MB / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.3403, allocations: 8.031 kB / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.207e-05/0.3404, allocations: 44.66 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.3407, allocations: 250.8 kB / 0.5666 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.3407, allocations: 4.375 kB / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.3407, allocations: 4.375 kB / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.3409, allocations: 50.8 kB / 0.5666 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3409, allocations: 3.938 kB / 0.5667 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.3409, allocations: 0 / 0.5667 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3409, allocations: 4 kB / 0.5667 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.389e-05/0.341, allocations: 27.97 kB / 0.5667 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004882/0.3415, allocations: 328.4 kB / 0.567 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.676e-05/0.3416, allocations: 26.58 kB / 0.567 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.192e-05/0.3416, allocations: 24.84 kB / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.3417, allocations: 0 / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.3417, allocations: 38.56 kB / 0.5671 GB, free: 14.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.3417, allocations: 0 / 0.5671 GB, free: 14.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002886/0.342, allocations: 97.39 kB / 0.5672 GB, free: 14.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.342, allocations: 55.41 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009156/0.343, allocations: 0.8613 MB / 0.5681 GB, free: 13.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.343, allocations: 25.7 kB / 0.5681 GB, free: 13.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.3432, allocations: 212.2 kB / 0.5683 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.3432, allocations: 15.94 kB / 0.5683 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.3432, allocations: 13.72 kB / 0.5683 GB, free: 13.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.3434, allocations: 358.7 kB / 0.5687 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.467e-05/0.3435, allocations: 19.92 kB / 0.5687 GB, free: 12.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.785e-05/0.3435, allocations: 8 kB / 0.5687 GB, free: 12.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.258e-05/0.3436, allocations: 32.83 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3436, allocations: 0 / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001765/0.3438, allocations: 97.47 kB / 0.5688 GB, free: 12.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.3438, allocations: 8 kB / 0.5688 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3438, allocations: 3.938 kB / 0.5688 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3438, allocations: 3.938 kB / 0.5688 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.607e-05/0.3439, allocations: 7.984 kB / 0.5688 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.3439, allocations: 0 / 0.5688 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.788e-05/0.344, allocations: 4 kB / 0.5688 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.344, allocations: 3.938 kB / 0.5688 GB, free: 12.79 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.000214/0.3442, allocations: 213.7 kB / 0.5691 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.913e-05/0.3442, allocations: 39.72 kB / 0.5691 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002314/0.3445, allocations: 112.8 kB / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3445, allocations: 0 / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3445, allocations: 0 / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3445, allocations: 0 / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.3448, allocations: 237.1 kB / 0.5694 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3448, allocations: 4 kB / 0.5694 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.697e-05/0.3448, allocations: 4 kB / 0.5694 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3448, allocations: 0 / 0.5694 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.3448, allocations: 0 / 0.5694 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3448, allocations: 4.031 kB / 0.5694 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3448, allocations: 0 / 0.5694 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.345, allocations: 199.1 kB / 0.5696 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.959e-05/0.3451, allocations: 31.72 kB / 0.5697 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.3451, allocations: 4 kB / 0.5697 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.3452, allocations: 0 / 0.5697 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.3452, allocations: 3.984 kB / 0.5697 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.3452, allocations: 4 kB / 0.5697 GB, free: 11.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006623/0.3459, allocations: 0.6511 MB / 0.5703 GB, free: 11.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3459, allocations: 0 / 0.5703 GB, free: 11.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.3461, allocations: 23.97 kB / 0.5703 GB, free: 11.21 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.001375/0.3475, allocations: 375.9 kB / 0.5707 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.3476, allocations: 31.92 kB / 0.5707 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3476, allocations: 0 / 0.5707 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.564e-05/0.3477, allocations: 15.98 kB / 0.5707 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.3481, allocations: 27.52 kB / 0.5708 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.3493, allocations: 0.8199 MB / 0.5716 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.3496, allocations: 215.5 kB / 0.5718 GB, free: 9.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.749e-05/0.3496, allocations: 11.44 kB / 0.5718 GB, free: 9.828 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3496, allocations: 3.938 kB / 0.5718 GB, free: 9.824 MB / 414.1 MB Notification: Performance of Templates: time 0.007515/0.3571, allocations: 3.641 MB / 0.5753 GB, free: 6.176 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.781625906995032]