Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001234/0.001234, 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.001478/0.001478, 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.584/1.584, 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.2678/0.2678, allocations: 44.9 MB / 355.8 MB, free: 12.41 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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",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.002043/0.002043, allocations: 69.94 kB / 0.4886 GB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1694, allocations: 65.43 MB / 0.5525 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003331/0.1727, allocations: 1.599 MB / 0.554 GB, free: 8.508 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.1746, allocations: 1.164 MB / 0.5552 GB, free: 7.336 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.783e-05/0.1747, allocations: 7.938 kB / 0.5552 GB, free: 7.328 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.1749, allocations: 19.86 kB / 0.5552 GB, free: 7.309 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.1753, allocations: 87.61 kB / 0.5553 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.1755, allocations: 83.75 kB / 0.5554 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.1757, allocations: 71.77 kB / 0.5554 GB, free: 7.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1758, allocations: 11.94 kB / 0.5554 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.504e-05/0.1759, allocations: 31.84 kB / 0.5555 GB, free: 7.027 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.1761, allocations: 35.84 kB / 0.5555 GB, free: 6.992 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.1761, allocations: 4 kB / 0.5555 GB, free: 6.988 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/0.1763, allocations: 103.9 kB / 0.5556 GB, free: 6.887 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.457e-05/0.1764, allocations: 11.92 kB / 0.5556 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.837e-05/0.1764, allocations: 27.86 kB / 0.5556 GB, free: 6.848 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.1767, allocations: 131.5 kB / 0.5558 GB, free: 6.719 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.1767, allocations: 0 / 0.5558 GB, free: 6.719 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1767, allocations: 0 / 0.5558 GB, free: 6.719 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.1767, allocations: 4 kB / 0.5558 GB, free: 6.715 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.0006849/0.1774, allocations: 402.7 kB / 0.5562 GB, free: 6.273 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.1775, allocations: 8.031 kB / 0.5562 GB, free: 6.266 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.989e-05/0.1775, allocations: 8.188 kB / 0.5562 GB, free: 6.258 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.402e-05/0.1775, allocations: 38.73 kB / 0.5562 GB, free: 6.211 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.1776, allocations: 4.891 kB / 0.5562 GB, free: 6.207 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.1779, allocations: 204.1 kB / 0.5564 GB, free: 5.969 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.1779, allocations: 384 / 0.5564 GB, free: 5.969 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.1779, allocations: 8.125 kB / 0.5564 GB, free: 5.961 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.1781, allocations: 59.41 kB / 0.5565 GB, free: 5.891 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1781, allocations: 0 / 0.5565 GB, free: 5.891 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1781, allocations: 4 kB / 0.5565 GB, free: 5.887 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.1781, allocations: 0 / 0.5565 GB, free: 5.887 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.1782, allocations: 27.91 kB / 0.5565 GB, free: 5.859 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.1786, allocations: 276.9 kB / 0.5568 GB, free: 5.539 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.1789, allocations: 38.56 kB / 0.5568 GB, free: 5.492 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.269e-05/0.1789, allocations: 24.94 kB / 0.5568 GB, free: 5.465 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.179, allocations: 7.938 kB / 0.5568 GB, free: 5.457 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.179, allocations: 30.56 kB / 0.5569 GB, free: 5.418 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.179, allocations: 0 / 0.5569 GB, free: 5.418 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006276/0.1796, allocations: 141.4 kB / 0.557 GB, free: 5.273 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/0.1797, allocations: 77.11 kB / 0.5571 GB, free: 5.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.1799, allocations: 155.8 kB / 0.5572 GB, free: 5.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.1799, allocations: 25.7 kB / 0.5572 GB, free: 4.988 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.499e-05/0.1799, allocations: 92.14 kB / 0.5573 GB, free: 4.895 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/0.18, allocations: 23.84 kB / 0.5574 GB, free: 4.871 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.18, allocations: 17.72 kB / 0.5574 GB, free: 4.848 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1802, allocations: 314.8 kB / 0.5577 GB, free: 4.531 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.195e-05/0.1803, allocations: 19.98 kB / 0.5577 GB, free: 4.512 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.94e-05/0.1803, allocations: 33.7 kB / 0.5577 GB, free: 4.473 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.1805, allocations: 48.83 kB / 0.5578 GB, free: 4.422 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1805, allocations: 0 / 0.5578 GB, free: 4.422 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002077/0.1807, allocations: 81.56 kB / 0.5578 GB, free: 4.336 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.1807, allocations: 4 kB / 0.5578 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1807, allocations: 0 / 0.5578 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.1807, allocations: 11.97 kB / 0.5579 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.177e-05/0.1808, allocations: 11.98 kB / 0.5579 GB, free: 4.309 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1808, allocations: 3.984 kB / 0.5579 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.479e-05/0.1809, allocations: 11.88 kB / 0.5579 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.148e-06/0.1809, allocations: 4 kB / 0.5579 GB, free: 4.289 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.0001066/0.181, allocations: 120 kB / 0.558 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.181, allocations: 7.953 kB / 0.558 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002619/0.1813, allocations: 93.91 kB / 0.5581 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1813, allocations: 0 / 0.5581 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1813, allocations: 0 / 0.5581 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.1813, allocations: 4.531 kB / 0.5581 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005156/0.1818, allocations: 354.5 kB / 0.5584 GB, free: 3.648 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1818, allocations: 0 / 0.5584 GB, free: 3.648 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.099e-05/0.1819, allocations: 19.88 kB / 0.5585 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.1819, allocations: 3.984 kB / 0.5585 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.1819, allocations: 7.938 kB / 0.5585 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1819, allocations: 3.984 kB / 0.5585 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1819, allocations: 4 kB / 0.5585 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.1822, allocations: 171.5 kB / 0.5586 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.1822, allocations: 85.06 kB / 0.5587 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.1823, allocations: 7.922 kB / 0.5587 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.942e-05/0.1823, allocations: 8 kB / 0.5587 GB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.1824, allocations: 4 kB / 0.5587 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.1824, allocations: 0 / 0.5587 GB, free: 3.305 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.1825, allocations: 117.8 kB / 0.5589 GB, free: 3.191 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1825, allocations: 0 / 0.5589 GB, free: 3.191 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003132/0.1828, allocations: 39.86 kB / 0.5589 GB, free: 3.152 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.002391/0.1852, allocations: 1.098 MB / 0.56 GB, free: 2.219 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002667/0.1855, allocations: 43.97 kB / 0.56 GB, free: 2.176 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1855, allocations: 0 / 0.56 GB, free: 2.176 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.885e-05/0.1856, allocations: 32.05 kB / 0.56 GB, free: 2.145 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000555/0.1861, allocations: 17.3 kB / 0.5601 GB, free: 2.129 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.1884, allocations: 1.438 MB / 0.5615 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.1888, allocations: 0.6885 MB / 0.5621 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.504e-05/0.1889, allocations: 11.78 kB / 0.5621 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.257e-05/0.189, allocations: 27.41 kB / 0.5622 GB, free: 15.86 MB / 430.1 MB Notification: Performance of SimCode: time 1.563e-06/0.189, allocations: 4 kB / 0.5622 GB, free: 15.86 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.211, allocations: 3.281 MB / 0.5654 GB, free: 12.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.463/8.674, allocations: 12.94 kB / 0.5654 GB, free: 12.58 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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: 12.093648126989137]