Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.001823/0.001823, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002536/0.002536, allocations: 212.4 kB / 23.73 MB, free: 4.387 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.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2301/0.2301, allocations: 44.93 MB / 358.9 MB, free: 6.094 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.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",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.002135/0.002135, allocations: 73.45 kB / 0.493 GB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3559, allocations: 65.47 MB / 0.557 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003358/0.3592, allocations: 1.648 MB / 0.5586 GB, free: 5.906 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.3603, allocations: 0.7556 MB / 0.5593 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.317e-05/0.3603, allocations: 4 kB / 0.5593 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.3606, allocations: 31.84 kB / 0.5594 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.3608, allocations: 43.83 kB / 0.5594 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.589e-06/0.3608, allocations: 0 / 0.5594 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.361, allocations: 39.83 kB / 0.5594 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.049e-05/0.3611, allocations: 1.828 kB / 0.5594 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.39e-05/0.3611, allocations: 7.984 kB / 0.5594 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.067e-05/0.3611, allocations: 11.94 kB / 0.5595 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.3612, allocations: 0 / 0.5595 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.299e-05/0.3612, allocations: 19.92 kB / 0.5595 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.846e-05/0.3613, allocations: 16.91 kB / 0.5595 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.961e-05/0.3613, allocations: 15.81 kB / 0.5595 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.3614, allocations: 79.66 kB / 0.5596 GB, free: 4.883 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3615, allocations: 0 / 0.5596 GB, free: 4.883 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3615, allocations: 0 / 0.5596 GB, free: 4.883 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.3615, allocations: 0 / 0.5596 GB, free: 4.883 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004105/0.3619, allocations: 294 kB / 0.5599 GB, free: 4.562 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.3619, allocations: 12.03 kB / 0.5599 GB, free: 4.551 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.47e-05/0.362, allocations: 38.75 kB / 0.5599 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.743e-05/0.362, allocations: 4.891 kB / 0.5599 GB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.3621, allocations: 130.3 kB / 0.56 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.3621, allocations: 4.375 kB / 0.56 GB, free: 4.344 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.3622, allocations: 384 / 0.56 GB, free: 4.344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.3624, allocations: 127.3 kB / 0.5602 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3624, allocations: 3.938 kB / 0.5602 GB, free: 4.191 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.3624, allocations: 0 / 0.5602 GB, free: 4.191 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-05/0.3624, allocations: 23.98 kB / 0.5602 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.334e-05/0.3625, allocations: 47.84 kB / 0.5602 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007611/0.3633, allocations: 0.8469 MB / 0.5611 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.3634, allocations: 173.2 kB / 0.5612 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.124e-05/0.3634, allocations: 84.08 kB / 0.5613 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.3634, allocations: 79.28 kB / 0.5614 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.913e-05/0.3635, allocations: 105.8 kB / 0.5615 GB, free: 2.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.3635, allocations: 0 / 0.5615 GB, free: 2.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.485e-05/0.3636, allocations: 45.53 kB / 0.5615 GB, free: 2.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.677e-05/0.3637, allocations: 138.6 kB / 0.5617 GB, free: 2.555 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.3639, allocations: 186.1 kB / 0.5618 GB, free: 2.363 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.3639, allocations: 25.7 kB / 0.5619 GB, free: 2.332 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.364, allocations: 147.5 kB / 0.562 GB, free: 2.184 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.917e-06/0.364, allocations: 11.98 kB / 0.562 GB, free: 2.172 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.418e-05/0.3641, allocations: 37.67 kB / 0.5621 GB, free: 2.129 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3642, allocations: 322.8 kB / 0.5624 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.252e-05/0.3643, allocations: 31.98 kB / 0.5624 GB, free: 1.773 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.3644, allocations: 163.6 kB / 0.5625 GB, free: 1.555 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.3647, allocations: 200.8 kB / 0.5627 GB, free: 1.297 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.3647, allocations: 4 kB / 0.5627 GB, free: 1.293 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003186/0.365, allocations: 193.8 kB / 0.5629 GB, free: 1.098 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.365, allocations: 10.75 kB / 0.5629 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.365, allocations: 12 kB / 0.5629 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.3651, allocations: 4 kB / 0.563 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.3652, allocations: 39.92 kB / 0.563 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/0.3652, allocations: 11.98 kB / 0.563 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.843e-05/0.3653, allocations: 27.72 kB / 0.563 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.3653, allocations: 12 kB / 0.563 GB, free: 0.9844 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.000155/0.3655, allocations: 209.1 kB / 0.5632 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-05/0.3656, allocations: 116.9 kB / 0.5634 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.246e-05/0.3656, allocations: 116.5 kB / 0.5635 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.534e-05/0.3657, allocations: 180.3 kB / 0.5636 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.445e-05/0.3658, allocations: 192.3 kB / 0.5638 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.981e-05/0.3659, allocations: 180.3 kB / 0.564 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.3662, allocations: 392.2 kB / 0.5644 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.579e-05/0.3663, allocations: 116.9 kB / 0.5645 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.394e-05/0.3663, allocations: 101 kB / 0.5646 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.25e-05/0.3664, allocations: 184.2 kB / 0.5647 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.651e-05/0.3665, allocations: 184.3 kB / 0.5649 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.59e-05/0.3666, allocations: 180.2 kB / 0.5651 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-05/0.3667, allocations: 180.2 kB / 0.5653 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.3669, allocations: 319.6 kB / 0.5656 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.639e-05/0.3669, allocations: 112.9 kB / 0.5657 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.367, allocations: 188.2 kB / 0.5659 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.3671, allocations: 101 kB / 0.566 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.431e-05/0.3672, allocations: 176.3 kB / 0.5661 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.322e-05/0.3673, allocations: 104.9 kB / 0.5662 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.3674, allocations: 140 kB / 0.5664 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3674, allocations: 0 / 0.5664 GB, free: 13.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000301/0.3677, allocations: 12 kB / 0.5664 GB, free: 13.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 (0): * Single equations (assignments): 0 * 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.001171/0.3689, allocations: 0.9239 MB / 0.5673 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001922/0.3691, allocations: 71.78 kB / 0.5673 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.3691, allocations: 4 kB / 0.5673 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.19e-06/0.3691, allocations: 3.938 kB / 0.5673 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005402/0.3696, allocations: 462.3 kB / 0.5678 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.3719, allocations: 1.88 MB / 0.5696 GB, free: 9.863 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.372, allocations: 87.5 kB / 0.5697 GB, free: 9.758 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002684/0.3723, allocations: 53.02 kB / 0.5698 GB, free: 9.707 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.665e-05/0.3723, allocations: 23.44 kB / 0.5698 GB, free: 9.684 MB / 414.1 MB Notification: Performance of SimCode: time 1.283e-06/0.3723, allocations: 0 / 0.5698 GB, free: 9.684 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03045/0.4028, allocations: 2.611 MB / 0.5723 GB, free: 7.125 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.55, allocations: 4.062 kB / 0.5723 GB, free: 7.121 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.534211968071759]