Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.001806/0.001806, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001471/0.001471, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.581/1.581, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.2263/0.2263, allocations: 44.91 MB / 359.6 MB, free: 6.277 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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test29",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test29",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.002947/0.002947, allocations: 67.91 kB / 0.4939 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3571, allocations: 65.47 MB / 0.5578 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.003247/0.3604, allocations: 1.682 MB / 0.5595 GB, free: 6.078 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.3615, allocations: 0.5659 MB / 0.56 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.083e-05/0.3615, allocations: 4 kB / 0.56 GB, free: 5.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002467/0.3618, allocations: 75.77 kB / 0.5601 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003077/0.3621, allocations: 103.6 kB / 0.5602 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003356/0.3624, allocations: 131.6 kB / 0.5603 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.3626, allocations: 87.75 kB / 0.5604 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.3627, allocations: 20.03 kB / 0.5604 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.422e-05/0.3627, allocations: 51.77 kB / 0.5605 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.3629, allocations: 55.81 kB / 0.5605 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.3629, allocations: 4 kB / 0.5605 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.363, allocations: 51.97 kB / 0.5606 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.805e-05/0.363, allocations: 31.86 kB / 0.5606 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.474e-05/0.3631, allocations: 35.67 kB / 0.5606 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.3633, allocations: 125.5 kB / 0.5608 GB, free: 4.746 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3633, allocations: 0 / 0.5608 GB, free: 4.746 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3633, allocations: 0 / 0.5608 GB, free: 4.746 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.3633, allocations: 0 / 0.5608 GB, free: 4.746 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005286/0.3638, allocations: 368.2 kB / 0.5611 GB, free: 4.359 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.3639, allocations: 12.03 kB / 0.5611 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.165e-05/0.3639, allocations: 192 / 0.5611 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.374e-05/0.3639, allocations: 34.75 kB / 0.5612 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.364, allocations: 16.84 kB / 0.5612 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.3641, allocations: 138.4 kB / 0.5613 GB, free: 4.129 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.3642, allocations: 4.375 kB / 0.5613 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.3642, allocations: 8.125 kB / 0.5613 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.3644, allocations: 69.61 kB / 0.5614 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3644, allocations: 0 / 0.5614 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.3644, allocations: 0 / 0.5614 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.3644, allocations: 3.938 kB / 0.5614 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.3645, allocations: 43.95 kB / 0.5614 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.3649, allocations: 287.8 kB / 0.5617 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.3652, allocations: 54.55 kB / 0.5618 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.347e-05/0.3653, allocations: 24.97 kB / 0.5618 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.3653, allocations: 7.984 kB / 0.5618 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.3653, allocations: 30.56 kB / 0.5618 GB, free: 3.535 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.3653, allocations: 0 / 0.5618 GB, free: 3.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001499/0.3668, allocations: 413.3 kB / 0.5622 GB, free: 3.125 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.3668, allocations: 55.41 kB / 0.5623 GB, free: 3.059 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.3671, allocations: 222.7 kB / 0.5625 GB, free: 2.828 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.3671, allocations: 29.7 kB / 0.5625 GB, free: 2.793 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.745e-05/0.3672, allocations: 112.1 kB / 0.5626 GB, free: 2.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.3672, allocations: 39.69 kB / 0.5626 GB, free: 2.641 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.3673, allocations: 21.72 kB / 0.5627 GB, free: 2.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3674, allocations: 326.8 kB / 0.563 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.3675, allocations: 39.97 kB / 0.563 GB, free: 2.246 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.3677, allocations: 51.89 kB / 0.5631 GB, free: 2.195 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.3679, allocations: 101.3 kB / 0.5632 GB, free: 2.094 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3679, allocations: 4 kB / 0.5632 GB, free: 2.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003355/0.3683, allocations: 153.3 kB / 0.5633 GB, free: 1.934 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3683, allocations: 4 kB / 0.5633 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3683, allocations: 4 kB / 0.5633 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.3683, allocations: 3.938 kB / 0.5633 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.3684, allocations: 27.98 kB / 0.5634 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3684, allocations: 3.938 kB / 0.5634 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.002e-05/0.3685, allocations: 11.98 kB / 0.5634 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.3685, allocations: 0 / 0.5634 GB, free: 1.879 MB / 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 (11): * Single equations (assignments): 11 * 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.0001131/0.3686, allocations: 133.8 kB / 0.5635 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.3687, allocations: 15.91 kB / 0.5635 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004059/0.3691, allocations: 167 kB / 0.5637 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3691, allocations: 0 / 0.5637 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3691, allocations: 0 / 0.5637 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.3691, allocations: 4 kB / 0.5637 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000702/0.3698, allocations: 451.1 kB / 0.5641 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.3698, allocations: 0 / 0.5641 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.3699, allocations: 23.98 kB / 0.5641 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.3699, allocations: 7.984 kB / 0.5641 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.3699, allocations: 4 kB / 0.5641 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.907e-06/0.3699, allocations: 7.938 kB / 0.5641 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3699, allocations: 3.938 kB / 0.5641 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.3703, allocations: 253.1 kB / 0.5644 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.854e-05/0.3703, allocations: 15.91 kB / 0.5644 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.3704, allocations: 0 / 0.5644 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.3705, allocations: 11.98 kB / 0.5644 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.3705, allocations: 11.98 kB / 0.5644 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.3705, allocations: 11.94 kB / 0.5644 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001595/0.3707, allocations: 168.3 kB / 0.5646 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3707, allocations: 0 / 0.5646 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.371, allocations: 23.94 kB / 0.5646 GB, free: 0.4922 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002365/0.3733, allocations: 1.151 MB / 0.5657 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003861/0.3737, allocations: 103.9 kB / 0.5658 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3737, allocations: 7.938 kB / 0.5659 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.3739, allocations: 51.91 kB / 0.5659 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.3742, allocations: 28.7 kB / 0.5659 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.3767, allocations: 1.874 MB / 0.5678 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004889/0.3772, allocations: 0.7158 MB / 0.5685 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.681e-05/0.3773, allocations: 20.47 kB / 0.5685 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.592e-05/0.3774, allocations: 39.42 kB / 0.5685 GB, free: 12.55 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3774, allocations: 0 / 0.5685 GB, free: 12.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.4022, allocations: 3.71 MB / 0.5721 GB, free: 8.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.68, allocations: 4.062 kB / 0.5721 GB, free: 8.906 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test29_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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: 14.877475347020663]