Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.0008366/0.0008366, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0008245/0.0008245, 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.9175/0.9175, allocations: 177 MB / 204.1 MB, free: 5.742 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.2527/0.2527, allocations: 34.24 MB / 294.8 MB, free: 0.6836 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.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 442.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.214e-05/1.383e-05, allocations: 2.281 kB / 442.2 MB, free: 1.531 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.166/0.166, allocations: 1.645 MB / 443.8 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009225/0.167, allocations: 0.565 MB / 444.4 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.606e-05/0.167, allocations: 3.656 kB / 444.4 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004886/0.1675, allocations: 461 kB / 444.8 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004071/0.1679, allocations: 291.2 kB / 445.1 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.1683, allocations: 178.9 kB / 445.3 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000214/0.1685, allocations: 192.4 kB / 445.5 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1686, allocations: 12 kB / 445.5 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.1687, allocations: 121.2 kB / 445.6 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.1689, allocations: 239.5 kB / 445.9 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.1689, allocations: 5.75 kB / 445.9 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.026e-05/0.169, allocations: 34.3 kB / 445.9 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.357e-05/0.1691, allocations: 92.72 kB / 446 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.475e-05/0.1692, allocations: 40.92 kB / 446 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.1694, allocations: 253 kB / 446.3 MB, free: 42.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1694, allocations: 0 / 446.3 MB, free: 42.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1694, allocations: 0 / 446.3 MB, free: 42.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1694, allocations: 0 / 446.3 MB, free: 42.5 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.0005581/0.17, allocations: 0.5911 MB / 446.9 MB, free: 42.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.17, allocations: 12.66 kB / 446.9 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.815e-05/0.17, allocations: 33.44 kB / 446.9 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.1701, allocations: 44.53 kB / 447 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.1703, allocations: 254.9 kB / 447.2 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.1703, allocations: 7.188 kB / 447.2 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.1703, allocations: 3.219 kB / 447.2 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.1705, allocations: 62.73 kB / 447.3 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1705, allocations: 192 / 447.3 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1705, allocations: 384 / 447.3 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1705, allocations: 4.125 kB / 447.3 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.1706, allocations: 51.25 kB / 447.3 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.1711, allocations: 373.2 kB / 447.7 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.1712, allocations: 44.27 kB / 447.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.256e-05/0.1712, allocations: 26.25 kB / 447.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.1712, allocations: 0 / 447.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.1713, allocations: 39.05 kB / 447.8 MB, free: 41.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.1713, allocations: 4 kB / 447.8 MB, free: 41.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007202/0.172, allocations: 319.4 kB / 448.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.172, allocations: 54.16 kB / 448.2 MB, free: 41.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000715/0.1727, allocations: 0.8701 MB / 449 MB, free: 41.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.098e-06/0.1727, allocations: 25.7 kB / 449.1 MB, free: 41.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.1729, allocations: 222.8 kB / 449.3 MB, free: 40.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.1729, allocations: 25.2 kB / 449.3 MB, free: 40.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.1729, allocations: 18.81 kB / 449.3 MB, free: 40.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.304e-05/0.173, allocations: 367.1 kB / 449.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.949e-05/0.1731, allocations: 33.61 kB / 449.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.584e-05/0.1732, allocations: 50.56 kB / 449.8 MB, free: 40.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.1733, allocations: 93.55 kB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1733, allocations: 2.906 kB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002473/0.1736, allocations: 156.6 kB / 450 MB, free: 40.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.1736, allocations: 5.344 kB / 450 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.1736, allocations: 0 / 450 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1736, allocations: 0 / 450 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.1737, allocations: 26.33 kB / 450 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1737, allocations: 0 / 450 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.697e-05/0.1738, allocations: 15.38 kB / 450.1 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.1738, allocations: 2.844 kB / 450.1 MB, free: 40.56 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 0.0001453/0.174, allocations: 215 kB / 450.3 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.862e-05/0.174, allocations: 50.69 kB / 450.3 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003057/0.1743, allocations: 179.8 kB / 450.5 MB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1743, allocations: 7.938 kB / 450.5 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.1743, allocations: 0 / 450.5 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1743, allocations: 0 / 450.5 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005063/0.1748, allocations: 490.2 kB / 451 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1748, allocations: 2.875 kB / 451 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.484e-05/0.1749, allocations: 17.8 kB / 451 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1749, allocations: 0 / 451 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.1749, allocations: 4 kB / 451 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1749, allocations: 0 / 451 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.1749, allocations: 5.406 kB / 451 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.1751, allocations: 273.1 kB / 451.3 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.715e-05/0.1752, allocations: 38.2 kB / 451.3 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.1752, allocations: 0 / 451.3 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.275e-05/0.1753, allocations: 9.188 kB / 451.3 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.1753, allocations: 10.06 kB / 451.3 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/0.1753, allocations: 6.969 kB / 451.3 MB, free: 39.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004448/0.1758, allocations: 0.6633 MB / 452 MB, free: 39.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1758, allocations: 0 / 452 MB, free: 39.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001805/0.176, allocations: 25.38 kB / 452 MB, free: 39.62 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.000925/0.1769, allocations: 1.111 MB / 453.1 MB, free: 38.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001673/0.1771, allocations: 87.8 kB / 453.2 MB, free: 38.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1771, allocations: 0 / 453.2 MB, free: 38.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.821e-05/0.1771, allocations: 49.98 kB / 453.3 MB, free: 38.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.1774, allocations: 29.16 kB / 453.3 MB, free: 38.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/0.1796, allocations: 3.388 MB / 456.7 MB, free: 36.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.1798, allocations: 224.2 kB / 456.9 MB, free: 36.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.732e-05/0.1798, allocations: 34.22 kB / 456.9 MB, free: 36.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.128e-05/0.1799, allocations: 120 kB / 457.1 MB, free: 36.79 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1799, allocations: 0 / 457.1 MB, free: 36.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02074/0.2006, allocations: 6.93 MB / 464 MB, free: 35.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.608/6.809, allocations: 6.422 kB / 464 MB, free: 35.09 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.808957435190678]