Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.0008281/0.0008281, allocations: 83.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.0008365/0.0008365, allocations: 170 kB / 23.95 MB, free: 0.6172 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.8838/0.8838, allocations: 177.1 MB / 204.3 MB, free: 5.738 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.232/0.232, allocations: 34.25 MB / 294.9 MB, free: 0.7266 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.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.116e-05, allocations: 2.281 kB / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.002269/0.00229, allocations: 1.595 MB / 443.8 MB, free: 60 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1703/0.1726, allocations: 0.5261 MB / 444.3 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.971e-05/0.1727, allocations: 0 / 444.3 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.1729, allocations: 29.09 kB / 444.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.1731, allocations: 74.36 kB / 444.4 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.1734, allocations: 120.9 kB / 444.5 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.1735, allocations: 69.84 kB / 444.6 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.253e-05/0.1736, allocations: 12.16 kB / 444.6 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.922e-05/0.1736, allocations: 35.75 kB / 444.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.786e-05/0.1737, allocations: 15.62 kB / 444.7 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.1737, allocations: 2.844 kB / 444.7 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.339e-05/0.1737, allocations: 30.19 kB / 444.7 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.472e-05/0.1738, allocations: 19.03 kB / 444.7 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.1738, allocations: 12.22 kB / 444.7 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.174, allocations: 82.78 kB / 444.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.174, allocations: 5.125 kB / 444.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.174, allocations: 0 / 444.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.174, allocations: 0 / 444.8 MB, free: 43.18 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003297/0.1743, allocations: 313.7 kB / 445.1 MB, free: 42.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1743, allocations: 10.47 kB / 445.1 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.11e-05/0.1744, allocations: 33.94 kB / 445.2 MB, free: 42.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.632e-05/0.1744, allocations: 14.2 kB / 445.2 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.1745, allocations: 142 kB / 445.3 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.1745, allocations: 3.219 kB / 445.3 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.1745, allocations: 384 / 445.3 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.1746, allocations: 50.3 kB / 445.4 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1746, allocations: 192 / 445.4 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.1746, allocations: 10.16 kB / 445.4 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1746, allocations: 0 / 445.4 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.237e-05/0.1747, allocations: 18.55 kB / 445.4 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/0.1749, allocations: 256.4 kB / 445.6 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.1751, allocations: 47.11 kB / 445.7 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.532e-05/0.1751, allocations: 20.92 kB / 445.7 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.1751, allocations: 0 / 445.7 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.162e-05/0.1751, allocations: 33.8 kB / 445.7 MB, free: 42.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1751, allocations: 3 kB / 445.7 MB, free: 42.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.00036/0.1755, allocations: 151.8 kB / 445.9 MB, free: 42.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.1755, allocations: 58.06 kB / 446 MB, free: 42.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.291e-05/0.1756, allocations: 161.7 kB / 446.1 MB, free: 42.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.551e-06/0.1756, allocations: 25.7 kB / 446.1 MB, free: 42.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.685e-05/0.1756, allocations: 103.7 kB / 446.2 MB, free: 42.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.1757, allocations: 21.77 kB / 446.3 MB, free: 42.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/0.1757, allocations: 12.84 kB / 446.3 MB, free: 42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.865e-05/0.1757, allocations: 325 kB / 446.6 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.783e-05/0.1757, allocations: 20.48 kB / 446.6 MB, free: 41.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.885e-05/0.1758, allocations: 28.67 kB / 446.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.572e-05/0.1758, allocations: 54.3 kB / 446.7 MB, free: 41.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1758, allocations: 0 / 446.7 MB, free: 41.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.383e-05/0.1759, allocations: 90.09 kB / 446.8 MB, free: 41.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.1759, allocations: 2.812 kB / 446.8 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1759, allocations: 2.969 kB / 446.8 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.176, allocations: 0 / 446.8 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.747e-05/0.176, allocations: 12 kB / 446.8 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.176, allocations: 0 / 446.8 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.892e-05/0.176, allocations: 10.69 kB / 446.8 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.176, allocations: 7.938 kB / 446.8 MB, free: 41.62 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 (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 4.243e-05/0.1761, allocations: 125.8 kB / 446.9 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.385e-05/0.1761, allocations: 7.047 kB / 446.9 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001431/0.1762, allocations: 99.61 kB / 447 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1762, allocations: 0 / 447 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1762, allocations: 0 / 447 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1762, allocations: 3.188 kB / 447 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.1764, allocations: 333.5 kB / 447.4 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1764, allocations: 0 / 447.4 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.797e-05/0.1765, allocations: 11.81 kB / 447.4 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1765, allocations: 4.234 kB / 447.4 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.1765, allocations: 0 / 447.4 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1765, allocations: 0 / 447.4 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1765, allocations: 3.938 kB / 447.4 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.512e-05/0.1766, allocations: 186.4 kB / 447.6 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.254e-06/0.1766, allocations: 6.891 kB / 447.6 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.1766, allocations: 4 kB / 447.6 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.236e-05/0.1766, allocations: 6.625 kB / 447.6 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.55e-05/0.1767, allocations: 10.3 kB / 447.6 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.1767, allocations: 0 / 447.6 MB, free: 41.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.219e-05/0.1767, allocations: 126.6 kB / 447.7 MB, free: 40.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1767, allocations: 0 / 447.7 MB, free: 40.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001575/0.1769, allocations: 19.34 kB / 447.7 MB, free: 40.97 MB / 410.7 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.0007768/0.1776, allocations: 1.046 MB / 448.8 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.1778, allocations: 58.23 kB / 448.8 MB, free: 40.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1778, allocations: 0 / 448.8 MB, free: 40.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.371e-05/0.1778, allocations: 26.95 kB / 448.9 MB, free: 40.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.178, allocations: 17.2 kB / 448.9 MB, free: 40.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008233/0.1789, allocations: 1.499 MB / 450.4 MB, free: 39.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.372e-05/0.1789, allocations: 87.31 kB / 450.5 MB, free: 38.97 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.388e-05/0.179, allocations: 15.5 kB / 450.5 MB, free: 38.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.179, allocations: 24.11 kB / 450.5 MB, free: 38.96 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.179, allocations: 0 / 450.5 MB, free: 38.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01659/0.1956, allocations: 3.329 MB / 453.8 MB, free: 37.67 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.648/6.844, allocations: 3.438 kB / 453.8 MB, free: 37.67 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test7_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.760914131999016]