Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.0008253/0.0008253, 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.000888/0.000888, allocations: 156.9 kB / 23.94 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.9044/0.9044, 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.2439/0.2439, allocations: 34.23 MB / 294.8 MB, free: 0.7031 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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/2.01e-05, allocations: 14.16 kB / 442.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.1738/0.1738, allocations: 1.577 MB / 443.8 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007205/0.1746, allocations: 0.5285 MB / 444.3 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.97e-05/0.1746, allocations: 0 / 444.3 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.1748, allocations: 34.09 kB / 444.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001951/0.175, allocations: 81.39 kB / 444.4 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.1752, allocations: 109.3 kB / 444.5 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.1753, allocations: 61.66 kB / 444.6 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1754, allocations: 17.19 kB / 444.6 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.099e-05/0.1754, allocations: 34.27 kB / 444.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.743e-05/0.1755, allocations: 19.28 kB / 444.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.1755, allocations: 3.031 kB / 444.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.511e-05/0.1756, allocations: 37.61 kB / 444.7 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.473e-05/0.1756, allocations: 16.89 kB / 444.7 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.274e-05/0.1756, allocations: 9.719 kB / 444.7 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.1758, allocations: 77.34 kB / 444.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1758, allocations: 6.062 kB / 444.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1758, allocations: 0 / 444.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1758, allocations: 3.281 kB / 444.8 MB, free: 43.18 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.0003352/0.1761, allocations: 303.6 kB / 445.1 MB, free: 42.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.1761, allocations: 8.719 kB / 445.1 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.399e-05/0.1762, allocations: 37.97 kB / 445.1 MB, free: 42.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.398e-05/0.1762, allocations: 11.88 kB / 445.1 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.1763, allocations: 135.2 kB / 445.3 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-06/0.1763, allocations: 384 / 445.3 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.1763, allocations: 6.781 kB / 445.3 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.1764, allocations: 50.69 kB / 445.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1765, allocations: 192 / 445.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.1765, allocations: 3.125 kB / 445.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1765, allocations: 4.125 kB / 445.3 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.798e-05/0.1765, allocations: 23.78 kB / 445.4 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002454/0.1768, allocations: 249.4 kB / 445.6 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.1769, allocations: 47.59 kB / 445.6 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.676e-05/0.1769, allocations: 18.61 kB / 445.7 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.177, allocations: 3.938 kB / 445.7 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.081e-05/0.177, allocations: 39.19 kB / 445.7 MB, free: 42.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.177, allocations: 0 / 445.7 MB, free: 42.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003656/0.1773, allocations: 149.2 kB / 445.9 MB, free: 42.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.1774, allocations: 51.41 kB / 445.9 MB, free: 42.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.703e-05/0.1774, allocations: 148.5 kB / 446 MB, free: 42.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.35e-06/0.1774, allocations: 29.55 kB / 446.1 MB, free: 42.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.532e-05/0.1775, allocations: 95.7 kB / 446.2 MB, free: 42.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.1775, allocations: 27.95 kB / 446.2 MB, free: 42.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-05/0.1775, allocations: 13.91 kB / 446.2 MB, free: 42.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.865e-05/0.1775, allocations: 320.6 kB / 446.5 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.476e-05/0.1776, allocations: 21.08 kB / 446.5 MB, free: 41.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.987e-05/0.1776, allocations: 29.16 kB / 446.6 MB, free: 41.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.671e-05/0.1777, allocations: 55.22 kB / 446.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.1777, allocations: 0 / 446.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.985e-05/0.1778, allocations: 92.25 kB / 446.7 MB, free: 41.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.1778, allocations: 5.781 kB / 446.7 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1778, allocations: 0 / 446.7 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.1778, allocations: 0 / 446.7 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.679e-05/0.1778, allocations: 18.33 kB / 446.7 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1778, allocations: 4.406 kB / 446.7 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.787e-05/0.1779, allocations: 6.438 kB / 446.8 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.1779, allocations: 6.594 kB / 446.8 MB, free: 41.63 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 3.946e-05/0.1779, allocations: 118.6 kB / 446.9 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.1779, allocations: 10.48 kB / 446.9 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.178, allocations: 93.78 kB / 447 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.178, allocations: 3.234 kB / 447 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.178, allocations: 0 / 447 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.178, allocations: 2.625 kB / 447 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.1782, allocations: 325.9 kB / 447.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1782, allocations: 0 / 447.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.963e-05/0.1783, allocations: 14.59 kB / 447.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.1783, allocations: 0 / 447.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.1783, allocations: 0 / 447.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1783, allocations: 0 / 447.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1783, allocations: 2.562 kB / 447.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.182e-05/0.1784, allocations: 190.3 kB / 447.5 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-06/0.1784, allocations: 10.05 kB / 447.5 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.1784, allocations: 0 / 447.5 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.304e-05/0.1784, allocations: 7.031 kB / 447.5 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.498e-05/0.1784, allocations: 12.7 kB / 447.5 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.1784, allocations: 0 / 447.5 MB, free: 41.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.616e-05/0.1785, allocations: 119.6 kB / 447.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1785, allocations: 2.781 kB / 447.7 MB, free: 40.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001497/0.1786, allocations: 12 kB / 447.7 MB, free: 40.98 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.000747/0.1794, allocations: 1.04 MB / 448.7 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001142/0.1795, allocations: 52.55 kB / 448.8 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1795, allocations: 0 / 448.8 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.531e-05/0.1795, allocations: 28.61 kB / 448.8 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.1798, allocations: 16.34 kB / 448.8 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008371/0.1806, allocations: 1.48 MB / 450.3 MB, free: 39.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.129e-05/0.1807, allocations: 78.45 kB / 450.4 MB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.513e-05/0.1807, allocations: 13.28 kB / 450.4 MB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.1808, allocations: 27.64 kB / 450.4 MB, free: 38.97 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1808, allocations: 0 / 450.4 MB, free: 38.97 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01487/0.1956, allocations: 3.269 MB / 453.7 MB, free: 37.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.647/6.842, allocations: 17.81 kB / 453.7 MB, free: 37.66 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.790675938129425]