Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.00174/0.00174, allocations: 105.1 kB / 21.22 MB, free: 0.5078 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.002312/0.002312, allocations: 214.9 kB / 24.51 MB, free: 3.691 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.493/1.493, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2479/0.2479, allocations: 44.93 MB / 359.6 MB, free: 6.047 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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8",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.001942/0.001942, allocations: 63.89 kB / 0.4938 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3594, allocations: 65.48 MB / 0.5577 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.004554/0.3639, allocations: 1.602 MB / 0.5593 GB, free: 5.906 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.3657, allocations: 0.5339 MB / 0.5598 GB, free: 5.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.954e-05/0.3657, allocations: 8 kB / 0.5598 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008934/0.3666, allocations: 451.1 kB / 0.5603 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006573/0.3673, allocations: 291.3 kB / 0.5605 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.3677, allocations: 175.4 kB / 0.5607 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003082/0.368, allocations: 171.6 kB / 0.5609 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.3681, allocations: 12 kB / 0.5609 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.3683, allocations: 115.7 kB / 0.561 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/0.3686, allocations: 247.5 kB / 0.5612 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.3686, allocations: 0 / 0.5612 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.057e-05/0.3687, allocations: 24 kB / 0.5613 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.3688, allocations: 92.55 kB / 0.5613 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.907e-05/0.3689, allocations: 71.23 kB / 0.5614 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003406/0.3692, allocations: 256.5 kB / 0.5617 GB, free: 3.496 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3692, allocations: 0 / 0.5617 GB, free: 3.496 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.3692, allocations: 4 kB / 0.5617 GB, free: 3.492 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.3692, allocations: 0 / 0.5617 GB, free: 3.492 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.0007597/0.37, allocations: 0.5793 MB / 0.5622 GB, free: 2.883 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.37, allocations: 16.03 kB / 0.5622 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.869e-05/0.37, allocations: 192 / 0.5622 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.321e-05/0.3701, allocations: 38.69 kB / 0.5623 GB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.161e-05/0.3701, allocations: 44.66 kB / 0.5623 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.3704, allocations: 250.7 kB / 0.5626 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.3704, allocations: 384 / 0.5626 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.3704, allocations: 12.11 kB / 0.5626 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.3706, allocations: 49.67 kB / 0.5626 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3706, allocations: 4 kB / 0.5626 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.3706, allocations: 0 / 0.5626 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3706, allocations: 0 / 0.5626 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.929e-05/0.3707, allocations: 23.98 kB / 0.5626 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004973/0.3712, allocations: 359.8 kB / 0.563 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.8e-05/0.3713, allocations: 30.52 kB / 0.563 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.739e-05/0.3713, allocations: 16.91 kB / 0.563 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.3713, allocations: 0 / 0.563 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.3714, allocations: 38.56 kB / 0.5631 GB, free: 1.914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3714, allocations: 0 / 0.5631 GB, free: 1.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002962/0.3717, allocations: 109.3 kB / 0.5632 GB, free: 1.801 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.3717, allocations: 55.41 kB / 0.5632 GB, free: 1.734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009412/0.3727, allocations: 0.8777 MB / 0.5641 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.3727, allocations: 25.7 kB / 0.5641 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.3729, allocations: 220.1 kB / 0.5643 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.3729, allocations: 11.89 kB / 0.5643 GB, free: 0.582 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.3729, allocations: 17.7 kB / 0.5643 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.3731, allocations: 362.7 kB / 0.5647 GB, free: 200 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.403e-05/0.3732, allocations: 15.98 kB / 0.5647 GB, free: 184 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.966e-05/0.3732, allocations: 12.12 kB / 0.5647 GB, free: 172 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.28e-05/0.3733, allocations: 24.84 kB / 0.5647 GB, free: 144 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3733, allocations: 0 / 0.5647 GB, free: 144 kB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001665/0.3734, allocations: 101.3 kB / 0.5648 GB, free: 36 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.3735, allocations: 4 kB / 0.5648 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3735, allocations: 0 / 0.5648 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3735, allocations: 0 / 0.5648 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.16e-05/0.3736, allocations: 15.98 kB / 0.5649 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.3736, allocations: 4.094 kB / 0.5649 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.251e-05/0.3736, allocations: 0 / 0.5649 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.3736, allocations: 11.88 kB / 0.5649 GB, free: 0 / 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.000207/0.3738, allocations: 213.7 kB / 0.5651 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.341e-05/0.3739, allocations: 43.67 kB / 0.5651 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002258/0.3741, allocations: 112.8 kB / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3741, allocations: 0 / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3741, allocations: 0 / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3741, allocations: 0 / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.3744, allocations: 260.6 kB / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3744, allocations: 0 / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.202e-05/0.3745, allocations: 8 kB / 0.5655 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3745, allocations: 0 / 0.5655 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.3745, allocations: 0 / 0.5655 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3745, allocations: 4 kB / 0.5655 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.3745, allocations: 0 / 0.5655 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.3747, allocations: 191.2 kB / 0.5657 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-05/0.3747, allocations: 39.7 kB / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.3748, allocations: 0 / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.115e-05/0.3748, allocations: 8.031 kB / 0.5657 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.138e-05/0.3749, allocations: 3.938 kB / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.3749, allocations: 0 / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006927/0.3756, allocations: 0.6705 MB / 0.5664 GB, free: 14.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3756, allocations: 0 / 0.5664 GB, free: 14.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.3758, allocations: 16 kB / 0.5664 GB, free: 14.37 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.001937/0.3777, allocations: 1.003 MB / 0.5674 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001604/0.3779, allocations: 19.98 kB / 0.5674 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3779, allocations: 4 kB / 0.5674 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.007e-05/0.378, allocations: 19.92 kB / 0.5674 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004919/0.3785, allocations: 27.42 kB / 0.5674 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004342/0.3828, allocations: 3.187 MB / 0.5705 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.383, allocations: 220.1 kB / 0.5708 GB, free: 9.922 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.977e-05/0.3831, allocations: 19.8 kB / 0.5708 GB, free: 9.902 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.3833, allocations: 107.4 kB / 0.5709 GB, free: 9.797 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3833, allocations: 0 / 0.5709 GB, free: 9.797 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0284/0.4117, allocations: 6.039 MB / 0.5768 GB, free: 3.816 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.36, allocations: 2.234 kB / 0.5768 GB, free: 3.816 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.547177872969769]