Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.0008665/0.0008665, 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.0009597/0.0009597, allocations: 174.3 kB / 23.95 MB, free: 0.6094 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.8983/0.8983, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.7031 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.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 442.2 MB, free: 1.633 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.438e-05/1.576e-05, allocations: 5.094 kB / 442.2 MB, free: 1.629 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002007/0.002022, allocations: 1.603 MB / 443.8 MB, free: 12 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1701/0.1721, allocations: 0.5417 MB / 444.3 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.867e-05/0.1722, allocations: 0 / 444.3 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002207/0.1724, allocations: 67.23 kB / 444.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.1726, allocations: 110 kB / 444.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.1728, allocations: 119 kB / 444.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.1729, allocations: 85.89 kB / 444.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.982e-05/0.173, allocations: 16.48 kB / 444.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.552e-05/0.1731, allocations: 46.53 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.323e-05/0.1732, allocations: 42.25 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.1732, allocations: 5.781 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.625e-05/0.1732, allocations: 45.02 kB / 444.9 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.181e-05/0.1733, allocations: 20.03 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.444e-05/0.1733, allocations: 22.08 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.1734, allocations: 102.2 kB / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1734, allocations: 0 / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1734, allocations: 0 / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1735, allocations: 0 / 445 MB, free: 43.12 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.0003117/0.1738, allocations: 341 kB / 445.3 MB, free: 42.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.1738, allocations: 8.719 kB / 445.4 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.118e-05/0.1738, allocations: 33.69 kB / 445.4 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.454e-05/0.1738, allocations: 7.703 kB / 445.4 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.174, allocations: 153.6 kB / 445.5 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.174, allocations: 384 / 445.5 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.174, allocations: 7.156 kB / 445.5 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.1741, allocations: 60.94 kB / 445.6 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.1741, allocations: 192 / 445.6 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.1741, allocations: 3.938 kB / 445.6 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1741, allocations: 0 / 445.6 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.563e-05/0.1742, allocations: 27.5 kB / 445.6 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002434/0.1744, allocations: 274.1 kB / 445.9 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.501e-05/0.1745, allocations: 43.69 kB / 446 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.595e-05/0.1745, allocations: 17.64 kB / 446 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.1745, allocations: 2.906 kB / 446 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.327e-05/0.1745, allocations: 33.94 kB / 446 MB, free: 42.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.502e-06/0.1745, allocations: 2.906 kB / 446 MB, free: 42.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005315/0.1751, allocations: 236.3 kB / 446.2 MB, free: 42.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.833e-05/0.1751, allocations: 55.41 kB / 446.3 MB, free: 42.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.1752, allocations: 200.6 kB / 446.5 MB, free: 42.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.302e-06/0.1752, allocations: 25.7 kB / 446.5 MB, free: 42.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.774e-05/0.1752, allocations: 107 kB / 446.6 MB, free: 41.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.1752, allocations: 29.25 kB / 446.6 MB, free: 41.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.1753, allocations: 24.47 kB / 446.7 MB, free: 41.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.587e-05/0.1753, allocations: 328.6 kB / 447 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.302e-05/0.1753, allocations: 34.39 kB / 447 MB, free: 41.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.711e-05/0.1754, allocations: 30.09 kB / 447.1 MB, free: 41.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.182e-05/0.1754, allocations: 73.48 kB / 447.1 MB, free: 41.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1754, allocations: 0 / 447.1 MB, free: 41.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001159/0.1756, allocations: 115.9 kB / 447.2 MB, free: 41.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.1756, allocations: 5.875 kB / 447.2 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1756, allocations: 2.844 kB / 447.2 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.1756, allocations: 0 / 447.2 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.365e-05/0.1757, allocations: 21.66 kB / 447.3 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.1757, allocations: 0 / 447.3 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.06e-05/0.1757, allocations: 10.23 kB / 447.3 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.1757, allocations: 6.844 kB / 447.3 MB, free: 41.53 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.443e-05/0.1757, allocations: 128.6 kB / 447.4 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.1757, allocations: 13.88 kB / 447.4 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001559/0.1759, allocations: 129.1 kB / 447.5 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1759, allocations: 0 / 447.5 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1759, allocations: 0 / 447.5 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1759, allocations: 0 / 447.5 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.1762, allocations: 383.2 kB / 447.9 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1762, allocations: 6.438 kB / 447.9 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.29e-05/0.1762, allocations: 17.52 kB / 447.9 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1762, allocations: 0 / 447.9 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.1762, allocations: 0 / 447.9 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1762, allocations: 6.938 kB / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1762, allocations: 0 / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.1763, allocations: 224.3 kB / 448.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-06/0.1763, allocations: 11.36 kB / 448.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.1764, allocations: 5.781 kB / 448.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.186e-05/0.1764, allocations: 12.52 kB / 448.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.539e-05/0.1764, allocations: 8.984 kB / 448.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-06/0.1764, allocations: 6.594 kB / 448.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.677e-05/0.1765, allocations: 149.8 kB / 448.4 MB, free: 40.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1765, allocations: 2.969 kB / 448.4 MB, free: 40.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001642/0.1766, allocations: 21.34 kB / 448.4 MB, free: 40.85 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.0008457/0.1775, allocations: 1.123 MB / 449.5 MB, free: 40.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001302/0.1776, allocations: 79.41 kB / 449.6 MB, free: 40.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.1776, allocations: 4 kB / 449.6 MB, free: 40.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.436e-05/0.1777, allocations: 40.14 kB / 449.6 MB, free: 40.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.1779, allocations: 23.86 kB / 449.7 MB, free: 40.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009023/0.1788, allocations: 1.679 MB / 451.3 MB, free: 38.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.609e-05/0.1789, allocations: 98.91 kB / 451.4 MB, free: 38.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.578e-05/0.1789, allocations: 17.22 kB / 451.4 MB, free: 38.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.1789, allocations: 33.48 kB / 451.5 MB, free: 38.64 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.1789, allocations: 0 / 451.5 MB, free: 38.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0162/0.1951, allocations: 3.834 MB / 455.3 MB, free: 37.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.603/6.798, allocations: 0 / 455.3 MB, free: 37.27 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test3_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.731713072396815]