Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001221/0.001221, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009839/0.0009839, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8839/0.8839, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2362/0.2362, allocations: 34.25 MB / 294.9 MB, free: 0.7344 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.946e-05, allocations: 2.281 kB / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002124/0.002143, allocations: 1.613 MB / 443.8 MB, free: 12 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1701/0.1723, allocations: 0.5182 MB / 444.3 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.459e-05/0.1723, allocations: 6.812 kB / 444.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.1726, allocations: 83 kB / 444.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002552/0.1728, allocations: 127.7 kB / 444.5 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.1731, allocations: 88.2 kB / 444.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.1732, allocations: 92.53 kB / 444.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.1733, allocations: 11.14 kB / 444.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.589e-05/0.1734, allocations: 50.8 kB / 444.8 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.6e-05/0.1735, allocations: 51.23 kB / 444.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.1735, allocations: 7.562 kB / 444.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.051e-05/0.1736, allocations: 45.94 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.755e-05/0.1736, allocations: 23.34 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.1737, allocations: 12.31 kB / 444.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.1738, allocations: 117.1 kB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1738, allocations: 0.7188 kB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1738, allocations: 0 / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1738, allocations: 1.688 kB / 445 MB, free: 43.11 MB / 410.7 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.0003691/0.1742, allocations: 345.2 kB / 445.4 MB, free: 42.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1743, allocations: 8.594 kB / 445.4 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.406e-05/0.1743, allocations: 33.89 kB / 445.4 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.113e-05/0.1743, allocations: 15.31 kB / 445.4 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.1744, allocations: 143.9 kB / 445.6 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.1745, allocations: 384 / 445.6 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.1745, allocations: 3.312 kB / 445.6 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.1746, allocations: 65.52 kB / 445.6 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1746, allocations: 1.031 kB / 445.6 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.1746, allocations: 9.906 kB / 445.6 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1746, allocations: 2.75 kB / 445.6 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.969e-05/0.1747, allocations: 23.16 kB / 445.7 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002445/0.1749, allocations: 259.1 kB / 445.9 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.806e-05/0.175, allocations: 47.72 kB / 446 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.602e-05/0.175, allocations: 21.31 kB / 446 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.175, allocations: 0.5 kB / 446 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.292e-05/0.175, allocations: 39.66 kB / 446 MB, free: 42.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.175, allocations: 0 / 446 MB, free: 42.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005471/0.1756, allocations: 227.3 kB / 446.3 MB, free: 42.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.1756, allocations: 54.64 kB / 446.3 MB, free: 42.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.1757, allocations: 238.6 kB / 446.5 MB, free: 42.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.671e-06/0.1757, allocations: 25.7 kB / 446.6 MB, free: 42.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.223e-05/0.1758, allocations: 108.4 kB / 446.7 MB, free: 41.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.1758, allocations: 26.5 kB / 446.7 MB, free: 41.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.583e-05/0.1758, allocations: 26.47 kB / 446.7 MB, free: 41.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.623e-05/0.1759, allocations: 331.5 kB / 447 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.194e-05/0.1759, allocations: 24.48 kB / 447.1 MB, free: 41.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.381e-05/0.1759, allocations: 27.41 kB / 447.1 MB, free: 41.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.742e-05/0.176, allocations: 60.38 kB / 447.2 MB, free: 41.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.176, allocations: 2.531 kB / 447.2 MB, free: 41.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001096/0.1761, allocations: 99.3 kB / 447.3 MB, free: 41.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1761, allocations: 8.625 kB / 447.3 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1761, allocations: 6.312 kB / 447.3 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1762, allocations: 0 / 447.3 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.859e-05/0.1762, allocations: 17.28 kB / 447.3 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1762, allocations: 0 / 447.3 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.466e-05/0.1763, allocations: 6.453 kB / 447.3 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.1763, allocations: 2.812 kB / 447.3 MB, free: 41.52 MB / 410.7 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 5.651e-05/0.1763, allocations: 139 kB / 447.4 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.1763, allocations: 9.484 kB / 447.4 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001894/0.1765, allocations: 129.2 kB / 447.6 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1765, allocations: 0 / 447.6 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.1765, allocations: 0 / 447.6 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1765, allocations: 2.906 kB / 447.6 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.1768, allocations: 375.2 kB / 447.9 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1768, allocations: 2.906 kB / 447.9 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.999e-05/0.1768, allocations: 19.36 kB / 448 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.1768, allocations: 10.94 kB / 448 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.1769, allocations: 0 / 448 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1769, allocations: 6.844 kB / 448 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1769, allocations: 0 / 448 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.177, allocations: 205.1 kB / 448.2 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.796e-06/0.177, allocations: 6.797 kB / 448.2 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.177, allocations: 7.781 kB / 448.2 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.666e-05/0.177, allocations: 13.17 kB / 448.2 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/0.1771, allocations: 8.438 kB / 448.2 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.1771, allocations: 6.938 kB / 448.2 MB, free: 40.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.794e-05/0.1771, allocations: 177.1 kB / 448.4 MB, free: 40.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1771, allocations: 0 / 448.4 MB, free: 40.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001707/0.1773, allocations: 18.78 kB / 448.4 MB, free: 40.82 MB / 410.7 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.0009486/0.1782, allocations: 1.115 MB / 449.5 MB, free: 40.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001343/0.1784, allocations: 70.61 kB / 449.6 MB, free: 40.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1784, allocations: 3.938 kB / 449.6 MB, free: 40.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.965e-05/0.1784, allocations: 36.31 kB / 449.6 MB, free: 40.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.1787, allocations: 16.45 kB / 449.6 MB, free: 40.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.1797, allocations: 1.719 MB / 451.4 MB, free: 38.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.913e-05/0.1797, allocations: 97.72 kB / 451.5 MB, free: 38.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.212e-05/0.1798, allocations: 13.77 kB / 451.5 MB, free: 38.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.733e-05/0.1798, allocations: 40.27 kB / 451.5 MB, free: 38.61 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1798, allocations: 0 / 451.5 MB, free: 38.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01414/0.194, allocations: 3.905 MB / 455.4 MB, free: 37.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.707/6.901, allocations: 8.078 kB / 455.4 MB, free: 37.24 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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: 8.835043062455952]