Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.000905/0.000905, 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.001127/0.001127, 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.8844/0.8844, allocations: 177 MB / 204.1 MB, free: 5.723 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.227/0.227, 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.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 442.2 MB, free: 1.531 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.778e-05/1.922e-05, allocations: 6.219 kB / 442.2 MB, free: 1.523 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.155/0.155, allocations: 1.6 MB / 443.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006848/0.1557, allocations: 0.5355 MB / 444.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.088e-05/0.1557, allocations: 0 / 444.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002324/0.156, allocations: 102.4 kB / 444.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.1562, allocations: 108.5 kB / 444.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.1564, allocations: 113.4 kB / 444.6 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.1565, allocations: 90.16 kB / 444.7 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.29e-05/0.1566, allocations: 15.91 kB / 444.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.33e-05/0.1567, allocations: 45.23 kB / 444.8 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.258e-05/0.1567, allocations: 53.67 kB / 444.8 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.1567, allocations: 9.5 kB / 444.9 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.505e-05/0.1568, allocations: 44.75 kB / 444.9 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.848e-05/0.1568, allocations: 29.08 kB / 444.9 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.484e-05/0.1569, allocations: 20.61 kB / 444.9 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.157, allocations: 100.7 kB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.157, allocations: 0 / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.157, allocations: 3.156 kB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.157, allocations: 0 / 445 MB, free: 43.09 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.0003207/0.1573, allocations: 352.8 kB / 445.4 MB, free: 42.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.1574, allocations: 12.3 kB / 445.4 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.059e-05/0.1574, allocations: 33.69 kB / 445.4 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.55e-05/0.1574, allocations: 14.59 kB / 445.4 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.1575, allocations: 144.9 kB / 445.6 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-06/0.1575, allocations: 2.688 kB / 445.6 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.1575, allocations: 6.5 kB / 445.6 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.1576, allocations: 58.86 kB / 445.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1577, allocations: 192 / 445.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.1577, allocations: 384 / 445.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1577, allocations: 7.188 kB / 445.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.417e-05/0.1577, allocations: 26.81 kB / 445.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002422/0.158, allocations: 269.9 kB / 446 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.596e-05/0.158, allocations: 41.84 kB / 446 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.607e-05/0.1581, allocations: 24.02 kB / 446 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.1581, allocations: 0 / 446 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.218e-05/0.1581, allocations: 34.11 kB / 446.1 MB, free: 42.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 6.62e-07/0.1581, allocations: 5.75 kB / 446.1 MB, free: 42.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005527/0.1586, allocations: 242.4 kB / 446.3 MB, free: 42.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/0.1587, allocations: 58.16 kB / 446.3 MB, free: 42.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.1588, allocations: 239.8 kB / 446.6 MB, free: 42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.371e-06/0.1588, allocations: 25.7 kB / 446.6 MB, free: 41.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.274e-05/0.1588, allocations: 111.5 kB / 446.7 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.1588, allocations: 25.53 kB / 446.7 MB, free: 41.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.1589, allocations: 25.5 kB / 446.8 MB, free: 41.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.102e-05/0.1589, allocations: 327 kB / 447.1 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.423e-05/0.159, allocations: 30.03 kB / 447.1 MB, free: 41.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.775e-05/0.159, allocations: 29.83 kB / 447.1 MB, free: 41.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.234e-05/0.1591, allocations: 80.95 kB / 447.2 MB, free: 41.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1591, allocations: 0 / 447.2 MB, free: 41.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001188/0.1592, allocations: 118.8 kB / 447.3 MB, free: 41.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.1592, allocations: 6.062 kB / 447.3 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1592, allocations: 0 / 447.3 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1592, allocations: 0 / 447.3 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.712e-05/0.1593, allocations: 17.92 kB / 447.4 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1593, allocations: 0 / 447.4 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.336e-05/0.1593, allocations: 13.7 kB / 447.4 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.1593, allocations: 3.312 kB / 447.4 MB, free: 41.47 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 5.015e-05/0.1594, allocations: 138.7 kB / 447.5 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.1594, allocations: 9.828 kB / 447.5 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001687/0.1596, allocations: 131.5 kB / 447.7 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1596, allocations: 0.8906 kB / 447.7 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.1596, allocations: 2.875 kB / 447.7 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.1596, allocations: 0 / 447.7 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/0.1599, allocations: 395.9 kB / 448 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1599, allocations: 2.875 kB / 448 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.645e-05/0.1599, allocations: 21.34 kB / 448.1 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.1599, allocations: 2.938 kB / 448.1 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.1599, allocations: 0 / 448.1 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1599, allocations: 2.906 kB / 448.1 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1599, allocations: 3.938 kB / 448.1 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.16, allocations: 215.7 kB / 448.3 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.165e-06/0.16, allocations: 11.11 kB / 448.3 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.16, allocations: 6.219 kB / 448.3 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.071e-05/0.1601, allocations: 5.969 kB / 448.3 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.641e-05/0.1601, allocations: 12.3 kB / 448.3 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.1601, allocations: 3.062 kB / 448.3 MB, free: 40.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.868e-05/0.1602, allocations: 176.9 kB / 448.5 MB, free: 40.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1602, allocations: 0 / 448.5 MB, free: 40.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001615/0.1603, allocations: 22 kB / 448.5 MB, free: 40.77 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.0008466/0.1612, allocations: 1.124 MB / 449.6 MB, free: 39.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001366/0.1613, allocations: 70.31 kB / 449.7 MB, free: 39.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1613, allocations: 4 kB / 449.7 MB, free: 39.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.305e-05/0.1614, allocations: 37.56 kB / 449.8 MB, free: 39.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.1616, allocations: 28.52 kB / 449.8 MB, free: 39.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.1627, allocations: 1.755 MB / 451.5 MB, free: 38.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.34e-05/0.1628, allocations: 110.3 kB / 451.6 MB, free: 38.51 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.447e-05/0.1628, allocations: 22.8 kB / 451.7 MB, free: 38.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.272e-05/0.1629, allocations: 37.67 kB / 451.7 MB, free: 38.48 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.1629, allocations: 2.875 kB / 451.7 MB, free: 38.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01581/0.1787, allocations: 3.944 MB / 455.7 MB, free: 37.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.752/6.931, allocations: 15.83 kB / 455.7 MB, free: 37.1 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.834234004840255]