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.001349/0.001349, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001498/0.001498, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.533/1.533, allocations: 230.6 MB / 257.5 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.237/0.237, allocations: 44.92 MB / 358.8 MB, free: 6.281 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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8",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.002352/0.002352, allocations: 63.91 kB / 0.4931 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3539, allocations: 65.47 MB / 0.557 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003203/0.3571, allocations: 1.625 MB / 0.5586 GB, free: 6.133 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.3584, allocations: 0.5767 MB / 0.5592 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.456e-05/0.3585, allocations: 0 / 0.5592 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007312/0.3592, allocations: 455.1 kB / 0.5596 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005063/0.3597, allocations: 291.3 kB / 0.5599 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004792/0.3602, allocations: 175.3 kB / 0.5601 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003285/0.3605, allocations: 167.6 kB / 0.5602 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.3607, allocations: 12 kB / 0.5602 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.3608, allocations: 115.8 kB / 0.5603 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003284/0.3612, allocations: 247.5 kB / 0.5606 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.3612, allocations: 4 kB / 0.5606 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.432e-05/0.3613, allocations: 24 kB / 0.5606 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.3614, allocations: 84.61 kB / 0.5607 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.3615, allocations: 103 kB / 0.5608 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003945/0.3619, allocations: 264.5 kB / 0.561 GB, free: 3.656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3619, allocations: 0 / 0.561 GB, free: 3.656 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.3619, allocations: 0 / 0.561 GB, free: 3.656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.3619, allocations: 0 / 0.561 GB, free: 3.656 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.0009227/0.3628, allocations: 0.5854 MB / 0.5616 GB, free: 3.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.3629, allocations: 8.031 kB / 0.5616 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.115e-05/0.363, allocations: 34.75 kB / 0.5617 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.798e-05/0.363, allocations: 48.59 kB / 0.5617 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.3634, allocations: 246.8 kB / 0.5619 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.3634, allocations: 4.375 kB / 0.5619 GB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.3634, allocations: 8.375 kB / 0.5619 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.3635, allocations: 49.61 kB / 0.562 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3636, allocations: 3.938 kB / 0.562 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.3636, allocations: 4 kB / 0.562 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3636, allocations: 3.938 kB / 0.562 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.3637, allocations: 19.98 kB / 0.562 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006127/0.3643, allocations: 367.9 kB / 0.5624 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.694e-05/0.3644, allocations: 22.58 kB / 0.5624 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.061e-05/0.3644, allocations: 20.91 kB / 0.5624 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.3645, allocations: 3.938 kB / 0.5624 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.3645, allocations: 30.56 kB / 0.5624 GB, free: 2.078 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3645, allocations: 0 / 0.5624 GB, free: 2.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003029/0.3648, allocations: 113.3 kB / 0.5626 GB, free: 1.961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.3648, allocations: 51.41 kB / 0.5626 GB, free: 1.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000964/0.3658, allocations: 0.8738 MB / 0.5635 GB, free: 1.012 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.3658, allocations: 29.7 kB / 0.5635 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.366, allocations: 224.1 kB / 0.5637 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.3661, allocations: 7.891 kB / 0.5637 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.3661, allocations: 13.72 kB / 0.5637 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.3663, allocations: 370.8 kB / 0.5641 GB, free: 364 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.59e-05/0.3663, allocations: 11.98 kB / 0.5641 GB, free: 352 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.337e-05/0.3664, allocations: 11.94 kB / 0.5641 GB, free: 340 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.856e-05/0.3664, allocations: 28.84 kB / 0.5641 GB, free: 308 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3664, allocations: 0 / 0.5641 GB, free: 308 kB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001557/0.3666, allocations: 93.39 kB / 0.5642 GB, free: 208 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.3666, allocations: 8.094 kB / 0.5642 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3666, allocations: 4 kB / 0.5642 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.3666, allocations: 0 / 0.5642 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.712e-05/0.3667, allocations: 4 kB / 0.5642 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.3667, allocations: 0 / 0.5642 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.15e-05/0.3667, allocations: 7.984 kB / 0.5642 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.3668, allocations: 0 / 0.5642 GB, free: 184 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.0002122/0.367, allocations: 217.7 kB / 0.5644 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.84e-05/0.367, allocations: 47.61 kB / 0.5645 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/0.3672, allocations: 112.8 kB / 0.5646 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3672, allocations: 0 / 0.5646 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3672, allocations: 0 / 0.5646 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.3672, allocations: 0 / 0.5646 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002807/0.3675, allocations: 268.5 kB / 0.5649 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.3675, allocations: 3.938 kB / 0.5649 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.706e-05/0.3676, allocations: 8 kB / 0.5649 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.3676, allocations: 0 / 0.5649 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.3676, allocations: 4 kB / 0.5649 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3676, allocations: 4.031 kB / 0.5649 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3676, allocations: 0 / 0.5649 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002105/0.3678, allocations: 199.1 kB / 0.5651 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.918e-05/0.3678, allocations: 35.72 kB / 0.5651 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.3679, allocations: 7.969 kB / 0.5651 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.461e-05/0.368, allocations: 4 kB / 0.5651 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.295e-05/0.368, allocations: 32 / 0.5651 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.368, allocations: 4 kB / 0.5651 GB, free: 15.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007098/0.3687, allocations: 0.6628 MB / 0.5658 GB, free: 14.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3687, allocations: 0 / 0.5658 GB, free: 14.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.3689, allocations: 15.94 kB / 0.5658 GB, free: 14.53 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.001813/0.3707, allocations: 0.9753 MB / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001446/0.3709, allocations: 23.98 kB / 0.5668 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3709, allocations: 64 / 0.5668 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.409e-05/0.3709, allocations: 19.98 kB / 0.5668 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.3713, allocations: 14.31 kB / 0.5668 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003722/0.3751, allocations: 3.191 MB / 0.5699 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005013/0.3756, allocations: 0.8242 MB / 0.5707 GB, free: 9.473 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.697e-05/0.3756, allocations: 19.8 kB / 0.5707 GB, free: 9.453 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.3758, allocations: 115.4 kB / 0.5708 GB, free: 9.34 MB / 414.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3758, allocations: 0 / 0.5708 GB, free: 9.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03238/0.4081, allocations: 5.951 MB / 0.5766 GB, free: 3.453 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.04, allocations: 7.938 kB / 0.5767 GB, free: 3.445 MB / 414.1 MB " [Timeout remaining time 648] (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.157344197155908]