Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.00136/0.00136, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001519/0.001519, allocations: 211.8 kB / 24.51 MB, free: 3.918 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.435/1.435, allocations: 230.6 MB / 258.3 MB, free: 7.742 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.2162/0.2162, allocations: 44.93 MB / 359.6 MB, free: 6.055 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.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",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.002119/0.002119, allocations: 64.09 kB / 0.4938 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3488, allocations: 65.48 MB / 0.5577 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003178/0.352, allocations: 1.692 MB / 0.5594 GB, free: 5.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.3531, allocations: 0.5738 MB / 0.56 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.227e-05/0.3531, allocations: 0 / 0.56 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002038/0.3533, allocations: 27.78 kB / 0.56 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002851/0.3536, allocations: 79.62 kB / 0.5601 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004288/0.3541, allocations: 179.3 kB / 0.5602 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.3542, allocations: 107.7 kB / 0.5603 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.486e-05/0.3543, allocations: 13.83 kB / 0.5603 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.497e-05/0.3544, allocations: 43.83 kB / 0.5604 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.341e-05/0.3545, allocations: 47.78 kB / 0.5604 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.3545, allocations: 4 kB / 0.5604 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.3547, allocations: 103.9 kB / 0.5605 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.933e-05/0.3548, allocations: 23.92 kB / 0.5606 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.903e-05/0.3548, allocations: 31.84 kB / 0.5606 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.3551, allocations: 175.2 kB / 0.5608 GB, free: 4.434 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3551, allocations: 0 / 0.5608 GB, free: 4.434 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3551, allocations: 0 / 0.5608 GB, free: 4.434 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.3551, allocations: 0 / 0.5608 GB, free: 4.434 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000639/0.3558, allocations: 373.5 kB / 0.5611 GB, free: 4.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.3558, allocations: 15.97 kB / 0.5611 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.679e-05/0.3558, allocations: 4.188 kB / 0.5611 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.446e-05/0.3559, allocations: 38.75 kB / 0.5612 GB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.3559, allocations: 8.891 kB / 0.5612 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.3561, allocations: 148 kB / 0.5613 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.3561, allocations: 384 / 0.5613 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.3561, allocations: 8.125 kB / 0.5613 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/0.3564, allocations: 121 kB / 0.5614 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3564, allocations: 0 / 0.5614 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.3565, allocations: 4 kB / 0.5614 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.3565, allocations: 4 kB / 0.5615 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003054/0.3568, allocations: 67.92 kB / 0.5615 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006006/0.3574, allocations: 315.7 kB / 0.5618 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.3576, allocations: 74.52 kB / 0.5619 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.3578, allocations: 48.94 kB / 0.5619 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.3578, allocations: 0 / 0.5619 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.3578, allocations: 34.56 kB / 0.562 GB, free: 3.051 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.3578, allocations: 4 kB / 0.562 GB, free: 3.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001651/0.3595, allocations: 416.9 kB / 0.5624 GB, free: 2.633 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.3595, allocations: 77.11 kB / 0.5624 GB, free: 2.539 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.3597, allocations: 170.1 kB / 0.5626 GB, free: 2.359 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.3597, allocations: 25.7 kB / 0.5626 GB, free: 2.328 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.421e-05/0.3598, allocations: 104.1 kB / 0.5627 GB, free: 2.223 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.3599, allocations: 31.73 kB / 0.5628 GB, free: 2.191 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.872e-05/0.3599, allocations: 25.72 kB / 0.5628 GB, free: 2.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3601, allocations: 322.8 kB / 0.5631 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002965/0.3604, allocations: 79.91 kB / 0.5632 GB, free: 1.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003205/0.3607, allocations: 123.3 kB / 0.5633 GB, free: 1.625 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005581/0.3612, allocations: 168.7 kB / 0.5634 GB, free: 1.457 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3612, allocations: 0 / 0.5634 GB, free: 1.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006452/0.3619, allocations: 209.4 kB / 0.5636 GB, free: 1.246 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3619, allocations: 7.984 kB / 0.5637 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3619, allocations: 0 / 0.5637 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3619, allocations: 4 kB / 0.5637 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.3621, allocations: 35.91 kB / 0.5637 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3621, allocations: 3.938 kB / 0.5637 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.3623, allocations: 39.91 kB / 0.5637 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.3623, allocations: 384 / 0.5637 GB, free: 1.156 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 (10): * Single equations (assignments): 10 * 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.0001111/0.3624, allocations: 122.2 kB / 0.5639 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/0.3625, allocations: 7.953 kB / 0.5639 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007086/0.3632, allocations: 234.1 kB / 0.5641 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3632, allocations: 0 / 0.5641 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.3632, allocations: 7.938 kB / 0.5641 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.3632, allocations: 0 / 0.5641 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009788/0.3642, allocations: 485.4 kB / 0.5646 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3642, allocations: 3.938 kB / 0.5646 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.3643, allocations: 35.95 kB / 0.5646 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3644, allocations: 4 kB / 0.5646 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.3644, allocations: 7.984 kB / 0.5646 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3644, allocations: 0 / 0.5646 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3644, allocations: 0 / 0.5646 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006976/0.3651, allocations: 299.3 kB / 0.5649 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.138e-05/0.3651, allocations: 23.83 kB / 0.5649 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.3651, allocations: 0 / 0.5649 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.3653, allocations: 27.97 kB / 0.5649 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.48e-05/0.3654, allocations: 11.97 kB / 0.5649 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.3654, allocations: 4 kB / 0.565 GB, free: 15.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.3655, allocations: 124.1 kB / 0.5651 GB, free: 15.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3655, allocations: 0 / 0.5651 GB, free: 15.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003201/0.3658, allocations: 55.86 kB / 0.5651 GB, free: 15.65 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 (9): * Single equations (assignments): 9 * 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.002782/0.3686, allocations: 1.27 MB / 0.5664 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006862/0.3693, allocations: 175.7 kB / 0.5665 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.3693, allocations: 0 / 0.5665 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003101/0.3696, allocations: 87.84 kB / 0.5666 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.37, allocations: 19.98 kB / 0.5666 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003248/0.3733, allocations: 1.937 MB / 0.5685 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.617e-05/0.3733, allocations: 96.12 kB / 0.5686 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.3735, allocations: 40.44 kB / 0.5687 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.3736, allocations: 35.42 kB / 0.5687 GB, free: 12.09 MB / 414.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3736, allocations: 0 / 0.5687 GB, free: 12.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0268/0.4004, allocations: 4.744 MB / 0.5733 GB, free: 7.391 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.11, allocations: 0.9375 kB / 0.5733 GB, free: 7.391 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.30358447600156]