Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009817/0.0009817, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9229/0.9229, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2326/0.2326, allocations: 32.8 MB / 293.5 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 439.6 MB, free: 4.266 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.243e-05, allocations: 3.828 kB / 439.6 MB, free: 4.262 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.002673/0.002695, allocations: 1.895 MB / 441.5 MB, free: 2.352 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.003922, allocations: 1.067 MB / 442.5 MB, free: 1.277 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.004024, allocations: 0 / 442.5 MB, free: 1.277 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004519/0.004476, allocations: 266.9 kB / 442.8 MB, free: 1.016 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005599/0.005036, allocations: 262.9 kB / 443.1 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009995/0.006035, allocations: 0.6501 MB / 443.7 MB, free: 128 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1683/0.1744, allocations: 329.6 kB / 444 MB, free: 43.63 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.1745, allocations: 39.41 kB / 444.1 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.1747, allocations: 169.5 kB / 444.2 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.1749, allocations: 192.1 kB / 444.4 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.1749, allocations: 9.688 kB / 444.4 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.175, allocations: 56.75 kB / 444.5 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.263e-05/0.1751, allocations: 94.58 kB / 444.6 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.264e-05/0.1751, allocations: 59.61 kB / 444.6 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.1754, allocations: 297.7 kB / 444.9 MB, free: 43.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1754, allocations: 2.625 kB / 444.9 MB, free: 43.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1754, allocations: 1.594 kB / 444.9 MB, free: 43.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1754, allocations: 0 / 444.9 MB, free: 43.54 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004466/0.1758, allocations: 0.6027 MB / 445.5 MB, free: 43.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.1759, allocations: 11.59 kB / 445.6 MB, free: 43.09 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.506e-05/0.1759, allocations: 39.8 kB / 445.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.1759, allocations: 46.47 kB / 445.6 MB, free: 43.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.1761, allocations: 277.2 kB / 445.9 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.1761, allocations: 6.406 kB / 445.9 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.1761, allocations: 6.5 kB / 445.9 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.1763, allocations: 98.12 kB / 446 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1763, allocations: 384 / 446 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.1763, allocations: 6.5 kB / 446 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1763, allocations: 2.875 kB / 446 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.282e-05/0.1764, allocations: 73.42 kB / 446.1 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/0.1768, allocations: 438.5 kB / 446.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.229e-05/0.1768, allocations: 74.31 kB / 446.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.691e-05/0.1769, allocations: 32.73 kB / 446.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.1769, allocations: 7.25 kB / 446.6 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.076e-05/0.1769, allocations: 37.09 kB / 446.7 MB, free: 42.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.1769, allocations: 0 / 446.7 MB, free: 42.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002149/0.1771, allocations: 155 kB / 446.8 MB, free: 42.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.829e-05/0.1771, allocations: 51.41 kB / 446.9 MB, free: 42.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003478/0.1775, allocations: 0.6072 MB / 447.5 MB, free: 42.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.881e-06/0.1775, allocations: 25.7 kB / 447.5 MB, free: 42.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.878e-05/0.1776, allocations: 209.4 kB / 447.7 MB, free: 42.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.1776, allocations: 18.05 kB / 447.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/0.1776, allocations: 22.11 kB / 447.8 MB, free: 42.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.969e-05/0.1776, allocations: 357.5 kB / 448.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.529e-05/0.1777, allocations: 27.11 kB / 448.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.086e-05/0.1777, allocations: 31.27 kB / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.129e-05/0.1778, allocations: 64.34 kB / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1778, allocations: 4.594 kB / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001128/0.1779, allocations: 127.3 kB / 448.3 MB, free: 41.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.1779, allocations: 8.953 kB / 448.4 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1779, allocations: 0 / 448.4 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1779, allocations: 3.219 kB / 448.4 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.19e-05/0.178, allocations: 16.59 kB / 448.4 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.178, allocations: 0 / 448.4 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.771e-05/0.178, allocations: 18.3 kB / 448.4 MB, free: 41.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.178, allocations: 0 / 448.4 MB, free: 41.72 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 (6): * Single equations (assignments): 6 * 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 9.18e-05/0.1781, allocations: 177.3 kB / 448.6 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.1782, allocations: 40.25 kB / 448.6 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/0.1783, allocations: 157.1 kB / 448.8 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1783, allocations: 0 / 448.8 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1783, allocations: 3.281 kB / 448.8 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.1783, allocations: 0 / 448.8 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.1785, allocations: 269.5 kB / 449 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1785, allocations: 2.969 kB / 449 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.782e-05/0.1785, allocations: 15.41 kB / 449 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1785, allocations: 0 / 449 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.1785, allocations: 2.938 kB / 449 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.1785, allocations: 0 / 449 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1785, allocations: 7.938 kB / 449.1 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.1786, allocations: 234 kB / 449.3 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.882e-05/0.1787, allocations: 49.59 kB / 449.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.1787, allocations: 0 / 449.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.854e-05/0.1787, allocations: 5.75 kB / 449.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/0.1788, allocations: 10.02 kB / 449.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.1788, allocations: 0 / 449.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002378/0.179, allocations: 453.1 kB / 449.8 MB, free: 41.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.179, allocations: 0 / 449.8 MB, free: 41.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001853/0.1792, allocations: 38.69 kB / 449.8 MB, free: 41.06 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 (6): * Single equations (assignments): 6 * 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.001129/0.1803, allocations: 1.315 MB / 451.1 MB, free: 40.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.1804, allocations: 62.27 kB / 451.2 MB, free: 40.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1804, allocations: 0 / 451.2 MB, free: 40.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.24e-05/0.1805, allocations: 31.66 kB / 451.2 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.000357/0.1808, allocations: 74.09 kB / 451.3 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.1826, allocations: 3.007 MB / 454.3 MB, free: 38.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.1828, allocations: 205.1 kB / 454.5 MB, free: 38.38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.296e-05/0.1828, allocations: 59.61 kB / 454.6 MB, free: 38.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.48e-05/0.1829, allocations: 117.3 kB / 454.7 MB, free: 38.29 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1829, allocations: 0 / 454.7 MB, free: 38.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01651/0.1994, allocations: 7.802 MB / 462.5 MB, free: 36.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.711/6.91, allocations: 10.86 kB / 462.5 MB, free: 36.46 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.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.899585586972535]