Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001211/0.001211, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 226.8 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009736/0.0009736, allocations: 104.2 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009351/0.0009353, allocations: 51.92 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1986, allocations: 50.45 MB / 407 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002445/0.2011, allocations: 2.154 MB / 409.2 MB, free: 25.67 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002599/0.2014, allocations: 178.2 kB / 409.4 MB, free: 25.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.067e-05/0.2015, allocations: 4 kB / 409.4 MB, free: 25.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.2016, allocations: 15.86 kB / 409.4 MB, free: 25.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.035e-05/0.2017, allocations: 46.59 kB / 409.4 MB, free: 25.44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001305/0.2018, allocations: 35.97 kB / 409.5 MB, free: 25.4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.202, allocations: 171.2 kB / 409.6 MB, free: 25.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.2021, allocations: 53.05 kB / 409.7 MB, free: 25.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.74e-05/0.2022, allocations: 63.78 kB / 409.8 MB, free: 25.12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.466e-05/0.2023, allocations: 67.64 kB / 409.8 MB, free: 25.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.2023, allocations: 12 kB / 409.8 MB, free: 25.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.48e-05/0.2023, allocations: 12 kB / 409.8 MB, free: 25.03 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.452e-05/0.2024, allocations: 31.84 kB / 409.9 MB, free: 25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.711e-05/0.2024, allocations: 79.59 kB / 410 MB, free: 24.92 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.2026, allocations: 168.9 kB / 410.1 MB, free: 24.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2026, allocations: 0 / 410.1 MB, free: 24.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.2026, allocations: 0 / 410.1 MB, free: 24.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.2026, allocations: 0 / 410.1 MB, free: 24.75 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.0004685/0.2031, allocations: 470.8 kB / 410.6 MB, free: 24.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.2031, allocations: 12.03 kB / 410.6 MB, free: 24.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.2032, allocations: 16.75 kB / 410.6 MB, free: 24.22 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.2033, allocations: 218.9 kB / 410.8 MB, free: 23.97 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.2033, allocations: 12.38 kB / 410.8 MB, free: 23.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.2034, allocations: 12.38 kB / 410.8 MB, free: 23.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.2036, allocations: 190.2 kB / 411 MB, free: 23.74 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.2036, allocations: 11.78 kB / 411 MB, free: 23.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.2036, allocations: 12 kB / 411.1 MB, free: 23.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.2036, allocations: 4 kB / 411.1 MB, free: 23.71 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.2038, allocations: 95.88 kB / 411.1 MB, free: 23.62 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009098/0.2047, allocations: 0.9545 MB / 412.1 MB, free: 22.58 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.28e-05/0.2048, allocations: 107.8 kB / 412.2 MB, free: 22.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.443e-05/0.2049, allocations: 42.66 kB / 412.2 MB, free: 22.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.2049, allocations: 0 / 412.2 MB, free: 22.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.185e-05/0.2049, allocations: 38.56 kB / 412.3 MB, free: 22.35 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.2049, allocations: 0 / 412.3 MB, free: 22.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.000242/0.2051, allocations: 129.5 kB / 412.4 MB, free: 22.21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.2052, allocations: 106.8 kB / 412.5 MB, free: 22.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.2053, allocations: 211.7 kB / 412.7 MB, free: 21.87 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.2053, allocations: 25.7 kB / 412.7 MB, free: 21.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.2054, allocations: 143.8 kB / 412.9 MB, free: 21.69 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.2054, allocations: 55.2 kB / 412.9 MB, free: 21.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.2055, allocations: 41.94 kB / 413 MB, free: 21.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.184e-05/0.2055, allocations: 326.8 kB / 413.3 MB, free: 21.26 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.604e-05/0.2056, allocations: 44.45 kB / 413.3 MB, free: 21.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.971e-05/0.2057, allocations: 138.6 kB / 413.5 MB, free: 21.03 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.2058, allocations: 201.5 kB / 413.7 MB, free: 20.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2058, allocations: 3.984 kB / 413.7 MB, free: 20.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000231/0.2061, allocations: 217.1 kB / 413.9 MB, free: 20.56 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.2061, allocations: 8 kB / 413.9 MB, free: 20.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2061, allocations: 4 kB / 413.9 MB, free: 20.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2061, allocations: 4 kB / 413.9 MB, free: 20.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.2063, allocations: 51.92 kB / 414 MB, free: 20.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.2063, allocations: 7.938 kB / 414 MB, free: 20.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.2064, allocations: 32.03 kB / 414 MB, free: 20.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.2064, allocations: 16 kB / 414 MB, free: 20.44 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.324e-05/0.2065, allocations: 135.3 kB / 414.1 MB, free: 20.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.371e-05/0.2065, allocations: 15.81 kB / 414.2 MB, free: 20.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.2066, allocations: 16.94 kB / 414.2 MB, free: 20.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.2066, allocations: 4 kB / 414.2 MB, free: 20.26 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2066, allocations: 0.5625 kB / 414.2 MB, free: 20.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.2066, allocations: 7.922 kB / 414.2 MB, free: 20.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003212/0.2069, allocations: 241.4 kB / 414.4 MB, free: 19.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2069, allocations: 4 kB / 414.4 MB, free: 19.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.2071, allocations: 35.92 kB / 414.5 MB, free: 19.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2071, allocations: 0 / 414.5 MB, free: 19.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.2071, allocations: 7.984 kB / 414.5 MB, free: 19.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2071, allocations: 0 / 414.5 MB, free: 19.92 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2071, allocations: 7.938 kB / 414.5 MB, free: 19.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007362/0.2079, allocations: 1.44 MB / 415.9 MB, free: 18.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.77e-05/0.2079, allocations: 92.98 kB / 416 MB, free: 18.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.2079, allocations: 0 / 416 MB, free: 18.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.2081, allocations: 11.94 kB / 416 MB, free: 18.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.169e-05/0.2081, allocations: 7.984 kB / 416 MB, free: 18.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.2081, allocations: 8 kB / 416 MB, free: 18.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.734e-05/0.2082, allocations: 149.5 kB / 416.2 MB, free: 18.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.2082, allocations: 0 / 416.2 MB, free: 18.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004815/0.2087, allocations: 55.94 kB / 416.2 MB, free: 18 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.333e-05/0.2088, allocations: 95.25 kB / 416.3 MB, free: 17.9 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001485/0.2089, allocations: 116.4 kB / 416.4 MB, free: 17.79 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2089, allocations: 0 / 416.4 MB, free: 17.79 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.749e-05/0.209, allocations: 39.92 kB / 416.5 MB, free: 17.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005114/0.2095, allocations: 23.98 kB / 416.5 MB, free: 17.72 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008193/0.2103, allocations: 0.8328 MB / 417.3 MB, free: 16.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.2105, allocations: 0.7245 MB / 418.1 MB, free: 16.09 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.448e-05/0.2105, allocations: 21.95 kB / 418.1 MB, free: 16.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.937e-05/0.2106, allocations: 15.44 kB / 418.1 MB, free: 16.05 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2106, allocations: 0 / 418.1 MB, free: 16.05 MB / 298.7 MB Notification: Performance of Templates: time 0.003146/0.2137, allocations: 1.4 MB / 419.5 MB, free: 14.66 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@2/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