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.001231/0.001232, allocations: 195.1 kB / 14.16 MB, free: 1.152 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001446/0.001446, allocations: 92.66 kB / 292.1 MB, free: 5.988 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.628e-05/4.646e-05, allocations: 4 kB / 350.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1339, allocations: 51.49 MB / 402 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.403/0.537, allocations: 77.29 MB / 479.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.5373, allocations: 69.91 kB / 479.4 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007541/0.5448, allocations: 2.898 MB / 482.3 MB, free: 9.668 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5449, allocations: 0 / 482.3 MB, free: 9.668 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.792e-05/0.5449, allocations: 4 kB / 482.3 MB, free: 9.664 MB / 346.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.0004929/0.5454, allocations: 418.2 kB / 482.7 MB, free: 9.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/0.5455, allocations: 8.594 kB / 482.7 MB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.806e-05/0.5456, allocations: 24.34 kB / 482.7 MB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.5459, allocations: 206.4 kB / 482.9 MB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.5459, allocations: 12.11 kB / 482.9 MB, free: 8.961 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.594e-05/0.5459, allocations: 25.41 kB / 483 MB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000367/0.5463, allocations: 183.9 kB / 483.1 MB, free: 8.793 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.5463, allocations: 0.6562 kB / 483.1 MB, free: 8.793 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.5464, allocations: 14.73 kB / 483.2 MB, free: 8.785 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.5464, allocations: 4 kB / 483.2 MB, free: 8.781 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.5466, allocations: 92.42 kB / 483.2 MB, free: 8.715 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.5481, allocations: 0.9571 MB / 484.2 MB, free: 7.762 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.5482, allocations: 98.8 kB / 484.3 MB, free: 7.652 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.839e-05/0.5483, allocations: 39.42 kB / 484.3 MB, free: 7.613 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.5483, allocations: 2.344 kB / 484.3 MB, free: 7.613 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.5484, allocations: 42.52 kB / 484.4 MB, free: 7.566 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 3.066e-06/0.5484, allocations: 0 / 484.4 MB, free: 7.566 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003132/0.5487, allocations: 107.2 kB / 484.5 MB, free: 7.473 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.412e-05/0.5488, allocations: 110.8 kB / 484.6 MB, free: 7.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.549, allocations: 178.4 kB / 484.8 MB, free: 7.184 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.549, allocations: 25.7 kB / 484.8 MB, free: 7.152 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.5491, allocations: 147.1 kB / 484.9 MB, free: 7.023 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.5492, allocations: 55.14 kB / 485 MB, free: 6.977 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.278e-06/0.5492, allocations: 3.812 kB / 485 MB, free: 6.977 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.5494, allocations: 334.4 kB / 485.3 MB, free: 6.648 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.358e-05/0.5495, allocations: 35.72 kB / 485.4 MB, free: 6.621 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.5496, allocations: 138.5 kB / 485.5 MB, free: 6.457 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.5497, allocations: 59.05 kB / 485.6 MB, free: 6.414 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.5497, allocations: 0 / 485.6 MB, free: 6.414 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002999/0.55, allocations: 214.6 kB / 485.8 MB, free: 6.234 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/0.5501, allocations: 8 kB / 485.8 MB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.5501, allocations: 0 / 485.8 MB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.081e-05/0.5502, allocations: 8 kB / 485.8 MB, free: 6.219 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.5503, allocations: 55.08 kB / 485.8 MB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/0.5503, allocations: 4 kB / 485.8 MB, free: 6.164 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.5505, allocations: 27.25 kB / 485.9 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.5505, allocations: 12.95 kB / 485.9 MB, free: 6.133 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 () * 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.028e-05/0.5506, allocations: 124.6 kB / 486 MB, free: 6.008 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.804e-05/0.5507, allocations: 19.81 kB / 486 MB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.634e-05/0.5507, allocations: 25.95 kB / 486 MB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.5507, allocations: 0 / 486 MB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.5508, allocations: 4 kB / 486 MB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.5508, allocations: 0 / 486 MB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/0.5511, allocations: 240.3 kB / 486.3 MB, free: 5.711 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.5512, allocations: 4 kB / 486.3 MB, free: 5.707 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.5513, allocations: 34.8 kB / 486.3 MB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.5513, allocations: 0 / 486.3 MB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.5513, allocations: 11.81 kB / 486.3 MB, free: 5.668 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.5513, allocations: 0 / 486.3 MB, free: 5.668 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.5514, allocations: 0 / 486.3 MB, free: 5.668 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/0.5517, allocations: 408.1 kB / 486.7 MB, free: 5.266 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-05/0.5517, allocations: 104.8 kB / 486.8 MB, free: 5.148 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.5518, allocations: 4 kB / 486.8 MB, free: 5.145 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.5519, allocations: 0 / 486.8 MB, free: 5.145 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.552, allocations: 13.2 kB / 486.8 MB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.552, allocations: 4 kB / 486.9 MB, free: 5.133 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.666e-05/0.5521, allocations: 144.7 kB / 487 MB, free: 5.012 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5521, allocations: 0 / 487 MB, free: 5.012 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003351/0.5524, allocations: 43.83 kB / 487 MB, free: 4.977 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 () * 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.0001511/0.5526, allocations: 103.2 kB / 487.1 MB, free: 4.863 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001818/0.5528, allocations: 102.6 kB / 487.2 MB, free: 4.785 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5528, allocations: 0 / 487.2 MB, free: 4.785 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.111e-05/0.5528, allocations: 39.23 kB / 487.3 MB, free: 4.754 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.5532, allocations: 24.23 kB / 487.3 MB, free: 4.738 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007652/0.5539, allocations: 0.5632 MB / 487.9 MB, free: 4.188 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.5542, allocations: 0.7324 MB / 488.6 MB, free: 3.426 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.493e-05/0.5542, allocations: 17.55 kB / 488.6 MB, free: 3.406 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.045e-05/0.5543, allocations: 19.44 kB / 488.6 MB, free: 3.387 MB / 346.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5543, allocations: 0.5625 kB / 488.6 MB, free: 3.387 MB / 346.7 MB Notification: Performance of Templates: time 0.003809/0.5581, allocations: 1.223 MB / 489.9 MB, free: 2.219 MB / 346.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