Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.001641/0.001641, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.002029/0.002029, allocations: 215 kB / 21.45 MB, free: 1.641 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.525/1.525, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.2312/0.2312, allocations: 44.91 MB / 355.8 MB, free: 12.32 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.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32",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.002872/0.002872, allocations: 67.89 kB / 0.4886 GB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1723, allocations: 65.42 MB / 0.5525 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003459/0.1758, allocations: 1.632 MB / 0.5541 GB, free: 8.469 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.1769, allocations: 0.5377 MB / 0.5546 GB, free: 7.926 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.541e-05/0.1769, allocations: 4 kB / 0.5546 GB, free: 7.922 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003472/0.1773, allocations: 99.72 kB / 0.5547 GB, free: 7.824 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003276/0.1776, allocations: 127.5 kB / 0.5548 GB, free: 7.699 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.1779, allocations: 87.75 kB / 0.5549 GB, free: 7.613 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.1781, allocations: 95.75 kB / 0.555 GB, free: 7.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.1783, allocations: 19.92 kB / 0.555 GB, free: 7.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.772e-05/0.1783, allocations: 39.84 kB / 0.555 GB, free: 7.461 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.1785, allocations: 79.72 kB / 0.5551 GB, free: 7.383 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.1785, allocations: 0 / 0.5551 GB, free: 7.383 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.1786, allocations: 47.97 kB / 0.5552 GB, free: 7.336 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.463e-05/0.1787, allocations: 19.92 kB / 0.5552 GB, free: 7.316 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.986e-05/0.1787, allocations: 35.69 kB / 0.5552 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.1789, allocations: 119.4 kB / 0.5553 GB, free: 7.164 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.1789, allocations: 8 kB / 0.5553 GB, free: 7.156 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1789, allocations: 0 / 0.5553 GB, free: 7.156 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1789, allocations: 0 / 0.5553 GB, free: 7.156 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005913/0.1795, allocations: 430.6 kB / 0.5557 GB, free: 6.688 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.1796, allocations: 12.03 kB / 0.5558 GB, free: 6.676 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.386e-05/0.1796, allocations: 192 / 0.5558 GB, free: 6.676 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.919e-05/0.1796, allocations: 30.75 kB / 0.5558 GB, free: 6.637 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.1797, allocations: 12.89 kB / 0.5558 GB, free: 6.625 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.1799, allocations: 212.9 kB / 0.556 GB, free: 6.375 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1799, allocations: 4.375 kB / 0.556 GB, free: 6.371 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.1799, allocations: 16.06 kB / 0.556 GB, free: 6.355 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.1801, allocations: 49.67 kB / 0.5561 GB, free: 6.301 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.1801, allocations: 3.953 kB / 0.5561 GB, free: 6.297 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.1801, allocations: 4 kB / 0.5561 GB, free: 6.293 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1801, allocations: 4 kB / 0.5561 GB, free: 6.289 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.78e-05/0.1802, allocations: 23.97 kB / 0.5561 GB, free: 6.266 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000401/0.1806, allocations: 304.8 kB / 0.5564 GB, free: 5.918 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.1807, allocations: 46.5 kB / 0.5564 GB, free: 5.863 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.345e-05/0.1807, allocations: 16.94 kB / 0.5565 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.1808, allocations: 0 / 0.5565 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.1808, allocations: 34.56 kB / 0.5565 GB, free: 5.801 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1808, allocations: 0 / 0.5565 GB, free: 5.801 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008913/0.1817, allocations: 237.1 kB / 0.5567 GB, free: 5.562 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.1817, allocations: 59.34 kB / 0.5568 GB, free: 5.492 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/0.182, allocations: 254.1 kB / 0.557 GB, free: 5.234 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.182, allocations: 29.7 kB / 0.557 GB, free: 5.199 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.096e-05/0.1821, allocations: 112.1 kB / 0.5571 GB, free: 5.086 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.853e-05/0.1822, allocations: 27.75 kB / 0.5572 GB, free: 5.059 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.081e-05/0.1822, allocations: 25.7 kB / 0.5572 GB, free: 5.027 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.1824, allocations: 326.8 kB / 0.5575 GB, free: 4.699 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.92e-05/0.1825, allocations: 19.98 kB / 0.5575 GB, free: 4.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.512e-05/0.1825, allocations: 24.06 kB / 0.5576 GB, free: 4.656 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.1827, allocations: 68.81 kB / 0.5576 GB, free: 4.586 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1827, allocations: 0 / 0.5576 GB, free: 4.586 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002229/0.1829, allocations: 101.6 kB / 0.5577 GB, free: 4.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.183, allocations: 10.03 kB / 0.5577 GB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.183, allocations: 0 / 0.5577 GB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.183, allocations: 0 / 0.5577 GB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.1831, allocations: 23.92 kB / 0.5577 GB, free: 4.449 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1831, allocations: 3.938 kB / 0.5578 GB, free: 4.445 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.386e-05/0.1831, allocations: 8 kB / 0.5578 GB, free: 4.438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.1831, allocations: 4 kB / 0.5578 GB, free: 4.434 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 (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 0.0001367/0.1833, allocations: 128 kB / 0.5579 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.1833, allocations: 15.91 kB / 0.5579 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/0.1836, allocations: 127.3 kB / 0.558 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1836, allocations: 0 / 0.558 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.1836, allocations: 3.938 kB / 0.558 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1836, allocations: 7.984 kB / 0.558 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005993/0.1842, allocations: 411.3 kB / 0.5584 GB, free: 3.676 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/0.1842, allocations: 3.938 kB / 0.5584 GB, free: 3.672 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.242e-05/0.1843, allocations: 19.98 kB / 0.5584 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1843, allocations: 4 kB / 0.5585 GB, free: 3.648 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.1843, allocations: 0 / 0.5585 GB, free: 3.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1843, allocations: 0 / 0.5585 GB, free: 3.648 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1843, allocations: 4.031 kB / 0.5585 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.1846, allocations: 220.1 kB / 0.5587 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.486e-05/0.1847, allocations: 85 kB / 0.5587 GB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.1847, allocations: 4 kB / 0.5588 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.636e-05/0.1848, allocations: 11.92 kB / 0.5588 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.1848, allocations: 8 kB / 0.5588 GB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.1848, allocations: 0 / 0.5588 GB, free: 3.285 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001857/0.185, allocations: 192.4 kB / 0.559 GB, free: 3.098 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.185, allocations: 0 / 0.559 GB, free: 3.098 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002698/0.1853, allocations: 27.92 kB / 0.559 GB, free: 3.07 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.00229/0.1876, allocations: 1.082 MB / 0.56 GB, free: 2.148 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002464/0.1878, allocations: 59.97 kB / 0.5601 GB, free: 2.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1878, allocations: 0 / 0.5601 GB, free: 2.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.1879, allocations: 43.91 kB / 0.5601 GB, free: 2.047 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.1883, allocations: 22.8 kB / 0.5602 GB, free: 2.027 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.1906, allocations: 1.769 MB / 0.5619 GB, free: 168 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.191, allocations: 0.7119 MB / 0.5626 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.649e-05/0.1911, allocations: 4.672 kB / 0.5626 GB, free: 15.42 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.238e-05/0.1912, allocations: 39.42 kB / 0.5626 GB, free: 15.38 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1912, allocations: 8.031 kB / 0.5626 GB, free: 15.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01896/0.2101, allocations: 3.336 MB / 0.5659 GB, free: 12.1 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.495/8.705, allocations: 8.938 kB / 0.5659 GB, free: 12.09 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.963409938965924]