Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.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.0008755/0.0008755, allocations: 80.34 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.0009477/0.0009477, allocations: 160.9 kB / 23.95 MB, free: 0.6172 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.8975/0.8975, allocations: 177 MB / 204.1 MB, free: 5.766 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.241/0.241, allocations: 34.23 MB / 294.8 MB, free: 0.707 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.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 442.2 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.362e-05, allocations: 2.281 kB / 442.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.1728/0.1729, allocations: 1.586 MB / 443.8 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007054/0.1736, allocations: 0.5189 MB / 444.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.268e-05/0.1736, allocations: 0 / 444.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001876/0.1738, allocations: 22.69 kB / 444.3 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.174, allocations: 89.16 kB / 444.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.1742, allocations: 85.22 kB / 444.5 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.1743, allocations: 65.58 kB / 444.5 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.218e-05/0.1744, allocations: 11.92 kB / 444.5 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.197e-05/0.1745, allocations: 36.19 kB / 444.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.619e-05/0.1745, allocations: 13.08 kB / 444.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.1745, allocations: 5.875 kB / 444.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.061e-05/0.1746, allocations: 33.34 kB / 444.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.307e-05/0.1747, allocations: 15.98 kB / 444.7 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.546e-05/0.1747, allocations: 13.03 kB / 444.7 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.1748, allocations: 85.52 kB / 444.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1748, allocations: 0 / 444.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1748, allocations: 1.75 kB / 444.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1748, allocations: 0 / 444.7 MB, free: 43.15 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003124/0.1751, allocations: 315.6 kB / 445.1 MB, free: 42.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1752, allocations: 10.12 kB / 445.1 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.078e-05/0.1752, allocations: 30.75 kB / 445.1 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.1752, allocations: 15.42 kB / 445.1 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.1753, allocations: 133.7 kB / 445.2 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-06/0.1753, allocations: 3.375 kB / 445.2 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.1753, allocations: 3.281 kB / 445.2 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.817e-05/0.1754, allocations: 55.58 kB / 445.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.1754, allocations: 0.75 kB / 445.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.1755, allocations: 3.781 kB / 445.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1755, allocations: 4.125 kB / 445.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.066e-05/0.1755, allocations: 20.84 kB / 445.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000216/0.1757, allocations: 235.2 kB / 445.6 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.1759, allocations: 50.11 kB / 445.6 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.409e-05/0.1759, allocations: 17.11 kB / 445.6 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.1759, allocations: 3.938 kB / 445.6 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.181e-05/0.1759, allocations: 39.34 kB / 445.7 MB, free: 42.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1759, allocations: 0 / 445.7 MB, free: 42.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003561/0.1763, allocations: 153 kB / 445.8 MB, free: 42.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.971e-05/0.1763, allocations: 51.41 kB / 445.9 MB, free: 42.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.615e-05/0.1764, allocations: 165.7 kB / 446 MB, free: 42.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.619e-06/0.1764, allocations: 25.7 kB / 446.1 MB, free: 42.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.524e-05/0.1764, allocations: 97.08 kB / 446.2 MB, free: 42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.1764, allocations: 19.73 kB / 446.2 MB, free: 41.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.241e-05/0.1765, allocations: 15.53 kB / 446.2 MB, free: 41.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.673e-05/0.1765, allocations: 325.6 kB / 446.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.494e-05/0.1765, allocations: 21 kB / 446.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.77e-05/0.1766, allocations: 19.16 kB / 446.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.138e-05/0.1766, allocations: 51 kB / 446.6 MB, free: 41.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1766, allocations: 3.938 kB / 446.6 MB, free: 41.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.674e-05/0.1767, allocations: 78.98 kB / 446.7 MB, free: 41.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.1767, allocations: 5.812 kB / 446.7 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1767, allocations: 0 / 446.7 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1767, allocations: 0.8438 kB / 446.7 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.699e-05/0.1768, allocations: 14.72 kB / 446.7 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.1768, allocations: 1.875 kB / 446.7 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.803e-05/0.1768, allocations: 5.562 kB / 446.7 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.1768, allocations: 4 kB / 446.7 MB, free: 41.6 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 (5): * Single equations (assignments): 5 * 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.171e-05/0.1768, allocations: 126 kB / 446.8 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.408e-05/0.1769, allocations: 9.859 kB / 446.8 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.177, allocations: 94.78 kB / 446.9 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.177, allocations: 0 / 446.9 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.177, allocations: 2.719 kB / 446.9 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.177, allocations: 0 / 446.9 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.1772, allocations: 318.2 kB / 447.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1772, allocations: 0 / 447.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.708e-05/0.1772, allocations: 15.5 kB / 447.3 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1772, allocations: 0 / 447.3 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.1772, allocations: 2.531 kB / 447.3 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1772, allocations: 0 / 447.3 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1772, allocations: 2.016 kB / 447.3 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.961e-05/0.1773, allocations: 182.6 kB / 447.4 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-06/0.1773, allocations: 7.828 kB / 447.4 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.1773, allocations: 10.5 kB / 447.5 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.199e-05/0.1774, allocations: 5.938 kB / 447.5 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.388e-05/0.1774, allocations: 6.047 kB / 447.5 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.1774, allocations: 3.938 kB / 447.5 MB, free: 41.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.285e-05/0.1774, allocations: 125.1 kB / 447.6 MB, free: 40.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1774, allocations: 0 / 447.6 MB, free: 40.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001513/0.1776, allocations: 12.19 kB / 447.6 MB, free: 40.95 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 (5): * Single equations (assignments): 5 * 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.0007591/0.1784, allocations: 1.033 MB / 448.6 MB, free: 40.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001148/0.1785, allocations: 42.89 kB / 448.7 MB, free: 40.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1785, allocations: 0 / 448.7 MB, free: 40.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.811e-05/0.1785, allocations: 27.14 kB / 448.7 MB, free: 40.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.1788, allocations: 23.47 kB / 448.7 MB, free: 40.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000846/0.1797, allocations: 1.467 MB / 450.2 MB, free: 39.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.232e-05/0.1797, allocations: 86.98 kB / 450.3 MB, free: 38.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.118e-05/0.1798, allocations: 5.172 kB / 450.3 MB, free: 38.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.963e-05/0.1798, allocations: 28.88 kB / 450.3 MB, free: 38.95 MB / 410.7 MB Notification: Performance of SimCode: time 6.62e-07/0.1798, allocations: 0 / 450.3 MB, free: 38.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01575/0.1955, allocations: 3.315 MB / 453.6 MB, free: 37.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.782/6.977, allocations: 14.12 kB / 453.6 MB, free: 37.62 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.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.918831651099026]