Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.000796/0.000796, allocations: 79.7 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.0007924/0.0007924, allocations: 170 kB / 23.94 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.8971/0.8971, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2275/0.2275, allocations: 34.25 MB / 294.9 MB, free: 0.7109 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.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.22e-05, allocations: 2.281 kB / 442.2 MB, free: 1.633 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002623/0.002645, allocations: 1.61 MB / 443.8 MB, free: 12 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1691/0.1718, allocations: 0.5248 MB / 444.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.603e-05/0.1718, allocations: 0 / 444.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.1721, allocations: 71.81 kB / 444.4 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002458/0.1723, allocations: 107.8 kB / 444.5 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.1726, allocations: 99.81 kB / 444.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.1727, allocations: 80.47 kB / 444.7 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.869e-05/0.1728, allocations: 9.859 kB / 444.7 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.805e-05/0.1728, allocations: 47.95 kB / 444.7 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.803e-05/0.1729, allocations: 48.3 kB / 444.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.1729, allocations: 5.562 kB / 444.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.98e-05/0.173, allocations: 45.98 kB / 444.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.45e-05/0.173, allocations: 19.8 kB / 444.9 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.409e-05/0.1731, allocations: 15.53 kB / 444.9 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.1732, allocations: 101.4 kB / 445 MB, free: 43.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1732, allocations: 3 kB / 445 MB, free: 43.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1732, allocations: 0 / 445 MB, free: 43.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1732, allocations: 0.7188 kB / 445 MB, free: 43.16 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.0003279/0.1735, allocations: 338 kB / 445.3 MB, free: 42.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1736, allocations: 10.31 kB / 445.3 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.195e-05/0.1736, allocations: 37.06 kB / 445.4 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.65e-05/0.1736, allocations: 10.73 kB / 445.4 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.1737, allocations: 139.1 kB / 445.5 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.1738, allocations: 10.03 kB / 445.5 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.1738, allocations: 4.281 kB / 445.5 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.1739, allocations: 59 kB / 445.6 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1739, allocations: 3 kB / 445.6 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.1739, allocations: 4.438 kB / 445.6 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1739, allocations: 3.312 kB / 445.6 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.604e-05/0.174, allocations: 28.28 kB / 445.6 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002529/0.1742, allocations: 255.6 kB / 445.9 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.747e-05/0.1743, allocations: 46.17 kB / 445.9 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.71e-05/0.1743, allocations: 17.56 kB / 445.9 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.1743, allocations: 2.75 kB / 445.9 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.41e-05/0.1744, allocations: 30.56 kB / 446 MB, free: 42.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1744, allocations: 2.219 kB / 446 MB, free: 42.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000582/0.1749, allocations: 216.3 kB / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.175, allocations: 57.22 kB / 446.2 MB, free: 42.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.1751, allocations: 201.2 kB / 446.4 MB, free: 42.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.813e-06/0.1751, allocations: 25.7 kB / 446.4 MB, free: 42.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.34e-05/0.1751, allocations: 108.8 kB / 446.6 MB, free: 41.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.1751, allocations: 29.67 kB / 446.6 MB, free: 41.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.1752, allocations: 22.19 kB / 446.6 MB, free: 41.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.293e-05/0.1752, allocations: 332 kB / 446.9 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.662e-05/0.1753, allocations: 25.69 kB / 447 MB, free: 41.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.62e-05/0.1753, allocations: 32.3 kB / 447 MB, free: 41.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.686e-05/0.1754, allocations: 55.86 kB / 447 MB, free: 41.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1754, allocations: 2.812 kB / 447 MB, free: 41.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000109/0.1755, allocations: 97.31 kB / 447.1 MB, free: 41.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.1755, allocations: 5.969 kB / 447.1 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.1755, allocations: 6.844 kB / 447.1 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1755, allocations: 5.828 kB / 447.2 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.503e-05/0.1756, allocations: 20.86 kB / 447.2 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1756, allocations: 0 / 447.2 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.196e-05/0.1756, allocations: 6.312 kB / 447.2 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.1756, allocations: 6.75 kB / 447.2 MB, free: 41.57 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 4.576e-05/0.1757, allocations: 125 kB / 447.3 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.6e-05/0.1757, allocations: 13.38 kB / 447.3 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001568/0.1758, allocations: 117 kB / 447.4 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1758, allocations: 2.719 kB / 447.4 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.1758, allocations: 0 / 447.4 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1758, allocations: 3.281 kB / 447.4 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.1761, allocations: 366 kB / 447.8 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1761, allocations: 0 / 447.8 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.364e-05/0.1761, allocations: 19.98 kB / 447.8 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1761, allocations: 2.875 kB / 447.8 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.1761, allocations: 7.078 kB / 447.8 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1761, allocations: 6.688 kB / 447.8 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1761, allocations: 0 / 447.8 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.1763, allocations: 207 kB / 448 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-06/0.1763, allocations: 6.547 kB / 448 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.1763, allocations: 7.125 kB / 448.1 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.608e-05/0.1763, allocations: 16.06 kB / 448.1 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.1763, allocations: 5.938 kB / 448.1 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.1763, allocations: 2.75 kB / 448.1 MB, free: 40.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.022e-05/0.1764, allocations: 160.5 kB / 448.2 MB, free: 40.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1764, allocations: 0 / 448.2 MB, free: 40.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001641/0.1766, allocations: 21.19 kB / 448.3 MB, free: 40.89 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.0008884/0.1775, allocations: 1.123 MB / 449.4 MB, free: 40.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001364/0.1776, allocations: 64.86 kB / 449.4 MB, free: 40.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1776, allocations: 0 / 449.4 MB, free: 40.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.153e-05/0.1776, allocations: 34.23 kB / 449.5 MB, free: 40.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.1779, allocations: 17.78 kB / 449.5 MB, free: 40.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.1789, allocations: 1.641 MB / 451.1 MB, free: 38.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.048e-05/0.179, allocations: 90.55 kB / 451.2 MB, free: 38.76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.121e-05/0.179, allocations: 17.36 kB / 451.2 MB, free: 38.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.126e-05/0.1791, allocations: 36 kB / 451.3 MB, free: 38.73 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1791, allocations: 0 / 451.3 MB, free: 38.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01571/0.1948, allocations: 3.776 MB / 455 MB, free: 37.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.659/6.854, allocations: 6.938 kB / 455.1 MB, free: 37.37 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.79645309690386]