Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001376/0.001376, 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.001453/0.001453, 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.522/1.522, 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.2294/0.2294, allocations: 44.92 MB / 359.6 MB, free: 6.27 MB / 286.1 MB " [Timeout remaining time 179] 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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_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.002016/0.002016, allocations: 63.91 kB / 0.4939 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3694, allocations: 65.48 MB / 0.5578 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003093/0.3725, allocations: 1.622 MB / 0.5594 GB, free: 6.125 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.3737, allocations: 0.5767 MB / 0.56 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.503e-05/0.3738, allocations: 0 / 0.56 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006349/0.3744, allocations: 451.1 kB / 0.5604 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005077/0.3749, allocations: 291.3 kB / 0.5607 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004717/0.3754, allocations: 171.4 kB / 0.5608 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.3757, allocations: 171.6 kB / 0.561 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.3758, allocations: 19.98 kB / 0.561 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.3759, allocations: 107.8 kB / 0.5611 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003058/0.3762, allocations: 247.5 kB / 0.5613 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.3763, allocations: 4 kB / 0.5613 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.833e-05/0.3763, allocations: 23.98 kB / 0.5614 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.3765, allocations: 88.56 kB / 0.5615 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.3766, allocations: 103 kB / 0.5616 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003611/0.3769, allocations: 260.5 kB / 0.5618 GB, free: 3.648 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3769, allocations: 4 kB / 0.5618 GB, free: 3.645 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3769, allocations: 0 / 0.5618 GB, free: 3.645 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.3769, allocations: 0 / 0.5618 GB, free: 3.645 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.0008152/0.3778, allocations: 0.5776 MB / 0.5624 GB, free: 3.035 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.3778, allocations: 12.03 kB / 0.5624 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.884e-05/0.3778, allocations: 4.188 kB / 0.5624 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.732e-05/0.3779, allocations: 30.75 kB / 0.5624 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.049e-05/0.3779, allocations: 44.66 kB / 0.5625 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.3783, allocations: 254.7 kB / 0.5627 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.3783, allocations: 8.312 kB / 0.5627 GB, free: 2.656 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.3783, allocations: 8.062 kB / 0.5627 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.3784, allocations: 49.67 kB / 0.5628 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3784, allocations: 0 / 0.5628 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.3785, allocations: 4 kB / 0.5628 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.3785, allocations: 0 / 0.5628 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.741e-05/0.3786, allocations: 23.98 kB / 0.5628 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005691/0.3791, allocations: 367.8 kB / 0.5631 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.441e-05/0.3792, allocations: 26.58 kB / 0.5632 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.512e-05/0.3793, allocations: 20.89 kB / 0.5632 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.3793, allocations: 0 / 0.5632 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.3793, allocations: 30.56 kB / 0.5632 GB, free: 2.066 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.3793, allocations: 4 kB / 0.5632 GB, free: 2.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.000302/0.3796, allocations: 113.3 kB / 0.5633 GB, free: 1.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.3797, allocations: 51.41 kB / 0.5634 GB, free: 1.883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009075/0.3806, allocations: 0.8777 MB / 0.5642 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.3806, allocations: 25.7 kB / 0.5643 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.3808, allocations: 224.1 kB / 0.5645 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.3808, allocations: 7.891 kB / 0.5645 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.3809, allocations: 17.84 kB / 0.5645 GB, free: 0.707 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.381, allocations: 366.7 kB / 0.5648 GB, free: 348 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.549e-05/0.3811, allocations: 11.98 kB / 0.5649 GB, free: 336 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.657e-05/0.3811, allocations: 8 kB / 0.5649 GB, free: 328 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.554e-05/0.3812, allocations: 28.84 kB / 0.5649 GB, free: 296 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3812, allocations: 0 / 0.5649 GB, free: 296 kB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001711/0.3814, allocations: 101.4 kB / 0.565 GB, free: 188 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3814, allocations: 6.656 kB / 0.565 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3814, allocations: 4 kB / 0.565 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3814, allocations: 0 / 0.565 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.028e-05/0.3815, allocations: 4 kB / 0.565 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.3815, allocations: 3.984 kB / 0.565 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.065e-05/0.3815, allocations: 4 kB / 0.565 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.3815, allocations: 3.938 kB / 0.565 GB, free: 164 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.0002232/0.3818, allocations: 213.8 kB / 0.5652 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.177e-05/0.3818, allocations: 47.66 kB / 0.5653 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.3821, allocations: 112.8 kB / 0.5654 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3821, allocations: 3.938 kB / 0.5654 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3821, allocations: 0 / 0.5654 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.3821, allocations: 0 / 0.5654 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/0.3824, allocations: 260.6 kB / 0.5656 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.3824, allocations: 4 kB / 0.5656 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.886e-05/0.3824, allocations: 8 kB / 0.5656 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3824, allocations: 4.031 kB / 0.5656 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.3824, allocations: 3.938 kB / 0.5656 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3824, allocations: 4 kB / 0.5656 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3824, allocations: 0 / 0.5656 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.3826, allocations: 191.2 kB / 0.5658 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-05/0.3827, allocations: 35.72 kB / 0.5659 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.3827, allocations: 3.984 kB / 0.5659 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.806e-05/0.3828, allocations: 8.031 kB / 0.5659 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.567e-05/0.3828, allocations: 3.938 kB / 0.5659 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.3828, allocations: 0 / 0.5659 GB, free: 15.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006828/0.3835, allocations: 0.6667 MB / 0.5665 GB, free: 14.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3835, allocations: 0 / 0.5665 GB, free: 14.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002476/0.3838, allocations: 12 kB / 0.5665 GB, free: 14.52 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.001707/0.3855, allocations: 0.9723 MB / 0.5675 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001585/0.3856, allocations: 31.92 kB / 0.5675 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3856, allocations: 3.938 kB / 0.5675 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.071e-05/0.3857, allocations: 15.98 kB / 0.5675 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.3861, allocations: 20.19 kB / 0.5676 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003771/0.3899, allocations: 3.191 MB / 0.5707 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000472/0.3904, allocations: 0.8182 MB / 0.5715 GB, free: 9.461 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.475e-05/0.3904, allocations: 23.8 kB / 0.5715 GB, free: 9.438 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.3906, allocations: 119.4 kB / 0.5716 GB, free: 9.32 MB / 414.1 MB Notification: Performance of SimCode: time 1.624e-06/0.3906, allocations: 0 / 0.5716 GB, free: 9.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.4199, allocations: 5.98 MB / 0.5775 GB, free: 3.414 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.13, allocations: 7.812 kB / 0.5775 GB, free: 3.41 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 15.382436608953867]