Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.00138/0.00138, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001451/0.001451, allocations: 212.2 kB / 24.52 MB, free: 4.074 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.558/1.558, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.2409/0.2409, allocations: 44.92 MB / 359.6 MB, free: 6.254 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.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",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.002018/0.002018, allocations: 63.91 kB / 0.4939 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3649, allocations: 65.47 MB / 0.5578 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003377/0.3683, allocations: 1.618 MB / 0.5594 GB, free: 6.113 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.3694, allocations: 0.5464 MB / 0.5599 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.264e-05/0.3695, allocations: 4 kB / 0.5599 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.3697, allocations: 23.86 kB / 0.5599 GB, free: 5.535 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003319/0.37, allocations: 79.61 kB / 0.56 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.3703, allocations: 83.78 kB / 0.5601 GB, free: 5.375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.3704, allocations: 67.81 kB / 0.5602 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.3705, allocations: 11.94 kB / 0.5602 GB, free: 5.297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.563e-05/0.3706, allocations: 27.86 kB / 0.5602 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.3707, allocations: 19.86 kB / 0.5602 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.3707, allocations: 4 kB / 0.5602 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.305e-05/0.3708, allocations: 39.91 kB / 0.5603 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.79e-05/0.3708, allocations: 11.94 kB / 0.5603 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.265e-05/0.3709, allocations: 23.81 kB / 0.5603 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.3711, allocations: 87.64 kB / 0.5604 GB, free: 5.086 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3711, allocations: 0 / 0.5604 GB, free: 5.086 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3711, allocations: 0 / 0.5604 GB, free: 5.086 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.3711, allocations: 0 / 0.5604 GB, free: 5.086 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.0004826/0.3715, allocations: 313.8 kB / 0.5607 GB, free: 4.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.3716, allocations: 8.031 kB / 0.5607 GB, free: 4.742 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.724e-05/0.3716, allocations: 192 / 0.5607 GB, free: 4.742 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.778e-05/0.3716, allocations: 34.75 kB / 0.5607 GB, free: 4.699 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.3717, allocations: 12.89 kB / 0.5607 GB, free: 4.688 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.3719, allocations: 134.4 kB / 0.5609 GB, free: 4.531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.3719, allocations: 384 / 0.5609 GB, free: 4.531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.3719, allocations: 4.125 kB / 0.5609 GB, free: 4.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.372, allocations: 49.67 kB / 0.5609 GB, free: 4.473 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.372, allocations: 7.875 kB / 0.5609 GB, free: 4.465 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.3721, allocations: 0 / 0.5609 GB, free: 4.465 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3721, allocations: 0 / 0.5609 GB, free: 4.465 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.35e-05/0.3722, allocations: 23.98 kB / 0.5609 GB, free: 4.441 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.3725, allocations: 247.9 kB / 0.5612 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.3727, allocations: 46.5 kB / 0.5612 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.397e-05/0.3728, allocations: 16.94 kB / 0.5612 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.3728, allocations: 0 / 0.5612 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.3728, allocations: 34.55 kB / 0.5613 GB, free: 4.039 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.3728, allocations: 4 kB / 0.5613 GB, free: 4.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005436/0.3734, allocations: 145.4 kB / 0.5614 GB, free: 3.887 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.3734, allocations: 55.41 kB / 0.5615 GB, free: 3.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.3736, allocations: 146.1 kB / 0.5616 GB, free: 3.664 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.3736, allocations: 29.7 kB / 0.5616 GB, free: 3.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.3737, allocations: 96.08 kB / 0.5617 GB, free: 3.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.3738, allocations: 23.84 kB / 0.5617 GB, free: 3.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.3738, allocations: 17.72 kB / 0.5618 GB, free: 3.484 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.374, allocations: 322.8 kB / 0.5621 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.3741, allocations: 19.98 kB / 0.5621 GB, free: 3.141 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.352e-05/0.3742, allocations: 19.98 kB / 0.5621 GB, free: 3.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.3743, allocations: 40.83 kB / 0.5622 GB, free: 3.078 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3743, allocations: 4 kB / 0.5622 GB, free: 3.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001886/0.3745, allocations: 81.56 kB / 0.5622 GB, free: 2.988 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.3745, allocations: 8 kB / 0.5622 GB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3745, allocations: 0 / 0.5622 GB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.3745, allocations: 0 / 0.5622 GB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.038e-05/0.3746, allocations: 16.17 kB / 0.5623 GB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3746, allocations: 0 / 0.5623 GB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.828e-05/0.3747, allocations: 15.94 kB / 0.5623 GB, free: 2.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.3747, allocations: 8 kB / 0.5623 GB, free: 2.941 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 (5): * Single equations (assignments): 5 * 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.000119/0.3748, allocations: 117.8 kB / 0.5624 GB, free: 2.816 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.428e-05/0.3748, allocations: 7.953 kB / 0.5624 GB, free: 2.809 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.3751, allocations: 86 kB / 0.5625 GB, free: 2.707 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.3751, allocations: 4 kB / 0.5625 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3751, allocations: 0 / 0.5625 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3751, allocations: 7.875 kB / 0.5625 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004625/0.3756, allocations: 317.6 kB / 0.5628 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3756, allocations: 0 / 0.5628 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.619e-05/0.3756, allocations: 11.94 kB / 0.5628 GB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.3756, allocations: 4 kB / 0.5628 GB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.3756, allocations: 7.922 kB / 0.5628 GB, free: 2.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3756, allocations: 0 / 0.5628 GB, free: 2.312 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3756, allocations: 0 / 0.5628 GB, free: 2.312 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.3759, allocations: 175.5 kB / 0.563 GB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.574e-05/0.3759, allocations: 7.953 kB / 0.563 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.3759, allocations: 7.938 kB / 0.563 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.036e-05/0.376, allocations: 7.984 kB / 0.563 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.78e-05/0.376, allocations: 0 / 0.563 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.376, allocations: 4 kB / 0.563 GB, free: 2.098 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.3761, allocations: 119.4 kB / 0.5631 GB, free: 1.984 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3761, allocations: 0 / 0.5631 GB, free: 1.984 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.3764, allocations: 19.94 kB / 0.5631 GB, free: 1.965 MB / 398.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 (5): * Single equations (assignments): 5 * 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.002047/0.3784, allocations: 1.023 MB / 0.5641 GB, free: 1.078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002333/0.3787, allocations: 55.84 kB / 0.5642 GB, free: 1.023 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3787, allocations: 0 / 0.5642 GB, free: 1.023 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.348e-05/0.3787, allocations: 27.92 kB / 0.5642 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.3791, allocations: 13.61 kB / 0.5642 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.381, allocations: 1.437 MB / 0.5656 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.3814, allocations: 0.7002 MB / 0.5663 GB, free: 14.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.912e-05/0.3815, allocations: 11.78 kB / 0.5663 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.682e-05/0.3815, allocations: 23.42 kB / 0.5664 GB, free: 14.7 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3815, allocations: 3.938 kB / 0.5664 GB, free: 14.7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/0.4039, allocations: 2.721 MB / 0.569 GB, free: 12.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.69, allocations: 13.28 kB / 0.569 GB, free: 12.04 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.97578620200511]