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.001516/0.001516, allocations: 191.6 kB / 17.38 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 226.6 MB / 244.7 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007405/0.0007402, allocations: 99.41 kB / 296.7 MB, free: 6.895 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002122/0.0002123, allocations: 4 kB / 356.7 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1901, allocations: 51.31 MB / 408 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.001592/0.1917, allocations: 1.748 MB / 409.8 MB, free: 25.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002474/0.192, allocations: 173.9 kB / 410 MB, free: 25.78 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.213e-05/0.1921, allocations: 6.219 kB / 410 MB, free: 25.78 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.993e-05/0.1922, allocations: 11.86 kB / 410 MB, free: 25.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.265e-05/0.1923, allocations: 43.62 kB / 410 MB, free: 25.72 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001173/0.1924, allocations: 28.5 kB / 410.1 MB, free: 25.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.1925, allocations: 168.5 kB / 410.2 MB, free: 25.53 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.1927, allocations: 52.08 kB / 410.3 MB, free: 25.47 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.18e-05/0.1927, allocations: 47.8 kB / 410.3 MB, free: 25.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.956e-05/0.1928, allocations: 72.53 kB / 410.4 MB, free: 25.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.1928, allocations: 11.94 kB / 410.4 MB, free: 25.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.16e-05/0.1929, allocations: 13.06 kB / 410.4 MB, free: 25.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.961e-05/0.1929, allocations: 19.92 kB / 410.4 MB, free: 25.31 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.373e-05/0.1929, allocations: 93.38 kB / 410.5 MB, free: 25.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.93e-05/0.193, allocations: 129.9 kB / 410.6 MB, free: 25.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1931, allocations: 0 / 410.6 MB, free: 25.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1931, allocations: 0 / 410.6 MB, free: 25.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.1931, allocations: 3.938 kB / 410.6 MB, free: 25.09 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.0004018/0.1935, allocations: 438.3 kB / 411.1 MB, free: 24.61 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.1935, allocations: 8.031 kB / 411.1 MB, free: 24.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.1936, allocations: 20.75 kB / 411.1 MB, free: 24.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.1937, allocations: 212.1 kB / 411.3 MB, free: 24.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.1937, allocations: 12.88 kB / 411.3 MB, free: 24.33 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.1938, allocations: 25.28 kB / 411.4 MB, free: 24.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.194, allocations: 182.2 kB / 411.5 MB, free: 24.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.194, allocations: 15.92 kB / 411.5 MB, free: 24.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.194, allocations: 4 kB / 411.5 MB, free: 24.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.194, allocations: 4 kB / 411.6 MB, free: 24.08 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.1942, allocations: 107.6 kB / 411.7 MB, free: 23.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008865/0.1951, allocations: 0.9545 MB / 412.6 MB, free: 22.94 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.392e-05/0.1952, allocations: 107.8 kB / 412.7 MB, free: 22.81 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.117e-05/0.1953, allocations: 34.58 kB / 412.8 MB, free: 22.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.1953, allocations: 8.078 kB / 412.8 MB, free: 22.76 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.491e-05/0.1953, allocations: 34.56 kB / 412.8 MB, free: 22.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.1953, allocations: 4 kB / 412.8 MB, free: 22.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002417/0.1955, allocations: 129.3 kB / 412.9 MB, free: 22.58 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.1956, allocations: 102.8 kB / 413 MB, free: 22.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.1957, allocations: 207.7 kB / 413.2 MB, free: 22.24 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.238e-06/0.1957, allocations: 29.7 kB / 413.3 MB, free: 22.2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.899e-05/0.1958, allocations: 131.9 kB / 413.4 MB, free: 22.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.1958, allocations: 55.28 kB / 413.4 MB, free: 22.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-06/0.1958, allocations: 4 kB / 413.4 MB, free: 22.01 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.03e-05/0.1959, allocations: 334.8 kB / 413.8 MB, free: 21.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.572e-05/0.196, allocations: 36.45 kB / 413.8 MB, free: 21.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.509e-05/0.196, allocations: 146.6 kB / 413.9 MB, free: 21.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.1962, allocations: 194.1 kB / 414.1 MB, free: 21.21 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1962, allocations: 3.938 kB / 414.1 MB, free: 21.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002349/0.1964, allocations: 221.1 kB / 414.4 MB, free: 20.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.1965, allocations: 4 kB / 414.4 MB, free: 20.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1965, allocations: 4 kB / 414.4 MB, free: 20.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1965, allocations: 8 kB / 414.4 MB, free: 20.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.1966, allocations: 48.27 kB / 414.4 MB, free: 20.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1966, allocations: 12 kB / 414.4 MB, free: 20.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.626e-05/0.1967, allocations: 31.62 kB / 414.5 MB, free: 20.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.1968, allocations: 8 kB / 414.5 MB, free: 20.87 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.074e-05/0.1968, allocations: 137.5 kB / 414.6 MB, free: 20.72 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.241e-05/0.1969, allocations: 19.81 kB / 414.6 MB, free: 20.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.455e-05/0.1969, allocations: 20.94 kB / 414.6 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1969, allocations: 0 / 414.6 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.197, allocations: 4 kB / 414.6 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.197, allocations: 11.92 kB / 414.7 MB, free: 20.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003206/0.1973, allocations: 241.4 kB / 414.9 MB, free: 20.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1973, allocations: 0 / 414.9 MB, free: 20.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.1974, allocations: 31.92 kB / 414.9 MB, free: 20.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1975, allocations: 0 / 414.9 MB, free: 20.35 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.1975, allocations: 7.984 kB / 414.9 MB, free: 20.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1975, allocations: 0 / 414.9 MB, free: 20.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1975, allocations: 0 / 414.9 MB, free: 20.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.1977, allocations: 388.6 kB / 415.3 MB, free: 19.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/0.1977, allocations: 96.91 kB / 415.4 MB, free: 19.83 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.1977, allocations: 8.062 kB / 415.4 MB, free: 19.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.1979, allocations: 4.062 kB / 415.4 MB, free: 19.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.655e-05/0.1979, allocations: 15.86 kB / 415.4 MB, free: 19.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.1979, allocations: 4 kB / 415.4 MB, free: 19.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.859e-05/0.198, allocations: 153.5 kB / 415.6 MB, free: 19.65 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.198, allocations: 0 / 415.6 MB, free: 19.65 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003387/0.1984, allocations: 43.91 kB / 415.6 MB, free: 19.61 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.585e-05/0.1984, allocations: 95.25 kB / 415.7 MB, free: 19.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001566/0.1986, allocations: 112.1 kB / 415.8 MB, free: 19.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1986, allocations: 0.8125 kB / 415.8 MB, free: 19.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.749e-05/0.1987, allocations: 36.09 kB / 415.9 MB, free: 19.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004688/0.1991, allocations: 32.8 kB / 415.9 MB, free: 19.33 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000745/0.1999, allocations: 0.7825 MB / 416.7 MB, free: 18.51 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.2, allocations: 0.7206 MB / 417.4 MB, free: 17.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.2001, allocations: 19.44 kB / 417.4 MB, free: 17.75 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2001, allocations: 0 / 417.4 MB, free: 17.75 MB / 298.7 MB Notification: Performance of Templates: time 0.00255/0.2026, allocations: 1.958 MB / 419.4 MB, free: 15.8 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