Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009083/0.0009083, allocations: 190.6 kB / 17.37 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.173/1.173, allocations: 226.5 MB / 244.7 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007568/0.0007568, allocations: 100.2 kB / 296.7 MB, free: 6.656 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001937/0.0001937, allocations: 8 kB / 356.8 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1726, allocations: 51.29 MB / 408.1 MB, free: 27.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.001616/0.1743, allocations: 2.093 MB / 410.2 MB, free: 25.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003065/0.1746, allocations: 248.4 kB / 410.5 MB, free: 25.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.076e-05/0.1747, allocations: 7.938 kB / 410.5 MB, free: 25.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.939e-05/0.1748, allocations: 31.77 kB / 410.5 MB, free: 25.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.1749, allocations: 77.28 kB / 410.6 MB, free: 25.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001156/0.175, allocations: 47.89 kB / 410.6 MB, free: 25.15 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.1752, allocations: 296.5 kB / 410.9 MB, free: 24.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.1753, allocations: 87.55 kB / 411 MB, free: 24.78 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.765e-05/0.1754, allocations: 99.58 kB / 411.1 MB, free: 24.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.1755, allocations: 111.5 kB / 411.2 MB, free: 24.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.1756, allocations: 15.94 kB / 411.2 MB, free: 24.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.393e-05/0.1756, allocations: 12 kB / 411.2 MB, free: 24.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.808e-05/0.1756, allocations: 43.83 kB / 411.3 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.741e-05/0.1757, allocations: 157.1 kB / 411.4 MB, free: 24.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.1759, allocations: 228.6 kB / 411.7 MB, free: 24.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1759, allocations: 0 / 411.7 MB, free: 24.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1759, allocations: 0 / 411.7 MB, free: 24.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.1759, allocations: 0 / 411.7 MB, free: 24.12 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0005344/0.1764, allocations: 0.5264 MB / 412.2 MB, free: 23.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.1765, allocations: 12.03 kB / 412.2 MB, free: 23.53 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.159e-05/0.1765, allocations: 58.73 kB / 412.3 MB, free: 23.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.1766, allocations: 40.44 kB / 412.3 MB, free: 23.42 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.1767, allocations: 247.8 kB / 412.5 MB, free: 23.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.1768, allocations: 20.94 kB / 412.6 MB, free: 23.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.757e-05/0.1768, allocations: 28.31 kB / 412.6 MB, free: 23.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.1771, allocations: 259.1 kB / 412.8 MB, free: 22.83 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.1771, allocations: 7.844 kB / 412.8 MB, free: 22.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.1772, allocations: 12 kB / 412.9 MB, free: 22.81 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1772, allocations: 4 kB / 412.9 MB, free: 22.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.1774, allocations: 175.9 kB / 413 MB, free: 22.63 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007185/0.1781, allocations: 0.7539 MB / 413.8 MB, free: 21.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/0.1784, allocations: 268.9 kB / 414 MB, free: 21.55 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.1786, allocations: 125.6 kB / 414.2 MB, free: 21.42 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.1786, allocations: 4 kB / 414.2 MB, free: 21.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.293e-05/0.1786, allocations: 38.55 kB / 414.2 MB, free: 21.37 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 1.302e-06/0.1786, allocations: 4 kB / 414.2 MB, free: 21.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.001896/0.1805, allocations: 1.718 MB / 415.9 MB, free: 19.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.1806, allocations: 85.09 kB / 416 MB, free: 19.38 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.943e-05/0.1807, allocations: 179.2 kB / 416.2 MB, free: 19.19 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.1807, allocations: 33.7 kB / 416.2 MB, free: 19.15 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.364e-05/0.1807, allocations: 140.7 kB / 416.4 MB, free: 19 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.775e-05/0.1808, allocations: 173.4 kB / 416.5 MB, free: 18.83 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.483e-05/0.1808, allocations: 12 kB / 416.5 MB, free: 18.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.463e-05/0.1809, allocations: 342.8 kB / 416.9 MB, free: 18.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.181, allocations: 97.09 kB / 417 MB, free: 18.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.1812, allocations: 157.5 kB / 417.1 MB, free: 18.21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/0.1815, allocations: 275.8 kB / 417.4 MB, free: 17.94 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1815, allocations: 0 / 417.4 MB, free: 17.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003846/0.1819, allocations: 377.7 kB / 417.8 MB, free: 17.56 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.1819, allocations: 4 kB / 417.8 MB, free: 17.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1819, allocations: 4 kB / 417.8 MB, free: 17.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.182, allocations: 0 / 417.8 MB, free: 17.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.1823, allocations: 103.9 kB / 417.9 MB, free: 17.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1823, allocations: 0 / 417.9 MB, free: 17.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.769e-05/0.1824, allocations: 16.06 kB / 417.9 MB, free: 17.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.1824, allocations: 12 kB / 417.9 MB, free: 17.43 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.347e-05/0.1825, allocations: 153.7 kB / 418 MB, free: 17.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-05/0.1826, allocations: 35.59 kB / 418.1 MB, free: 17.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.861e-05/0.1827, allocations: 37.86 kB / 418.1 MB, free: 17.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1827, allocations: 4 kB / 418.1 MB, free: 17.19 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.1827, allocations: 0 / 418.1 MB, free: 17.19 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.1827, allocations: 11.91 kB / 418.1 MB, free: 17.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008779/0.1836, allocations: 0.9554 MB / 419.1 MB, free: 16.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1836, allocations: 4.031 kB / 419.1 MB, free: 16.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/0.184, allocations: 95.89 kB / 419.2 MB, free: 16.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.184, allocations: 0 / 419.2 MB, free: 16.06 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.184, allocations: 12 kB / 419.2 MB, free: 16.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.184, allocations: 4 kB / 419.2 MB, free: 16.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.184, allocations: 3.938 kB / 419.2 MB, free: 16.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005142/0.1845, allocations: 0.6433 MB / 419.9 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.354e-05/0.1846, allocations: 100.8 kB / 419.9 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.1846, allocations: 12 kB / 420 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.1848, allocations: 4 kB / 420 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.1848, allocations: 27.97 kB / 420 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.1848, allocations: 15.94 kB / 420 MB, free: 15.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.904e-05/0.1849, allocations: 136.3 kB / 420.1 MB, free: 15.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1849, allocations: 4 kB / 420.1 MB, free: 15.06 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003078/0.1852, allocations: 80 kB / 420.2 MB, free: 14.98 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.v) * 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 (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006519/0.1859, allocations: 1.185 MB / 421.4 MB, free: 13.76 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003232/0.1862, allocations: 290.6 kB / 421.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1862, allocations: 0 / 421.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.1864, allocations: 155.8 kB / 421.8 MB, free: 13.33 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005155/0.1869, allocations: 70.31 kB / 421.9 MB, free: 13.26 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.1889, allocations: 2.19 MB / 424.1 MB, free: 11 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.1891, allocations: 0.7806 MB / 424.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.1892, allocations: 103.4 kB / 425 MB, free: 10.09 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1892, allocations: 0 / 425 MB, free: 10.09 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.531/2.72, allocations: 4.332 MB / 429.3 MB, free: 5.766 MB / 298.7 MB (rm -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Mechanics_Translational_Examples_InitialConditions_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","../files/Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches