Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009447/0.0009446, allocations: 195.7 kB / 17.43 MB, free: 4.371 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 229.5 MB / 247.7 MB, free: 6.363 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007746/0.0007745, allocations: 99.77 kB / 299.8 MB, free: 5.379 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002081/0.0002081, allocations: 8 kB / 360.6 MB, free: 8.512 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1882, allocations: 51.41 MB / 412 MB, free: 25.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.00164/0.1899, allocations: 1.752 MB / 413.8 MB, free: 24.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003236/0.1902, allocations: 169.3 kB / 414 MB, free: 24.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1904, allocations: 5.531 kB / 414 MB, free: 24.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.1905, allocations: 23.78 kB / 414 MB, free: 23.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.189e-05/0.1906, allocations: 36.84 kB / 414 MB, free: 23.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001334/0.1907, allocations: 31.97 kB / 414.1 MB, free: 23.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.1909, allocations: 178.2 kB / 414.2 MB, free: 23.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.191, allocations: 60.7 kB / 414.3 MB, free: 23.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.274e-05/0.1911, allocations: 55.73 kB / 414.3 MB, free: 23.63 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.726e-05/0.1912, allocations: 67.64 kB / 414.4 MB, free: 23.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.1912, allocations: 8 kB / 414.4 MB, free: 23.56 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.311e-05/0.1912, allocations: 8 kB / 414.4 MB, free: 23.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.465e-05/0.1913, allocations: 23.86 kB / 414.5 MB, free: 23.53 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.435e-05/0.1913, allocations: 101.3 kB / 414.6 MB, free: 23.42 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.1915, allocations: 164.9 kB / 414.7 MB, free: 23.26 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1915, allocations: 4 kB / 414.7 MB, free: 23.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1915, allocations: 0 / 414.7 MB, free: 23.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1915, allocations: 0 / 414.7 MB, free: 23.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.0004246/0.1919, allocations: 438.9 kB / 415.1 MB, free: 22.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.192, allocations: 8.031 kB / 415.2 MB, free: 22.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.192, allocations: 16.75 kB / 415.2 MB, free: 22.76 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.1922, allocations: 220 kB / 415.4 MB, free: 22.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.1922, allocations: 16.38 kB / 415.4 MB, free: 22.49 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.396e-05/0.1922, allocations: 24.22 kB / 415.4 MB, free: 22.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.1925, allocations: 178.2 kB / 415.6 MB, free: 22.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.1925, allocations: 3.938 kB / 415.6 MB, free: 22.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.1926, allocations: 8 kB / 415.6 MB, free: 22.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1926, allocations: 8 kB / 415.6 MB, free: 22.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.1927, allocations: 99.88 kB / 415.7 MB, free: 22.15 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009297/0.1937, allocations: 0.9507 MB / 416.7 MB, free: 21.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.899e-05/0.1938, allocations: 103.8 kB / 416.8 MB, free: 20.99 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.338e-05/0.1938, allocations: 34.58 kB / 416.8 MB, free: 20.95 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.1938, allocations: 12.08 kB / 416.8 MB, free: 20.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.233e-05/0.1939, allocations: 34.5 kB / 416.8 MB, free: 20.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.1939, allocations: 0 / 416.8 MB, free: 20.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002415/0.1941, allocations: 129.4 kB / 417 MB, free: 20.76 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.1942, allocations: 110.8 kB / 417.1 MB, free: 20.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.1943, allocations: 215.6 kB / 417.3 MB, free: 20.4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.1943, allocations: 29.7 kB / 417.3 MB, free: 20.37 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.1944, allocations: 135.9 kB / 417.5 MB, free: 20.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.1944, allocations: 55.28 kB / 417.5 MB, free: 20.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/0.1944, allocations: 4 kB / 417.5 MB, free: 20.17 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.554e-05/0.1945, allocations: 330.8 kB / 417.8 MB, free: 19.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.639e-05/0.1945, allocations: 40.39 kB / 417.9 MB, free: 19.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.179e-05/0.1946, allocations: 144.1 kB / 418 MB, free: 19.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.1948, allocations: 193.5 kB / 418.2 MB, free: 19.37 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1948, allocations: 0 / 418.2 MB, free: 19.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002396/0.195, allocations: 217.4 kB / 418.4 MB, free: 19.15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.195, allocations: 7.984 kB / 418.4 MB, free: 19.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.195, allocations: 4 kB / 418.4 MB, free: 19.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1951, allocations: 4 kB / 418.4 MB, free: 19.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.1952, allocations: 55.92 kB / 418.5 MB, free: 19.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.1952, allocations: 4 kB / 418.5 MB, free: 19.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.1953, allocations: 27.62 kB / 418.5 MB, free: 19.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.1954, allocations: 16 kB / 418.5 MB, free: 19.04 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.652e-05/0.1954, allocations: 133.8 kB / 418.7 MB, free: 18.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.083e-05/0.1955, allocations: 24.52 kB / 418.7 MB, free: 18.87 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.595e-05/0.1955, allocations: 20.94 kB / 418.7 MB, free: 18.85 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1955, allocations: 0 / 418.7 MB, free: 18.85 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1956, allocations: 0 / 418.7 MB, free: 18.85 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1956, allocations: 11.92 kB / 418.7 MB, free: 18.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003171/0.1959, allocations: 237.4 kB / 419 MB, free: 18.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1959, allocations: 0 / 419 MB, free: 18.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.196, allocations: 27.98 kB / 419 MB, free: 18.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.196, allocations: 7.984 kB / 419 MB, free: 18.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1961, allocations: 4 kB / 419 MB, free: 18.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1961, allocations: 11.98 kB / 419 MB, free: 18.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1961, allocations: 0 / 419 MB, free: 18.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.1963, allocations: 381.7 kB / 419.4 MB, free: 18.11 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.897e-05/0.1963, allocations: 92.91 kB / 419.5 MB, free: 18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.1963, allocations: 8.062 kB / 419.5 MB, free: 18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.1965, allocations: 0 / 419.5 MB, free: 18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/0.1965, allocations: 19.92 kB / 419.5 MB, free: 17.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.1965, allocations: 4 kB / 419.5 MB, free: 17.97 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.058e-05/0.1966, allocations: 149.5 kB / 419.6 MB, free: 17.83 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1966, allocations: 0 / 419.6 MB, free: 17.83 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003187/0.1969, allocations: 39.91 kB / 419.7 MB, free: 17.79 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.118e-05/0.197, allocations: 107.2 kB / 419.8 MB, free: 17.67 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001608/0.1972, allocations: 108.1 kB / 419.9 MB, free: 17.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1972, allocations: 3.938 kB / 419.9 MB, free: 17.56 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.77e-05/0.1972, allocations: 35.92 kB / 419.9 MB, free: 17.53 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004596/0.1977, allocations: 21.25 kB / 420 MB, free: 17.51 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007489/0.1985, allocations: 0.7818 MB / 420.7 MB, free: 16.7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.1986, allocations: 0.7245 MB / 421.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.681e-05/0.1987, allocations: 21.94 kB / 421.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.869e-05/0.1987, allocations: 15.44 kB / 421.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1987, allocations: 4 kB / 421.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of Templates: time 0.003071/0.2018, allocations: 1.259 MB / 422.8 MB, free: 14.65 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches