Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.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: translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000925/0.000925, allocations: 197 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.185/1.185, allocations: 226.6 MB / 244.3 MB, free: 8.305 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007126/0.0007126, allocations: 104.6 kB / 296.4 MB, free: 6.992 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001954/0.0001954, allocations: 8 kB / 356.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1868, allocations: 51.29 MB / 407.5 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.001452/0.1883, allocations: 1.744 MB / 409.2 MB, free: 26.08 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002398/0.1885, allocations: 168.9 kB / 409.4 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.388e-05/0.1886, allocations: 5.438 kB / 409.4 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.572e-05/0.1887, allocations: 15.86 kB / 409.4 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.774e-05/0.1888, allocations: 48.97 kB / 409.5 MB, free: 25.85 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001092/0.1889, allocations: 23.97 kB / 409.5 MB, free: 25.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.189, allocations: 167.9 kB / 409.7 MB, free: 25.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1891, allocations: 56.73 kB / 409.7 MB, free: 25.6 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.204e-05/0.1892, allocations: 51.8 kB / 409.8 MB, free: 25.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.416e-05/0.1892, allocations: 59.7 kB / 409.8 MB, free: 25.49 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.1893, allocations: 8 kB / 409.8 MB, free: 25.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.147e-05/0.1893, allocations: 13.31 kB / 409.8 MB, free: 25.47 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.1893, allocations: 31.83 kB / 409.9 MB, free: 25.44 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.512e-05/0.1893, allocations: 53.64 kB / 409.9 MB, free: 25.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.288e-05/0.1894, allocations: 125.8 kB / 410 MB, free: 25.26 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1894, allocations: 0 / 410 MB, free: 25.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1895, allocations: 0 / 410 MB, free: 25.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.1895, allocations: 0 / 410 MB, free: 25.26 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0003871/0.1899, allocations: 448.1 kB / 410.5 MB, free: 24.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.775e-05/0.1899, allocations: 8.031 kB / 410.5 MB, free: 24.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.1899, allocations: 15.81 kB / 410.5 MB, free: 24.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.1901, allocations: 215.6 kB / 410.7 MB, free: 24.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.1901, allocations: 12 kB / 410.7 MB, free: 24.49 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.1901, allocations: 27.89 kB / 410.8 MB, free: 24.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.1903, allocations: 185.6 kB / 410.9 MB, free: 24.26 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1904, allocations: 0 / 410.9 MB, free: 24.26 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.1904, allocations: 8 kB / 410.9 MB, free: 24.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1904, allocations: 4 kB / 410.9 MB, free: 24.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.1905, allocations: 99.88 kB / 411 MB, free: 24.15 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008476/0.1914, allocations: 0.9548 MB / 412 MB, free: 23.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.21e-05/0.1915, allocations: 103.8 kB / 412.1 MB, free: 22.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.122e-05/0.1915, allocations: 42.69 kB / 412.1 MB, free: 22.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.776e-06/0.1916, allocations: 4 kB / 412.1 MB, free: 22.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.249e-05/0.1916, allocations: 34.56 kB / 412.2 MB, free: 22.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.1916, allocations: 0 / 412.2 MB, free: 22.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002331/0.1918, allocations: 129.3 kB / 412.3 MB, free: 22.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.1919, allocations: 110.8 kB / 412.4 MB, free: 22.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.192, allocations: 199.9 kB / 412.6 MB, free: 22.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.085e-06/0.192, allocations: 29.7 kB / 412.6 MB, free: 22.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.324e-05/0.1921, allocations: 143.8 kB / 412.8 MB, free: 22.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.1921, allocations: 51.3 kB / 412.8 MB, free: 22.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.1921, allocations: 4 kB / 412.8 MB, free: 22.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.68e-05/0.1921, allocations: 334.8 kB / 413.2 MB, free: 21.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.988e-05/0.1922, allocations: 40.45 kB / 413.2 MB, free: 21.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.229e-05/0.1923, allocations: 142.6 kB / 413.3 MB, free: 21.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.726e-05/0.1924, allocations: 55.94 kB / 413.4 MB, free: 21.56 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1924, allocations: 4 kB / 413.4 MB, free: 21.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002318/0.1926, allocations: 220.9 kB / 413.6 MB, free: 21.33 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1926, allocations: 4 kB / 413.6 MB, free: 21.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1927, allocations: 4 kB / 413.6 MB, free: 21.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1927, allocations: 8.406 kB / 413.6 MB, free: 21.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.1928, allocations: 59.91 kB / 413.7 MB, free: 21.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1928, allocations: 8 kB / 413.7 MB, free: 21.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.426e-05/0.1929, allocations: 27.69 kB / 413.7 MB, free: 21.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.1929, allocations: 8 kB / 413.7 MB, free: 21.21 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (28): * Single equations (assignments): 28 * 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 6.942e-05/0.193, allocations: 137.5 kB / 413.9 MB, free: 21.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.173e-05/0.1931, allocations: 20.52 kB / 413.9 MB, free: 21.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.606e-05/0.1931, allocations: 20.92 kB / 413.9 MB, free: 21.03 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1931, allocations: 0 / 413.9 MB, free: 21.03 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1931, allocations: 8 kB / 413.9 MB, free: 21.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1932, allocations: 0 / 413.9 MB, free: 21.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.1935, allocations: 245.5 kB / 414.2 MB, free: 20.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1935, allocations: 4 kB / 414.2 MB, free: 20.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.1936, allocations: 35.91 kB / 414.2 MB, free: 20.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1936, allocations: 0 / 414.2 MB, free: 20.69 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.1937, allocations: 7.938 kB / 414.2 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1937, allocations: 0 / 414.2 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1937, allocations: 0 / 414.2 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.1939, allocations: 393.6 kB / 414.6 MB, free: 20.28 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.173e-05/0.1939, allocations: 92.98 kB / 414.7 MB, free: 20.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.1939, allocations: 7.984 kB / 414.7 MB, free: 20.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.1941, allocations: 4 kB / 414.7 MB, free: 20.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.52e-05/0.1941, allocations: 4 kB / 414.7 MB, free: 20.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.1941, allocations: 4 kB / 414.7 MB, free: 20.15 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.484e-05/0.1942, allocations: 149.5 kB / 414.8 MB, free: 20.01 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1942, allocations: 4 kB / 414.8 MB, free: 20 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003034/0.1945, allocations: 40 kB / 414.9 MB, free: 19.96 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.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 (12): * Single equations (assignments): 12 * 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 7.027e-05/0.1946, allocations: 99.23 kB / 415 MB, free: 19.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001531/0.1947, allocations: 110.6 kB / 415.1 MB, free: 19.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1948, allocations: 0.8125 kB / 415.1 MB, free: 19.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.604e-05/0.1948, allocations: 35.92 kB / 415.1 MB, free: 19.71 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.1952, allocations: 35.03 kB / 415.2 MB, free: 19.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000757/0.196, allocations: 0.783 MB / 415.9 MB, free: 18.86 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.1962, allocations: 0.7283 MB / 416.7 MB, free: 18.11 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.392e-05/0.1962, allocations: 19.44 kB / 416.7 MB, free: 18.09 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1962, allocations: 0 / 416.7 MB, free: 18.09 MB / 298.7 MB Notification: Performance of Templates: time 0.002473/0.1987, allocations: 1.953 MB / 418.6 MB, free: 16.14 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.SignConvention --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","../files/Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches