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.001013/0.001013, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.212/1.212, allocations: 227.2 MB / 245 MB, free: 7.59 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008443/0.0008443, allocations: 101.5 kB / 297.3 MB, free: 6.176 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002483/0.0002483, allocations: 8 kB / 357.9 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.203, allocations: 51.47 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08593/0.2889, allocations: 77.36 MB / 486.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002036/0.2892, allocations: 71.95 kB / 486.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007555/0.2967, allocations: 2.896 MB / 489.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2968, allocations: 0 / 489.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.2968, allocations: 4 kB / 489.7 MB, free: 10.28 MB / 362.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.0004696/0.2973, allocations: 438.7 kB / 490.2 MB, free: 9.805 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.2973, allocations: 8.031 kB / 490.2 MB, free: 9.797 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.2974, allocations: 15.81 kB / 490.2 MB, free: 9.781 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.2975, allocations: 210.9 kB / 490.4 MB, free: 9.535 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.2976, allocations: 15.94 kB / 490.4 MB, free: 9.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.2976, allocations: 16 kB / 490.4 MB, free: 9.504 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.2979, allocations: 185.6 kB / 490.6 MB, free: 9.301 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.2979, allocations: 4 kB / 490.6 MB, free: 9.297 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.2979, allocations: 4 kB / 490.6 MB, free: 9.293 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.2979, allocations: 4 kB / 490.6 MB, free: 9.289 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.2981, allocations: 111.4 kB / 490.7 MB, free: 9.184 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.2992, allocations: 0.9546 MB / 491.7 MB, free: 8.145 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.2994, allocations: 99.75 kB / 491.8 MB, free: 8.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.2994, allocations: 0 / 491.8 MB, free: 8.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.2994, allocations: 50.61 kB / 491.8 MB, free: 7.961 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.2994, allocations: 0 / 491.8 MB, free: 7.961 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002743/0.2997, allocations: 129.9 kB / 492 MB, free: 7.828 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.2997, allocations: 102.8 kB / 492.1 MB, free: 7.703 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.2999, allocations: 186.9 kB / 492.2 MB, free: 7.508 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.2999, allocations: 29.7 kB / 492.3 MB, free: 7.473 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.004e-05/0.3, allocations: 143.8 kB / 492.4 MB, free: 7.328 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.3001, allocations: 55.28 kB / 492.5 MB, free: 7.273 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.3001, allocations: 0 / 492.5 MB, free: 7.273 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.3002, allocations: 331.8 kB / 492.8 MB, free: 6.941 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.435e-05/0.3002, allocations: 40.45 kB / 492.8 MB, free: 6.898 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.3004, allocations: 142.6 kB / 493 MB, free: 6.711 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.04e-05/0.3005, allocations: 67.95 kB / 493 MB, free: 6.645 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3005, allocations: 4 kB / 493 MB, free: 6.641 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002749/0.3008, allocations: 213.1 kB / 493.2 MB, free: 6.426 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.3008, allocations: 8 kB / 493.2 MB, free: 6.418 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.3008, allocations: 4 kB / 493.2 MB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3008, allocations: 4.406 kB / 493.3 MB, free: 6.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.301, allocations: 51.92 kB / 493.3 MB, free: 6.359 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.301, allocations: 15.91 kB / 493.3 MB, free: 6.344 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.3011, allocations: 23.75 kB / 493.3 MB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.3011, allocations: 16 kB / 493.4 MB, free: 6.305 MB / 362.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 9.124e-05/0.3012, allocations: 141.5 kB / 493.5 MB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.76e-05/0.3013, allocations: 15.81 kB / 493.5 MB, free: 6.141 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.438e-05/0.3014, allocations: 20.92 kB / 493.5 MB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3014, allocations: 4 kB / 493.5 MB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3014, allocations: 4 kB / 493.5 MB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3014, allocations: 0 / 493.5 MB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003769/0.3018, allocations: 245.4 kB / 493.8 MB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3018, allocations: 0 / 493.8 MB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.3019, allocations: 27.98 kB / 493.8 MB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3019, allocations: 4 kB / 493.8 MB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.302, allocations: 4 kB / 493.8 MB, free: 5.785 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.302, allocations: 4 kB / 493.8 MB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.302, allocations: 3.938 kB / 493.8 MB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.3023, allocations: 409.2 kB / 494.2 MB, free: 5.348 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.831e-05/0.3023, allocations: 92.98 kB / 494.3 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.3024, allocations: 4 kB / 494.3 MB, free: 5.234 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.3025, allocations: 4 kB / 494.3 MB, free: 5.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.669e-05/0.3025, allocations: 7.984 kB / 494.3 MB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.832e-06/0.3025, allocations: 8 kB / 494.3 MB, free: 5.215 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001089/0.3027, allocations: 149.5 kB / 494.5 MB, free: 5.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3027, allocations: 3.938 kB / 494.5 MB, free: 5.066 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003438/0.303, allocations: 43.91 kB / 494.5 MB, free: 5.023 MB / 362.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.000103/0.3031, allocations: 99.2 kB / 494.6 MB, free: 4.918 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000181/0.3033, allocations: 120.7 kB / 494.7 MB, free: 4.801 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3033, allocations: 0 / 494.7 MB, free: 4.801 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.66e-05/0.3034, allocations: 32.11 kB / 494.8 MB, free: 4.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.3037, allocations: 30.22 kB / 494.8 MB, free: 4.742 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009115/0.3046, allocations: 0.7499 MB / 495.6 MB, free: 3.957 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.3049, allocations: 0.7284 MB / 496.3 MB, free: 3.203 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.309e-05/0.305, allocations: 17.55 kB / 496.3 MB, free: 3.184 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.305, allocations: 15.44 kB / 496.3 MB, free: 3.168 MB / 362.7 MB Notification: Performance of SimCode: time 2.91e-07/0.305, allocations: 0 / 496.3 MB, free: 3.168 MB / 362.7 MB Notification: Performance of Templates: time 0.003153/0.3081, allocations: 1.222 MB / 497.5 MB, free: 1.961 MB / 362.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