Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.002177/0.002177, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002375/0.002375, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.529/1.529, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2541/0.2541, allocations: 44.94 MB / 358.8 MB, free: 6.031 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 63.91 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3224, allocations: 65.47 MB / 0.557 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003571/0.3259, allocations: 1.993 MB / 0.5589 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002317/0.3283, allocations: 1.084 MB / 0.56 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.3284, allocations: 4 kB / 0.56 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007232/0.3292, allocations: 275 kB / 0.5602 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006779/0.3298, allocations: 271 kB / 0.5605 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001659/0.3315, allocations: 0.6533 MB / 0.5611 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005009/0.332, allocations: 354.9 kB / 0.5615 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.3322, allocations: 46.75 kB / 0.5615 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.3324, allocations: 155.4 kB / 0.5617 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003091/0.3327, allocations: 235.1 kB / 0.5619 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.545e-05/0.3327, allocations: 8 kB / 0.5619 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002327/0.333, allocations: 104 kB / 0.562 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.3331, allocations: 111.5 kB / 0.5621 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.3332, allocations: 99.16 kB / 0.5622 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005303/0.3338, allocations: 370.1 kB / 0.5626 GB, free: 1.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3338, allocations: 4 kB / 0.5626 GB, free: 1.816 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3338, allocations: 0 / 0.5626 GB, free: 1.816 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.3338, allocations: 0 / 0.5626 GB, free: 1.816 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009471/0.3347, allocations: 0.6398 MB / 0.5632 GB, free: 1.145 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.3348, allocations: 12.02 kB / 0.5632 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.862e-05/0.3348, allocations: 38.75 kB / 0.5632 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.739e-05/0.3349, allocations: 44.66 kB / 0.5633 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/0.3353, allocations: 288.6 kB / 0.5636 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.3354, allocations: 8.375 kB / 0.5636 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.3354, allocations: 12.38 kB / 0.5636 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.3357, allocations: 133.5 kB / 0.5637 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.3357, allocations: 3.953 kB / 0.5637 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.3357, allocations: 8 kB / 0.5637 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3357, allocations: 0 / 0.5637 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.336, allocations: 87.94 kB / 0.5638 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008335/0.3368, allocations: 487.4 kB / 0.5643 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.337, allocations: 102.5 kB / 0.5644 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.599e-05/0.3371, allocations: 40.83 kB / 0.5644 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.3371, allocations: 4 kB / 0.5644 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.3372, allocations: 38.72 kB / 0.5644 GB, free: 15.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.173e-06/0.3372, allocations: 0 / 0.5644 GB, free: 15.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001084/0.3382, allocations: 454.6 kB / 0.5649 GB, free: 15.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.3383, allocations: 55.41 kB / 0.5649 GB, free: 15.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007124/0.339, allocations: 0.6073 MB / 0.5655 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.339, allocations: 25.7 kB / 0.5655 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.3392, allocations: 220.4 kB / 0.5657 GB, free: 14.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.195e-05/0.3393, allocations: 71.38 kB / 0.5658 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-05/0.3393, allocations: 37.7 kB / 0.5659 GB, free: 14.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.3396, allocations: 358.8 kB / 0.5662 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.3397, allocations: 63.97 kB / 0.5663 GB, free: 13.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.3398, allocations: 63.95 kB / 0.5663 GB, free: 13.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.3401, allocations: 159.2 kB / 0.5665 GB, free: 13.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3401, allocations: 3.938 kB / 0.5665 GB, free: 13.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000447/0.3406, allocations: 245.2 kB / 0.5667 GB, free: 13.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.3406, allocations: 4 kB / 0.5667 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3406, allocations: 0 / 0.5667 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3406, allocations: 0 / 0.5667 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.3408, allocations: 31.98 kB / 0.5667 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3408, allocations: 0 / 0.5667 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.683e-05/0.3409, allocations: 15.98 kB / 0.5668 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.3409, allocations: 4 kB / 0.5668 GB, free: 13.31 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 (17): * Single equations (assignments): 17 * 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.0001941/0.3411, allocations: 185.7 kB / 0.5669 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.043e-05/0.3412, allocations: 51.67 kB / 0.567 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005588/0.3417, allocations: 280 kB / 0.5673 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3417, allocations: 0 / 0.5673 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3417, allocations: 0 / 0.5673 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3417, allocations: 0 / 0.5673 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009734/0.3427, allocations: 0.6417 MB / 0.5679 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3427, allocations: 4 kB / 0.5679 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.3428, allocations: 39.92 kB / 0.5679 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.3428, allocations: 0 / 0.5679 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.3429, allocations: 7.984 kB / 0.5679 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.3429, allocations: 7.938 kB / 0.5679 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3429, allocations: 0 / 0.5679 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004804/0.3433, allocations: 323.2 kB / 0.5682 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.556e-05/0.3434, allocations: 47.7 kB / 0.5683 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.3434, allocations: 3.984 kB / 0.5683 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.3436, allocations: 15.94 kB / 0.5683 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.3436, allocations: 15.92 kB / 0.5683 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.3436, allocations: 7.984 kB / 0.5683 GB, free: 11.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005252/0.3441, allocations: 450.8 kB / 0.5688 GB, free: 11.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3441, allocations: 0 / 0.5688 GB, free: 11.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003178/0.3445, allocations: 51.94 kB / 0.5688 GB, free: 11.12 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 (17): * Single equations (assignments): 17 * 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.003673/0.3481, allocations: 1.533 MB / 0.5703 GB, free: 9.934 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003983/0.3485, allocations: 163.8 kB / 0.5705 GB, free: 9.773 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3485, allocations: 0 / 0.5705 GB, free: 9.773 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.3487, allocations: 87.88 kB / 0.5705 GB, free: 9.688 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005895/0.3493, allocations: 93.09 kB / 0.5706 GB, free: 9.609 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00444/0.3537, allocations: 3.339 MB / 0.5739 GB, free: 6.188 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.354, allocations: 220.8 kB / 0.5741 GB, free: 5.953 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001717/0.3541, allocations: 62.23 kB / 0.5742 GB, free: 5.895 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.3543, allocations: 139.4 kB / 0.5743 GB, free: 5.758 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3543, allocations: 0 / 0.5743 GB, free: 5.758 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03835/0.3927, allocations: 8.572 MB / 0.5827 GB, free: 13.2 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.04, allocations: 14.59 kB / 0.5827 GB, free: 13.19 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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: 15.274035016074777]