Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.001673/0.001673, allocations: 113 kB / 18.49 MB, free: 4.539 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.002097/0.002097, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.537/1.537, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2418/0.2418, allocations: 44.9 MB / 355.8 MB, free: 12.31 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.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23",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.002007/0.002007, allocations: 67.91 kB / 0.4886 GB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.173, allocations: 65.43 MB / 0.5525 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.004246/0.1772, allocations: 1.607 MB / 0.554 GB, free: 8.504 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002243/0.1795, allocations: 1.179 MB / 0.5552 GB, free: 7.316 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.426e-05/0.1796, allocations: 0 / 0.5552 GB, free: 7.316 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002951/0.1799, allocations: 19.86 kB / 0.5552 GB, free: 7.297 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004683/0.1803, allocations: 87.61 kB / 0.5553 GB, free: 7.211 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004623/0.1808, allocations: 107.7 kB / 0.5554 GB, free: 7.105 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00024/0.181, allocations: 71.77 kB / 0.5555 GB, free: 7.035 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.1812, allocations: 15.92 kB / 0.5555 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.963e-05/0.1812, allocations: 23.92 kB / 0.5555 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.1814, allocations: 39.83 kB / 0.5555 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.1815, allocations: 4 kB / 0.5555 GB, free: 6.953 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002552/0.1817, allocations: 103.8 kB / 0.5556 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.974e-05/0.1818, allocations: 15.92 kB / 0.5556 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.844e-05/0.1818, allocations: 19.81 kB / 0.5557 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003342/0.1822, allocations: 139.6 kB / 0.5558 GB, free: 6.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1822, allocations: 3.938 kB / 0.5558 GB, free: 6.676 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1822, allocations: 0 / 0.5558 GB, free: 6.676 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1822, allocations: 0 / 0.5558 GB, free: 6.676 MB / 414.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.0008284/0.183, allocations: 410.8 kB / 0.5562 GB, free: 6.227 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.1831, allocations: 12.02 kB / 0.5562 GB, free: 6.215 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.111e-05/0.1831, allocations: 192 / 0.5562 GB, free: 6.215 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.173e-05/0.1831, allocations: 34.75 kB / 0.5562 GB, free: 6.172 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.1831, allocations: 4.891 kB / 0.5562 GB, free: 6.168 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.1835, allocations: 200.2 kB / 0.5564 GB, free: 5.934 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.1835, allocations: 384 / 0.5564 GB, free: 5.934 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.1835, allocations: 4.125 kB / 0.5564 GB, free: 5.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.1837, allocations: 75.33 kB / 0.5565 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.1837, allocations: 0 / 0.5565 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1837, allocations: 0 / 0.5565 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1837, allocations: 0 / 0.5565 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.1838, allocations: 23.98 kB / 0.5565 GB, free: 5.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005112/0.1843, allocations: 276.9 kB / 0.5568 GB, free: 5.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.1846, allocations: 54.5 kB / 0.5569 GB, free: 5.438 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.745e-05/0.1847, allocations: 12.94 kB / 0.5569 GB, free: 5.422 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.1847, allocations: 4 kB / 0.5569 GB, free: 5.418 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.1847, allocations: 34.56 kB / 0.5569 GB, free: 5.375 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.1847, allocations: 0 / 0.5569 GB, free: 5.375 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006831/0.1854, allocations: 161.3 kB / 0.5571 GB, free: 5.211 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/0.1855, allocations: 81.11 kB / 0.5571 GB, free: 5.113 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.1857, allocations: 155.9 kB / 0.5573 GB, free: 4.953 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.1857, allocations: 25.7 kB / 0.5573 GB, free: 4.922 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.07e-05/0.1858, allocations: 92.14 kB / 0.5574 GB, free: 4.828 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.1858, allocations: 15.84 kB / 0.5574 GB, free: 4.812 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.1858, allocations: 17.72 kB / 0.5574 GB, free: 4.789 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.186, allocations: 322.8 kB / 0.5577 GB, free: 4.465 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.231e-05/0.1861, allocations: 27.97 kB / 0.5578 GB, free: 4.438 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.875e-05/0.1862, allocations: 33.77 kB / 0.5578 GB, free: 4.398 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.1863, allocations: 56.77 kB / 0.5578 GB, free: 4.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1863, allocations: 3.938 kB / 0.5578 GB, free: 4.336 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002314/0.1865, allocations: 89.64 kB / 0.5579 GB, free: 4.242 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1866, allocations: 8 kB / 0.5579 GB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1866, allocations: 0 / 0.5579 GB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.1866, allocations: 0 / 0.5579 GB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.466e-05/0.1867, allocations: 19.92 kB / 0.558 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1867, allocations: 0 / 0.558 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.862e-05/0.1867, allocations: 11.88 kB / 0.558 GB, free: 4.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1867, allocations: 0 / 0.558 GB, free: 4.203 MB / 414.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.0001104/0.1868, allocations: 120 kB / 0.5581 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.31e-05/0.1869, allocations: 11.95 kB / 0.5581 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002875/0.1872, allocations: 97.91 kB / 0.5582 GB, free: 3.961 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1872, allocations: 0 / 0.5582 GB, free: 3.961 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1872, allocations: 0 / 0.5582 GB, free: 3.961 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.1872, allocations: 7.922 kB / 0.5582 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005295/0.1877, allocations: 358.5 kB / 0.5585 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1877, allocations: 0 / 0.5585 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.485e-05/0.1878, allocations: 16.31 kB / 0.5586 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1878, allocations: 0 / 0.5586 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.1878, allocations: 3.938 kB / 0.5586 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.1878, allocations: 4 kB / 0.5586 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.1878, allocations: 7.969 kB / 0.5586 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.1881, allocations: 175.5 kB / 0.5587 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-05/0.1882, allocations: 97.05 kB / 0.5588 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.1882, allocations: 3.938 kB / 0.5588 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.724e-05/0.1883, allocations: 4 kB / 0.5588 GB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.1883, allocations: 7.922 kB / 0.5588 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.1883, allocations: 4 kB / 0.5589 GB, free: 3.195 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001145/0.1884, allocations: 107.3 kB / 0.559 GB, free: 3.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1884, allocations: 0 / 0.559 GB, free: 3.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000326/0.1887, allocations: 39.86 kB / 0.559 GB, free: 3.051 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 (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.002343/0.1911, allocations: 1.112 MB / 0.5601 GB, free: 2.109 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002381/0.1913, allocations: 51.91 kB / 0.5601 GB, free: 2.059 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1913, allocations: 0 / 0.5601 GB, free: 2.059 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.715e-05/0.1914, allocations: 27.97 kB / 0.5602 GB, free: 2.031 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.1918, allocations: 17.31 kB / 0.5602 GB, free: 2.016 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.1939, allocations: 1.45 MB / 0.5616 GB, free: 496 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.1943, allocations: 0.6924 MB / 0.5623 GB, free: 15.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.412e-05/0.1944, allocations: 28.23 kB / 0.5623 GB, free: 15.74 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.734e-05/0.1945, allocations: 27.42 kB / 0.5623 GB, free: 15.71 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1945, allocations: 0 / 0.5623 GB, free: 15.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02362/0.2181, allocations: 3.302 MB / 0.5655 GB, free: 12.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.333/8.551, allocations: 5 kB / 0.5655 GB, free: 12.43 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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: 11.83160938299261]