Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008469/0.0008469, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008599/0.0008599, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8939/0.8939, allocations: 177 MB / 204.1 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2565/0.2565, allocations: 34.24 MB / 294.8 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 442.2 MB, free: 1.543 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.094e-05, allocations: 9.031 kB / 442.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.1694/0.1694, allocations: 1.687 MB / 443.9 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007192/0.1701, allocations: 0.5491 MB / 444.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.99e-05/0.1702, allocations: 0 / 444.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001934/0.1704, allocations: 29.8 kB / 444.5 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.1706, allocations: 88.41 kB / 444.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.1708, allocations: 131.8 kB / 444.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.171, allocations: 98.44 kB / 444.8 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.869e-05/0.171, allocations: 12.8 kB / 444.8 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.827e-05/0.1711, allocations: 46.53 kB / 444.8 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.967e-05/0.1712, allocations: 36.14 kB / 444.9 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.1712, allocations: 8.594 kB / 444.9 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.1713, allocations: 98.62 kB / 445 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.624e-05/0.1714, allocations: 25.11 kB / 445 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.405e-05/0.1714, allocations: 26.8 kB / 445 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.1716, allocations: 180.9 kB / 445.2 MB, free: 43.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.1716, allocations: 2.875 kB / 445.2 MB, free: 43.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1716, allocations: 0 / 445.2 MB, free: 43.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1716, allocations: 0 / 445.2 MB, free: 43.02 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.0005149/0.1721, allocations: 363.8 kB / 445.5 MB, free: 42.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.1721, allocations: 10.78 kB / 445.6 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.862e-05/0.1722, allocations: 37.44 kB / 445.6 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.1722, allocations: 14.59 kB / 445.6 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.1724, allocations: 146.4 kB / 445.7 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.1724, allocations: 8.25 kB / 445.8 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.1724, allocations: 3.25 kB / 445.8 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.1726, allocations: 119.5 kB / 445.9 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1726, allocations: 3.125 kB / 445.9 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-06/0.1726, allocations: 384 / 445.9 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1726, allocations: 4.125 kB / 445.9 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.1727, allocations: 68.98 kB / 446 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002901/0.173, allocations: 271.5 kB / 446.2 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.1731, allocations: 67.91 kB / 446.3 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.361e-05/0.1732, allocations: 45.05 kB / 446.3 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.1732, allocations: 4.562 kB / 446.3 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.1733, allocations: 37.34 kB / 446.4 MB, free: 42.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1733, allocations: 0 / 446.4 MB, free: 42.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008109/0.1741, allocations: 388.8 kB / 446.7 MB, free: 42.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.1741, allocations: 80.3 kB / 446.8 MB, free: 41.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.138e-05/0.1742, allocations: 161.9 kB / 447 MB, free: 41.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.644e-06/0.1742, allocations: 29.08 kB / 447 MB, free: 41.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.917e-05/0.1742, allocations: 107.6 kB / 447.1 MB, free: 41.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.1742, allocations: 26.25 kB / 447.1 MB, free: 41.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.1743, allocations: 28.48 kB / 447.2 MB, free: 41.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.792e-05/0.1743, allocations: 324 kB / 447.5 MB, free: 41.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.1744, allocations: 69.53 kB / 447.6 MB, free: 41.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.1746, allocations: 119.7 kB / 447.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.1748, allocations: 140.9 kB / 447.8 MB, free: 41.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1748, allocations: 2.781 kB / 447.8 MB, free: 41.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002996/0.1751, allocations: 202.8 kB / 448 MB, free: 41.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.1751, allocations: 5.094 kB / 448 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1751, allocations: 0 / 448 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1751, allocations: 0 / 448 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.1752, allocations: 43.53 kB / 448.1 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1752, allocations: 3.062 kB / 448.1 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.903e-05/0.1753, allocations: 21.28 kB / 448.1 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.1753, allocations: 2.812 kB / 448.1 MB, free: 41.28 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 (10): * Single equations (assignments): 10 * 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.705e-05/0.1754, allocations: 123.2 kB / 448.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.1754, allocations: 12.36 kB / 448.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00031/0.1757, allocations: 206.3 kB / 448.4 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.1757, allocations: 2.906 kB / 448.4 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1757, allocations: 0 / 448.4 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.1757, allocations: 3.422 kB / 448.4 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004362/0.1761, allocations: 463.3 kB / 448.9 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1761, allocations: 0 / 448.9 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.05e-05/0.1762, allocations: 36.94 kB / 448.9 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1762, allocations: 5.719 kB / 448.9 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.1762, allocations: 3.938 kB / 448.9 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1762, allocations: 0 / 448.9 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1762, allocations: 6.281 kB / 448.9 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.1765, allocations: 287.9 kB / 449.2 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.189e-05/0.1765, allocations: 18.12 kB / 449.2 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.1765, allocations: 2.906 kB / 449.2 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.22e-05/0.1766, allocations: 22.08 kB / 449.3 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.1767, allocations: 19.92 kB / 449.3 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.1767, allocations: 2.812 kB / 449.3 MB, free: 40.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.034e-05/0.1767, allocations: 128 kB / 449.4 MB, free: 40.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1767, allocations: 0 / 449.4 MB, free: 40.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001919/0.1769, allocations: 51.11 kB / 449.4 MB, free: 40.5 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 (9): * Single equations (assignments): 9 * 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.001107/0.178, allocations: 1.23 MB / 450.7 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003129/0.1783, allocations: 156.8 kB / 450.8 MB, free: 39.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.1783, allocations: 0 / 450.8 MB, free: 39.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.1785, allocations: 83.53 kB / 450.9 MB, free: 39.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.1788, allocations: 36.25 kB / 450.9 MB, free: 39.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.1802, allocations: 1.87 MB / 452.8 MB, free: 38.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.849e-05/0.1802, allocations: 86.55 kB / 452.9 MB, free: 38.19 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.427e-05/0.1803, allocations: 12.61 kB / 452.9 MB, free: 38.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.024e-05/0.1803, allocations: 40.22 kB / 453 MB, free: 38.16 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1803, allocations: 0 / 453 MB, free: 38.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01813/0.1985, allocations: 5.127 MB / 458.1 MB, free: 36.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.842/7.041, allocations: 5.578 kB / 458.1 MB, free: 36.59 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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: 9.031978134997189]