Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.00183/0.00183, 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.002229/0.002229, allocations: 210.8 kB / 23.74 MB, free: 4.672 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.54/1.54, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2325/0.2325, allocations: 44.91 MB / 358.8 MB, free: 6.273 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.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18",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.003548/0.003548, allocations: 71.89 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3834, allocations: 65.47 MB / 0.557 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003146/0.3866, allocations: 1.628 MB / 0.5586 GB, free: 6.109 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.3886, allocations: 1.259 MB / 0.5599 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.015e-05/0.3886, allocations: 4 kB / 0.5599 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.3889, allocations: 27.78 kB / 0.5599 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003029/0.3892, allocations: 87.61 kB / 0.56 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.3894, allocations: 83.77 kB / 0.5601 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.3896, allocations: 83.75 kB / 0.5601 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.3897, allocations: 13.83 kB / 0.5601 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.032e-05/0.3898, allocations: 31.84 kB / 0.5602 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.39, allocations: 39.78 kB / 0.5602 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.39, allocations: 4 kB / 0.5602 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.3902, allocations: 95.94 kB / 0.5603 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.068e-05/0.3902, allocations: 23.91 kB / 0.5603 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.8e-05/0.3903, allocations: 35.81 kB / 0.5604 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.3905, allocations: 143.5 kB / 0.5605 GB, free: 4.184 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.3905, allocations: 7.984 kB / 0.5605 GB, free: 4.176 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3905, allocations: 0 / 0.5605 GB, free: 4.176 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.3906, allocations: 0 / 0.5605 GB, free: 4.176 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005236/0.3911, allocations: 337.6 kB / 0.5608 GB, free: 3.816 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3911, allocations: 8.031 kB / 0.5608 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.332e-05/0.3912, allocations: 46.67 kB / 0.5609 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.3912, allocations: 8.891 kB / 0.5609 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.3914, allocations: 137.2 kB / 0.561 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.3914, allocations: 8.375 kB / 0.561 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.3914, allocations: 4.359 kB / 0.561 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.3916, allocations: 83.25 kB / 0.5611 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3916, allocations: 0 / 0.5611 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.3916, allocations: 0 / 0.5611 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.3916, allocations: 0 / 0.5611 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.3918, allocations: 39.91 kB / 0.5612 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.3922, allocations: 271.8 kB / 0.5614 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.3923, allocations: 50.55 kB / 0.5615 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.511e-05/0.3924, allocations: 20.92 kB / 0.5615 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.3924, allocations: 0 / 0.5615 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.283e-05/0.3924, allocations: 42.55 kB / 0.5615 GB, free: 3.004 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 7.91e-07/0.3924, allocations: 0 / 0.5615 GB, free: 3.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006275/0.3931, allocations: 173.4 kB / 0.5617 GB, free: 2.828 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.3931, allocations: 77.11 kB / 0.5618 GB, free: 2.734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.3933, allocations: 165.4 kB / 0.5619 GB, free: 2.562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.3933, allocations: 33.64 kB / 0.562 GB, free: 2.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.536e-05/0.3934, allocations: 100.1 kB / 0.562 GB, free: 2.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.3934, allocations: 31.81 kB / 0.5621 GB, free: 2.391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/0.3935, allocations: 25.7 kB / 0.5621 GB, free: 2.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3937, allocations: 314.8 kB / 0.5624 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.11e-05/0.3937, allocations: 27.97 kB / 0.5624 GB, free: 2.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.767e-05/0.3938, allocations: 37.7 kB / 0.5625 GB, free: 1.973 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.394, allocations: 64.86 kB / 0.5625 GB, free: 1.906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.394, allocations: 0 / 0.5625 GB, free: 1.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002243/0.3942, allocations: 97.55 kB / 0.5626 GB, free: 1.805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3942, allocations: 8 kB / 0.5626 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3942, allocations: 0 / 0.5626 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3942, allocations: 0 / 0.5626 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.3943, allocations: 15.98 kB / 0.5626 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.3944, allocations: 3.938 kB / 0.5626 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.039e-05/0.3944, allocations: 12 kB / 0.5627 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.3944, allocations: 4 kB / 0.5627 GB, free: 1.762 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 (8): * Single equations (assignments): 8 * 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 9.623e-05/0.3945, allocations: 117.8 kB / 0.5628 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.94e-05/0.3945, allocations: 7.953 kB / 0.5628 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/0.3948, allocations: 122.6 kB / 0.5629 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3948, allocations: 0 / 0.5629 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.3948, allocations: 8.312 kB / 0.5629 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3948, allocations: 4 kB / 0.5629 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005014/0.3953, allocations: 357.5 kB / 0.5633 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.3954, allocations: 4 kB / 0.5633 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.187e-05/0.3954, allocations: 19.98 kB / 0.5633 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.3954, allocations: 3.938 kB / 0.5633 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.3954, allocations: 0 / 0.5633 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3954, allocations: 3.938 kB / 0.5633 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3954, allocations: 0 / 0.5633 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.3957, allocations: 207.4 kB / 0.5635 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.856e-05/0.3957, allocations: 11.89 kB / 0.5635 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.3957, allocations: 3.938 kB / 0.5635 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.1e-05/0.3958, allocations: 11.98 kB / 0.5635 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.3959, allocations: 4 kB / 0.5635 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.3959, allocations: 0 / 0.5635 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001158/0.396, allocations: 121.6 kB / 0.5636 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.396, allocations: 4 kB / 0.5636 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002962/0.3963, allocations: 39.86 kB / 0.5637 GB, free: 0.6445 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 (8): * Single equations (assignments): 8 * 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.002248/0.3985, allocations: 1.13 MB / 0.5648 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002298/0.3988, allocations: 63.91 kB / 0.5648 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3988, allocations: 0 / 0.5648 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.053e-05/0.3988, allocations: 39.91 kB / 0.5649 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.3992, allocations: 13.69 kB / 0.5649 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.4011, allocations: 1.499 MB / 0.5663 GB, free: 13.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.4014, allocations: 0.7007 MB / 0.567 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.023e-05/0.4015, allocations: 16.67 kB / 0.567 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.496e-05/0.4016, allocations: 35.41 kB / 0.5671 GB, free: 13.21 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4016, allocations: 0 / 0.5671 GB, free: 13.21 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0338/0.4354, allocations: 3.584 MB / 0.5706 GB, free: 9.652 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.62, allocations: 7.188 kB / 0.5706 GB, free: 9.648 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.734706703107804]