Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.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.0009251/0.0009251, allocations: 92.33 kB / 20.68 MB, free: 3.863 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.001112/0.001112, allocations: 160.9 kB / 23.95 MB, free: 0.5898 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.897/0.897, allocations: 177 MB / 204.1 MB, free: 5.727 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.2305/0.2305, allocations: 34.23 MB / 294.8 MB, free: 0.7188 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.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 442.2 MB, free: 1.543 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.637e-05/1.783e-05, allocations: 8.75 kB / 442.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.1687/0.1687, allocations: 1.656 MB / 443.8 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.17, allocations: 1.241 MB / 445.1 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.637e-05/0.17, allocations: 2.812 kB / 445.1 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.1702, allocations: 21.14 kB / 445.1 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.1705, allocations: 93.97 kB / 445.2 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.1707, allocations: 126.2 kB / 445.3 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.1708, allocations: 80.45 kB / 445.4 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1709, allocations: 19.91 kB / 445.4 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.708e-05/0.171, allocations: 37.09 kB / 445.4 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.779e-05/0.1711, allocations: 28.91 kB / 445.5 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.1711, allocations: 8.781 kB / 445.5 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.1712, allocations: 93.03 kB / 445.6 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.995e-05/0.1713, allocations: 20.3 kB / 445.6 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.597e-05/0.1713, allocations: 19.11 kB / 445.6 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.1715, allocations: 152.8 kB / 445.8 MB, free: 42.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1715, allocations: 2.031 kB / 445.8 MB, free: 42.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1715, allocations: 2.625 kB / 445.8 MB, free: 42.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.1715, allocations: 0 / 445.8 MB, free: 42.84 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.00048/0.172, allocations: 354 kB / 446.1 MB, free: 42.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.172, allocations: 11.09 kB / 446.1 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.443e-05/0.1721, allocations: 31.31 kB / 446.2 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.1721, allocations: 10.36 kB / 446.2 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.1722, allocations: 139.1 kB / 446.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.1722, allocations: 384 / 446.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.1723, allocations: 7 kB / 446.3 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.1724, allocations: 99.45 kB / 446.4 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1724, allocations: 192 / 446.4 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.1724, allocations: 3.562 kB / 446.4 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1724, allocations: 6.719 kB / 446.4 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.977e-05/0.1725, allocations: 31.03 kB / 446.4 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002616/0.1728, allocations: 266.2 kB / 446.7 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.749e-05/0.1729, allocations: 39.73 kB / 446.7 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.867e-05/0.1729, allocations: 33.33 kB / 446.8 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.1729, allocations: 2.656 kB / 446.8 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.1729, allocations: 30.56 kB / 446.8 MB, free: 41.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.1729, allocations: 0 / 446.8 MB, free: 41.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004911/0.1734, allocations: 214.6 kB / 447 MB, free: 41.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.1734, allocations: 81.11 kB / 447.1 MB, free: 41.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.174e-05/0.1735, allocations: 150.8 kB / 447.2 MB, free: 41.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.081e-06/0.1735, allocations: 25.7 kB / 447.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.025e-05/0.1736, allocations: 97.19 kB / 447.4 MB, free: 41.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.1736, allocations: 26 kB / 447.4 MB, free: 41.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/0.1736, allocations: 19.31 kB / 447.4 MB, free: 41.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.676e-05/0.1737, allocations: 325.1 kB / 447.7 MB, free: 41.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.306e-05/0.1737, allocations: 31.95 kB / 447.8 MB, free: 41.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.889e-05/0.1738, allocations: 79.19 kB / 447.8 MB, free: 41.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.698e-05/0.1739, allocations: 84.8 kB / 447.9 MB, free: 41.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1739, allocations: 0 / 447.9 MB, free: 41.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001277/0.174, allocations: 119.2 kB / 448 MB, free: 40.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.174, allocations: 5.062 kB / 448 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.174, allocations: 2.906 kB / 448 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.174, allocations: 0.8438 kB / 448 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.636e-05/0.1741, allocations: 25.19 kB / 448.1 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.1741, allocations: 0 / 448.1 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.646e-05/0.1741, allocations: 13.16 kB / 448.1 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.1741, allocations: 2.969 kB / 448.1 MB, free: 40.96 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 (7): * Single equations (assignments): 7 * 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.082e-05/0.1742, allocations: 119.5 kB / 448.2 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.1742, allocations: 10.95 kB / 448.2 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/0.1744, allocations: 123.1 kB / 448.3 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.1744, allocations: 6.344 kB / 448.3 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1744, allocations: 2.531 kB / 448.3 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1744, allocations: 0 / 448.3 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.1747, allocations: 367.5 kB / 448.7 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1747, allocations: 0 / 448.7 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.376e-05/0.1747, allocations: 23.27 kB / 448.7 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1747, allocations: 0 / 448.7 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.1747, allocations: 0 / 448.7 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1747, allocations: 0 / 448.7 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1747, allocations: 2.844 kB / 448.7 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.1749, allocations: 215.2 kB / 448.9 MB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.367e-05/0.1749, allocations: 16.92 kB / 449 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.1749, allocations: 0 / 449 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.987e-05/0.1749, allocations: 9.141 kB / 449 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.175, allocations: 10.27 kB / 449 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.175, allocations: 2.938 kB / 449 MB, free: 40.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.384e-05/0.175, allocations: 124.8 kB / 449.1 MB, free: 40.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.175, allocations: 0 / 449.1 MB, free: 40.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002001/0.1752, allocations: 47.83 kB / 449.1 MB, free: 40.19 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 (7): * Single equations (assignments): 7 * 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.001061/0.1763, allocations: 1.159 MB / 450.3 MB, free: 39.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001717/0.1765, allocations: 77.61 kB / 450.4 MB, free: 39.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1765, allocations: 0 / 450.4 MB, free: 39.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.782e-05/0.1765, allocations: 51.11 kB / 450.4 MB, free: 39.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.1768, allocations: 18.12 kB / 450.4 MB, free: 39.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009877/0.1778, allocations: 1.604 MB / 452.1 MB, free: 38.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.875e-05/0.1778, allocations: 84.59 kB / 452.1 MB, free: 37.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.189e-05/0.1779, allocations: 20.52 kB / 452.2 MB, free: 37.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.1779, allocations: 34.78 kB / 452.2 MB, free: 37.95 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1779, allocations: 0 / 452.2 MB, free: 37.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01599/0.1939, allocations: 4.28 MB / 456.5 MB, free: 36.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.637/6.831, allocations: 2.969 kB / 456.5 MB, free: 36.47 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.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.785812123678625]