Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001456/0.001459, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.974/1.974, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.00112/0.00112, allocations: 99.48 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004473/0.0004473, allocations: 8 kB / 327 MB, free: 240 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3275, allocations: 47.56 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1242/0.4517, allocations: 75.52 MB / 450 MB, free: 5.277 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.4521, allocations: 71.97 kB / 450.1 MB, free: 5.207 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01142/0.4635, allocations: 2.82 MB / 452.9 MB, free: 2.375 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4635, allocations: 4 kB / 452.9 MB, free: 2.371 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.796e-05/0.4636, allocations: 8 kB / 452.9 MB, free: 2.363 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.0006681/0.4642, allocations: 438.5 kB / 453.4 MB, free: 1.887 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.4643, allocations: 8.031 kB / 453.4 MB, free: 1.879 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.932e-05/0.4644, allocations: 19.81 kB / 453.4 MB, free: 1.859 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.4646, allocations: 203 kB / 453.6 MB, free: 1.621 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.4647, allocations: 20 kB / 453.6 MB, free: 1.602 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.26e-05/0.4647, allocations: 19.98 kB / 453.6 MB, free: 1.582 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004011/0.4651, allocations: 181.6 kB / 453.8 MB, free: 1.383 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.4652, allocations: 3.984 kB / 453.8 MB, free: 1.379 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.4652, allocations: 4 kB / 453.8 MB, free: 1.375 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.4652, allocations: 8 kB / 453.8 MB, free: 1.367 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002889/0.4655, allocations: 91.89 kB / 453.9 MB, free: 1.277 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.4672, allocations: 0.9713 MB / 454.9 MB, free: 228 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.4675, allocations: 103.8 kB / 455 MB, free: 96 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.4675, allocations: 4 kB / 455 MB, free: 92 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.4675, allocations: 34.56 kB / 455 MB, free: 48 kB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 2.254e-06/0.4675, allocations: 3.938 kB / 455 MB, free: 44 kB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004255/0.468, allocations: 129.9 kB / 455.2 MB, free: 15.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.468, allocations: 106.8 kB / 455.3 MB, free: 15.78 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.4683, allocations: 186.9 kB / 455.4 MB, free: 15.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.4683, allocations: 25.7 kB / 455.5 MB, free: 15.56 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.4685, allocations: 210.3 kB / 455.7 MB, free: 15.35 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.347e-05/0.4685, allocations: 47.3 kB / 455.7 MB, free: 15.3 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.598e-05/0.4686, allocations: 8 kB / 455.7 MB, free: 15.3 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.4687, allocations: 322.8 kB / 456 MB, free: 14.97 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.4688, allocations: 36.45 kB / 456.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.469, allocations: 146.6 kB / 456.2 MB, free: 14.74 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.4692, allocations: 63.92 kB / 456.3 MB, free: 14.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.4692, allocations: 0 / 456.3 MB, free: 14.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004954/0.4697, allocations: 209.4 kB / 456.5 MB, free: 14.47 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.4697, allocations: 5.094 kB / 456.5 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.4698, allocations: 4 kB / 456.5 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.4698, allocations: 4 kB / 456.5 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/0.4701, allocations: 51.92 kB / 456.6 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.4701, allocations: 4 kB / 456.6 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.4703, allocations: 31.69 kB / 456.6 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.4704, allocations: 15.88 kB / 456.6 MB, free: 14.36 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.0001412/0.4705, allocations: 145.9 kB / 456.7 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.784e-05/0.4706, allocations: 15.81 kB / 456.8 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.861e-05/0.4707, allocations: 20.94 kB / 456.8 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4707, allocations: 0 / 456.8 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.4707, allocations: 3.984 kB / 456.8 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.4707, allocations: 4 kB / 456.8 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006062/0.4713, allocations: 237.4 kB / 457 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.4714, allocations: 4 kB / 457 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003111/0.4717, allocations: 31.98 kB / 457.1 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.4717, allocations: 3.984 kB / 457.1 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.4717, allocations: 4 kB / 457.1 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.289e-06/0.4717, allocations: 4 kB / 457.1 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4718, allocations: 0 / 457.1 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004363/0.4722, allocations: 408.1 kB / 457.5 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.321e-05/0.4723, allocations: 101.1 kB / 457.6 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.4723, allocations: 4 kB / 457.6 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.4726, allocations: 4.062 kB / 457.6 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.752e-05/0.4726, allocations: 7.984 kB / 457.6 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.4726, allocations: 7.984 kB / 457.6 MB, free: 13.27 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001748/0.4728, allocations: 149.5 kB / 457.7 MB, free: 13.12 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4728, allocations: 0 / 457.7 MB, free: 13.12 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00048/0.4733, allocations: 39.91 kB / 457.8 MB, free: 13.08 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.0001583/0.4735, allocations: 107.1 kB / 457.9 MB, free: 12.96 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003038/0.4738, allocations: 111.8 kB / 458 MB, free: 12.86 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4738, allocations: 0 / 458 MB, free: 12.86 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.567e-05/0.4739, allocations: 35.92 kB / 458 MB, free: 12.82 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/0.4744, allocations: 20.8 kB / 458 MB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.476, allocations: 0.7715 MB / 458.8 MB, free: 11.99 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.4764, allocations: 0.7323 MB / 459.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.281e-05/0.4765, allocations: 15.44 kB / 459.6 MB, free: 11.22 MB / 346.7 MB Notification: Performance of SimCode: time 3.156e-06/0.4765, allocations: 4 kB / 459.6 MB, free: 11.21 MB / 346.7 MB Notification: Performance of Templates: time 0.005218/0.4817, allocations: 1.905 MB / 461.5 MB, free: 9.312 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches