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.001193/0.001193, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 225.6 MB / 234.8 MB, free: 3.25 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000887/0.0008871, allocations: 102.5 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.663e-05/2.647e-05, allocations: 8 kB / 343.7 MB, free: 8.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1401, allocations: 51.47 MB / 395.2 MB, free: 4.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.431/0.5712, allocations: 76.62 MB / 471.8 MB, free: 14.78 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/0.5714, allocations: 69.33 kB / 471.9 MB, free: 14.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007391/0.5788, allocations: 2.867 MB / 474.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.787e-06/0.5789, allocations: 0 / 474.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.5789, allocations: 7.938 kB / 474.7 MB, free: 13.08 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.0004644/0.5794, allocations: 422.7 kB / 475.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.5794, allocations: 8.031 kB / 475.1 MB, free: 12.65 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.636e-05/0.5795, allocations: 26.84 kB / 475.2 MB, free: 12.63 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.5797, allocations: 204.2 kB / 475.4 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.5798, allocations: 8.859 kB / 475.4 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/0.5798, allocations: 16.78 kB / 475.4 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002154/0.58, allocations: 78.14 kB / 475.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.5803, allocations: 165.8 kB / 475.6 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.5804, allocations: 0 / 475.6 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.5804, allocations: 0 / 475.6 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.517e-06/0.5804, allocations: 6.156 kB / 475.6 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.5817, allocations: 0.9044 MB / 476.5 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.5818, allocations: 99.55 kB / 476.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.092e-05/0.5819, allocations: 31.8 kB / 476.7 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.5819, allocations: 4 kB / 476.7 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.5819, allocations: 36.05 kB / 476.7 MB, free: 11.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.663e-06/0.582, allocations: 4 kB / 476.7 MB, free: 11.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002997/0.5823, allocations: 86.67 kB / 476.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.5823, allocations: 110.9 kB / 476.9 MB, free: 10.99 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.5825, allocations: 144.6 kB / 477.1 MB, free: 10.86 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.5825, allocations: 25.7 kB / 477.1 MB, free: 10.83 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.58e-05/0.5826, allocations: 139.9 kB / 477.2 MB, free: 10.71 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.5826, allocations: 55.75 kB / 477.3 MB, free: 10.67 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.5826, allocations: 0 / 477.3 MB, free: 10.67 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.239e-05/0.5827, allocations: 329 kB / 477.6 MB, free: 10.35 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.461e-05/0.5827, allocations: 34.91 kB / 477.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.464e-05/0.5828, allocations: 132.9 kB / 477.8 MB, free: 10.17 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.002e-05/0.5829, allocations: 59.78 kB / 477.8 MB, free: 10.13 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.5829, allocations: 3.953 kB / 477.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002241/0.5832, allocations: 176.4 kB / 478 MB, free: 9.988 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.5832, allocations: 4 kB / 478 MB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.5832, allocations: 4.406 kB / 478 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/0.5832, allocations: 12 kB / 478 MB, free: 9.969 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.5834, allocations: 52.81 kB / 478.1 MB, free: 9.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.5834, allocations: 8 kB / 478.1 MB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.226e-05/0.5835, allocations: 15.75 kB / 478.1 MB, free: 9.906 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.5835, allocations: 17.38 kB / 478.1 MB, free: 9.895 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 5.853e-05/0.5836, allocations: 108.9 kB / 478.2 MB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.692e-05/0.5837, allocations: 19.8 kB / 478.2 MB, free: 9.762 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.428e-05/0.5837, allocations: 16.64 kB / 478.2 MB, free: 9.754 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.5837, allocations: 9.688 kB / 478.3 MB, free: 9.746 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.5837, allocations: 0 / 478.3 MB, free: 9.746 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.5837, allocations: 0 / 478.3 MB, free: 9.746 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000332/0.5841, allocations: 202.3 kB / 478.4 MB, free: 9.551 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5841, allocations: 0 / 478.4 MB, free: 9.551 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.5842, allocations: 31.36 kB / 478.5 MB, free: 9.527 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.5843, allocations: 7.641 kB / 478.5 MB, free: 9.523 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.5843, allocations: 5.453 kB / 478.5 MB, free: 9.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.5843, allocations: 0 / 478.5 MB, free: 9.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5843, allocations: 0 / 478.5 MB, free: 9.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.5846, allocations: 397.6 kB / 478.9 MB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.979e-05/0.5846, allocations: 94.31 kB / 479 MB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.5846, allocations: 4 kB / 479 MB, free: 9.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.5848, allocations: 0 / 479 MB, free: 9.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.5848, allocations: 10.88 kB / 479 MB, free: 9.016 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.5848, allocations: 8 kB / 479 MB, free: 9.008 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.347e-05/0.5849, allocations: 118.1 kB / 479.1 MB, free: 8.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5849, allocations: 0 / 479.1 MB, free: 8.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003421/0.5852, allocations: 36.12 kB / 479.1 MB, free: 8.875 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.0001466/0.5854, allocations: 105.4 kB / 479.2 MB, free: 8.762 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001721/0.5856, allocations: 92.55 kB / 479.3 MB, free: 8.695 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5856, allocations: 4.062 kB / 479.3 MB, free: 8.691 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.781e-05/0.5856, allocations: 32.22 kB / 479.4 MB, free: 8.668 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.586, allocations: 26.61 kB / 479.4 MB, free: 8.652 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008214/0.5868, allocations: 0.5546 MB / 480 MB, free: 8.156 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.5871, allocations: 0.7283 MB / 480.7 MB, free: 7.426 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.263e-05/0.5872, allocations: 17.89 kB / 480.7 MB, free: 7.414 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.5872, allocations: 12.38 kB / 480.7 MB, free: 7.402 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5872, allocations: 0 / 480.7 MB, free: 7.402 MB / 346.7 MB Notification: Performance of Templates: time 0.003415/0.5906, allocations: 1.033 MB / 481.7 MB, free: 6.824 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