Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.00139, allocations: 180.9 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 225.7 MB / 243.2 MB, free: 10.26 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008002/0.0008004, allocations: 98.23 kB / 294.4 MB, free: 9.75 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002297/0.0002297, allocations: 11.94 kB / 354.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1875, allocations: 50.4 MB / 404.6 MB, free: 31.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.001511/0.1891, allocations: 1.744 MB / 406.3 MB, free: 29.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002462/0.1893, allocations: 170 kB / 406.5 MB, free: 29.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.401e-05/0.1894, allocations: 3.938 kB / 406.5 MB, free: 29.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.491e-05/0.1895, allocations: 23.84 kB / 406.5 MB, free: 29.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.366e-05/0.1896, allocations: 37.45 kB / 406.5 MB, free: 29.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001183/0.1897, allocations: 39.16 kB / 406.6 MB, free: 29.35 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.1899, allocations: 175.2 kB / 406.8 MB, free: 29.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.19, allocations: 49.5 kB / 406.8 MB, free: 29.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.287e-05/0.19, allocations: 51.8 kB / 406.8 MB, free: 29.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.859e-05/0.1901, allocations: 75.56 kB / 406.9 MB, free: 29 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.1902, allocations: 8 kB / 406.9 MB, free: 28.99 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.186e-05/0.1902, allocations: 8 kB / 406.9 MB, free: 28.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.259e-05/0.1902, allocations: 23.86 kB / 407 MB, free: 28.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.817e-05/0.1903, allocations: 101.3 kB / 407.1 MB, free: 28.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.1904, allocations: 172.8 kB / 407.2 MB, free: 28.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1904, allocations: 0 / 407.2 MB, free: 28.69 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1904, allocations: 2.25 kB / 407.2 MB, free: 28.69 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.1904, allocations: 0 / 407.2 MB, free: 28.69 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.0003899/0.1908, allocations: 435.4 kB / 407.7 MB, free: 28.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.1909, allocations: 16.03 kB / 407.7 MB, free: 28.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.1909, allocations: 16.75 kB / 407.7 MB, free: 28.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.1911, allocations: 216.1 kB / 407.9 MB, free: 27.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.1911, allocations: 8.375 kB / 407.9 MB, free: 27.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.1911, allocations: 24.28 kB / 407.9 MB, free: 27.9 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.1913, allocations: 182.2 kB / 408.1 MB, free: 27.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1914, allocations: 11.88 kB / 408.1 MB, free: 27.69 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.1914, allocations: 4 kB / 408.1 MB, free: 27.69 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1914, allocations: 8 kB / 408.1 MB, free: 27.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.1915, allocations: 95.88 kB / 408.2 MB, free: 27.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008635/0.1924, allocations: 0.9585 MB / 409.2 MB, free: 26.54 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.289e-05/0.1925, allocations: 99.81 kB / 409.3 MB, free: 26.42 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.077e-05/0.1926, allocations: 50.59 kB / 409.3 MB, free: 26.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.575e-06/0.1926, allocations: 0 / 409.3 MB, free: 26.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.216e-05/0.1926, allocations: 38.56 kB / 409.4 MB, free: 26.31 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.1926, allocations: 0 / 409.4 MB, free: 26.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002249/0.1928, allocations: 121.4 kB / 409.5 MB, free: 26.19 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.1929, allocations: 110.8 kB / 409.6 MB, free: 26.05 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.193, allocations: 207.7 kB / 409.8 MB, free: 25.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.193, allocations: 33.7 kB / 409.8 MB, free: 25.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.623e-05/0.1931, allocations: 139.8 kB / 410 MB, free: 25.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.1931, allocations: 47.3 kB / 410 MB, free: 25.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.1931, allocations: 8 kB / 410 MB, free: 25.61 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.022e-05/0.1932, allocations: 330.8 kB / 410.3 MB, free: 25.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.232e-05/0.1932, allocations: 40.39 kB / 410.4 MB, free: 25.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.657e-05/0.1933, allocations: 137 kB / 410.5 MB, free: 25.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.1934, allocations: 205.5 kB / 410.7 MB, free: 24.8 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1934, allocations: 0 / 410.7 MB, free: 24.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002183/0.1937, allocations: 213.8 kB / 410.9 MB, free: 24.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.1937, allocations: 8 kB / 410.9 MB, free: 24.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1937, allocations: 4 kB / 410.9 MB, free: 24.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1937, allocations: 4.141 kB / 410.9 MB, free: 24.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.1939, allocations: 51.86 kB / 411 MB, free: 24.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1939, allocations: 7.938 kB / 411 MB, free: 24.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.049e-05/0.194, allocations: 31.62 kB / 411 MB, free: 24.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.194, allocations: 16.33 kB / 411.1 MB, free: 24.46 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.097e-05/0.194, allocations: 137.8 kB / 411.2 MB, free: 24.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.624e-05/0.1941, allocations: 15.81 kB / 411.2 MB, free: 24.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.304e-05/0.1941, allocations: 20.94 kB / 411.2 MB, free: 24.28 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1942, allocations: 4 kB / 411.2 MB, free: 24.28 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.1942, allocations: 0 / 411.2 MB, free: 24.28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1942, allocations: 7.922 kB / 411.2 MB, free: 24.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003/0.1945, allocations: 241.4 kB / 411.5 MB, free: 23.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1945, allocations: 0 / 411.5 MB, free: 23.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.1946, allocations: 27.98 kB / 411.5 MB, free: 23.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1946, allocations: 4 kB / 411.5 MB, free: 23.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1946, allocations: 11.98 kB / 411.5 MB, free: 23.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1947, allocations: 3.938 kB / 411.5 MB, free: 23.94 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1947, allocations: 4 kB / 411.5 MB, free: 23.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.1948, allocations: 377.8 kB / 411.9 MB, free: 23.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.844e-05/0.1949, allocations: 92.91 kB / 412 MB, free: 23.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.1949, allocations: 8.062 kB / 412 MB, free: 23.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.195, allocations: 4.125 kB / 412 MB, free: 23.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.1951, allocations: 11.92 kB / 412 MB, free: 23.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.1951, allocations: 8 kB / 412 MB, free: 23.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.489e-05/0.1952, allocations: 153.4 kB / 412.2 MB, free: 23.26 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1952, allocations: 4 kB / 412.2 MB, free: 23.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000302/0.1955, allocations: 36 kB / 412.2 MB, free: 23.22 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 6.556e-05/0.1955, allocations: 107.2 kB / 412.3 MB, free: 23.1 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001523/0.1957, allocations: 111.8 kB / 412.4 MB, free: 22.99 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1957, allocations: 0 / 412.4 MB, free: 22.99 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.662e-05/0.1958, allocations: 35.92 kB / 412.4 MB, free: 22.96 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004602/0.1962, allocations: 24.67 kB / 412.5 MB, free: 22.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007635/0.197, allocations: 0.7743 MB / 413.2 MB, free: 22.13 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.1971, allocations: 0.7284 MB / 414 MB, free: 21.38 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.576e-05/0.1972, allocations: 13.95 kB / 414 MB, free: 21.36 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.844e-05/0.1972, allocations: 15.44 kB / 414 MB, free: 21.34 MB / 298.7 MB Notification: Performance of SimCode: time 3.11e-07/0.1972, allocations: 0 / 414 MB, free: 21.34 MB / 298.7 MB Notification: Performance of Templates: time 0.002933/0.2002, allocations: 1.269 MB / 415.3 MB, free: 20.08 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches