Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.001306/0.001306, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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.001415/0.001415, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.573/1.573, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.2464/0.2464, allocations: 44.91 MB / 359.6 MB, free: 6.293 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.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="cs",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.002002/0.002002, allocations: 60.19 kB / 0.4939 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3611, allocations: 65.47 MB / 0.5578 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.00346/0.3646, allocations: 1.628 MB / 0.5594 GB, free: 6.164 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.3657, allocations: 0.5494 MB / 0.5599 GB, free: 5.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.534e-05/0.3658, allocations: 0 / 0.5599 GB, free: 5.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007062/0.3665, allocations: 455.2 kB / 0.5604 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005786/0.367, allocations: 295.2 kB / 0.5606 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004242/0.3675, allocations: 127 kB / 0.5608 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003508/0.3678, allocations: 163.6 kB / 0.5609 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.368, allocations: 12.17 kB / 0.5609 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.3681, allocations: 107.8 kB / 0.561 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003478/0.3685, allocations: 243.5 kB / 0.5613 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.3685, allocations: 4 kB / 0.5613 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.714e-05/0.3686, allocations: 23.92 kB / 0.5613 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.3687, allocations: 84.67 kB / 0.5614 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.465e-05/0.3688, allocations: 99 kB / 0.5615 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003602/0.3692, allocations: 264.6 kB / 0.5617 GB, free: 3.773 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3692, allocations: 4 kB / 0.5617 GB, free: 3.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3692, allocations: 0 / 0.5617 GB, free: 3.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3692, allocations: 3.938 kB / 0.5617 GB, free: 3.766 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008476/0.37, allocations: 0.5699 MB / 0.5623 GB, free: 3.164 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.3701, allocations: 12.03 kB / 0.5623 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.578e-05/0.3701, allocations: 192 / 0.5623 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.244e-05/0.3701, allocations: 38.73 kB / 0.5623 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.644e-05/0.3702, allocations: 48.61 kB / 0.5624 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.3705, allocations: 258.7 kB / 0.5626 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.3705, allocations: 384 / 0.5626 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.3705, allocations: 3.938 kB / 0.5626 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.3706, allocations: 45.69 kB / 0.5627 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.3706, allocations: 0 / 0.5627 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.3706, allocations: 3.984 kB / 0.5627 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3707, allocations: 0 / 0.5627 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.434e-05/0.3707, allocations: 23.98 kB / 0.5627 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005229/0.3713, allocations: 351.8 kB / 0.563 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.3714, allocations: 30.58 kB / 0.5631 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.91e-05/0.3714, allocations: 16.91 kB / 0.5631 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.3714, allocations: 4 kB / 0.5631 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.3715, allocations: 30.56 kB / 0.5631 GB, free: 2.211 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.3715, allocations: 0 / 0.5631 GB, free: 2.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002877/0.3718, allocations: 105.3 kB / 0.5632 GB, free: 2.102 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/0.3718, allocations: 51.41 kB / 0.5633 GB, free: 2.039 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000975/0.3728, allocations: 0.8738 MB / 0.5641 GB, free: 1.152 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.3728, allocations: 25.7 kB / 0.5641 GB, free: 1.121 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/0.373, allocations: 228 kB / 0.5644 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.373, allocations: 7.953 kB / 0.5644 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.3731, allocations: 13.66 kB / 0.5644 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.3733, allocations: 370.9 kB / 0.5647 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.1e-05/0.3733, allocations: 7.984 kB / 0.5647 GB, free: 500 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.591e-05/0.3733, allocations: 8 kB / 0.5647 GB, free: 492 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.35e-05/0.3734, allocations: 24.84 kB / 0.5648 GB, free: 464 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.3734, allocations: 3.938 kB / 0.5648 GB, free: 460 kB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001715/0.3736, allocations: 93.33 kB / 0.5649 GB, free: 360 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.3736, allocations: 12.09 kB / 0.5649 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3736, allocations: 0 / 0.5649 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.3736, allocations: 0 / 0.5649 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.016e-05/0.3737, allocations: 4 kB / 0.5649 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.3737, allocations: 0 / 0.5649 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.513e-05/0.3737, allocations: 15.88 kB / 0.5649 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.3737, allocations: 3.984 kB / 0.5649 GB, free: 324 kB / 398.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.0001878/0.3739, allocations: 205.8 kB / 0.5651 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.065e-05/0.374, allocations: 39.72 kB / 0.5651 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.3742, allocations: 112.8 kB / 0.5652 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3742, allocations: 3.984 kB / 0.5652 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/0.3742, allocations: 0 / 0.5652 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.3742, allocations: 3.938 kB / 0.5652 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.3745, allocations: 252.6 kB / 0.5655 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3745, allocations: 0 / 0.5655 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.808e-05/0.3746, allocations: 8 kB / 0.5655 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3746, allocations: 0 / 0.5655 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.3746, allocations: 4 kB / 0.5655 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3746, allocations: 4.031 kB / 0.5655 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3746, allocations: 0 / 0.5655 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.3748, allocations: 191.2 kB / 0.5657 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.057e-05/0.3748, allocations: 39.67 kB / 0.5657 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.3749, allocations: 3.984 kB / 0.5657 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.421e-05/0.3749, allocations: 0 / 0.5657 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.375, allocations: 15.97 kB / 0.5657 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.375, allocations: 3.938 kB / 0.5657 GB, free: 15.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006913/0.3757, allocations: 0.6589 MB / 0.5664 GB, free: 14.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3757, allocations: 0 / 0.5664 GB, free: 14.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.3759, allocations: 16 kB / 0.5664 GB, free: 14.7 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.001765/0.3777, allocations: 0.9702 MB / 0.5674 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.3778, allocations: 19.92 kB / 0.5674 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3778, allocations: 4.062 kB / 0.5674 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.352e-05/0.3779, allocations: 15.98 kB / 0.5674 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.3783, allocations: 33.86 kB / 0.5674 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003711/0.382, allocations: 3.148 MB / 0.5705 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004985/0.3825, allocations: 0.8204 MB / 0.5713 GB, free: 9.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.81e-05/0.3825, allocations: 11.81 kB / 0.5713 GB, free: 9.668 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.3827, allocations: 115.4 kB / 0.5714 GB, free: 9.555 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3827, allocations: 4 kB / 0.5714 GB, free: 9.551 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.4083, allocations: 5.92 MB / 0.5772 GB, free: 3.703 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.2, allocations: 13.42 kB / 0.5772 GB, free: 3.695 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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: 15.471653206972405]