Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00191/0.00191, allocations: 181.1 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.4 MB / 223.1 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000772/0.0007721, allocations: 101.1 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002743/0.0002742, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2841, allocations: 47.56 MB / 375.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1051/0.3893, allocations: 75.5 MB / 451.3 MB, free: 5.168 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/0.3897, allocations: 71.95 kB / 451.4 MB, free: 5.098 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008581/0.3983, allocations: 2.824 MB / 454.2 MB, free: 2.262 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.837e-06/0.3983, allocations: 0 / 454.2 MB, free: 2.262 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.3983, allocations: 11.94 kB / 454.2 MB, free: 2.25 MB / 330.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.000534/0.3989, allocations: 430.5 kB / 454.6 MB, free: 1.781 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3989, allocations: 20.02 kB / 454.7 MB, free: 1.762 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.53e-05/0.399, allocations: 15.81 kB / 454.7 MB, free: 1.746 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.3992, allocations: 214.9 kB / 454.9 MB, free: 1.496 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.3992, allocations: 12 kB / 454.9 MB, free: 1.484 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.3993, allocations: 16 kB / 454.9 MB, free: 1.469 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.3995, allocations: 185.6 kB / 455.1 MB, free: 1.266 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.3996, allocations: 4 kB / 455.1 MB, free: 1.262 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.3996, allocations: 8 kB / 455.1 MB, free: 1.254 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.3996, allocations: 4 kB / 455.1 MB, free: 1.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.3998, allocations: 102.8 kB / 455.2 MB, free: 1.152 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.401, allocations: 0.9596 MB / 456.2 MB, free: 112 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.4012, allocations: 107.9 kB / 456.3 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-06/0.4012, allocations: 0 / 456.3 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.4012, allocations: 34.56 kB / 456.3 MB, free: 15.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.4012, allocations: 0 / 456.3 MB, free: 15.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002987/0.4015, allocations: 133.4 kB / 456.4 MB, free: 15.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.4016, allocations: 110.8 kB / 456.5 MB, free: 15.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.4018, allocations: 182.9 kB / 456.7 MB, free: 15.47 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.4018, allocations: 29.7 kB / 456.7 MB, free: 15.44 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.4019, allocations: 147.8 kB / 456.9 MB, free: 15.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.402, allocations: 51.23 kB / 456.9 MB, free: 15.24 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-06/0.402, allocations: 4 kB / 456.9 MB, free: 15.24 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.4021, allocations: 334.8 kB / 457.3 MB, free: 14.9 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.322e-05/0.4022, allocations: 36.45 kB / 457.3 MB, free: 14.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.4023, allocations: 146.6 kB / 457.4 MB, free: 14.67 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.295e-05/0.4024, allocations: 60.55 kB / 457.5 MB, free: 14.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4024, allocations: 0 / 457.5 MB, free: 14.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002879/0.4027, allocations: 217.1 kB / 457.7 MB, free: 14.39 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.4027, allocations: 11.98 kB / 457.7 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.4028, allocations: 4 kB / 457.7 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.4028, allocations: 4 kB / 457.7 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.4029, allocations: 47.92 kB / 457.8 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.403, allocations: 4.406 kB / 457.8 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.4031, allocations: 31.69 kB / 457.8 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.4031, allocations: 16 kB / 457.8 MB, free: 14.28 MB / 346.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 0.0001009/0.4032, allocations: 137.7 kB / 458 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.056e-05/0.4033, allocations: 19.8 kB / 458 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.764e-05/0.4033, allocations: 20.88 kB / 458 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.4033, allocations: 4 kB / 458 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.4034, allocations: 0 / 458 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.4034, allocations: 3.984 kB / 458 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004102/0.4038, allocations: 245.4 kB / 458.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4038, allocations: 0 / 458.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.404, allocations: 27.98 kB / 458.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.404, allocations: 4 kB / 458.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.404, allocations: 4 kB / 458.3 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.404, allocations: 3.984 kB / 458.3 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.404, allocations: 4 kB / 458.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.4043, allocations: 410.9 kB / 458.7 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.718e-05/0.4044, allocations: 96.97 kB / 458.8 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.4044, allocations: 4 kB / 458.8 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.4046, allocations: 4 kB / 458.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.231e-05/0.4046, allocations: 7.984 kB / 458.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.4046, allocations: 4 kB / 458.8 MB, free: 13.19 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000117/0.4047, allocations: 145.5 kB / 459 MB, free: 13.05 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4047, allocations: 4 kB / 459 MB, free: 13.05 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003461/0.4051, allocations: 43.91 kB / 459 MB, free: 13 MB / 346.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 0.0001303/0.4052, allocations: 103.1 kB / 459.1 MB, free: 12.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.4054, allocations: 104.6 kB / 459.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4054, allocations: 0 / 459.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.439e-05/0.4055, allocations: 40.5 kB / 459.2 MB, free: 12.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.4059, allocations: 25.86 kB / 459.3 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.407, allocations: 0.7496 MB / 460 MB, free: 11.95 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.4073, allocations: 0.7323 MB / 460.8 MB, free: 11.19 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.726e-05/0.4074, allocations: 17.55 kB / 460.8 MB, free: 11.17 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.4075, allocations: 19.38 kB / 460.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4075, allocations: 4 kB / 460.8 MB, free: 11.14 MB / 346.7 MB Notification: Performance of Templates: time 0.003651/0.4111, allocations: 1.221 MB / 462 MB, free: 9.934 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches