Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 174.3 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 221.5 MB / 230.3 MB, free: 7.523 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009026/0.0009024, allocations: 86.06 kB / 281.2 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.767e-05/1.769e-05, allocations: 4 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.11, allocations: 50.41 MB / 387.5 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3417/0.4518, allocations: 75.82 MB / 463.3 MB, free: 3.039 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/0.4522, allocations: 71.95 kB / 463.3 MB, free: 2.969 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007857/0.46, allocations: 2.868 MB / 466.2 MB, free: 104 kB / 330.7 MB Notification: Performance of FrontEnd: time 3.547e-06/0.4601, allocations: 0 / 466.2 MB, free: 104 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.4601, allocations: 7.938 kB / 466.2 MB, free: 96 kB / 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.0005966/0.4607, allocations: 427.5 kB / 466.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.4608, allocations: 8.031 kB / 466.6 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.28e-05/0.4608, allocations: 23.77 kB / 466.7 MB, free: 15.6 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.4611, allocations: 204.7 kB / 466.9 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.4611, allocations: 10.62 kB / 466.9 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.4612, allocations: 11.94 kB / 466.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002033/0.4614, allocations: 83.97 kB / 467 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.4617, allocations: 161.7 kB / 467.1 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.4617, allocations: 3.906 kB / 467.1 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.4618, allocations: 0 / 467.1 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.4618, allocations: 7.953 kB / 467.1 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.4632, allocations: 0.9126 MB / 468.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.4633, allocations: 91.84 kB / 468.1 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.603e-05/0.4634, allocations: 38.56 kB / 468.2 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.4634, allocations: 4 kB / 468.2 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.4634, allocations: 42.52 kB / 468.2 MB, free: 13.87 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.4634, allocations: 0 / 468.2 MB, free: 13.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002666/0.4637, allocations: 85.61 kB / 468.3 MB, free: 13.78 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/0.4638, allocations: 110.8 kB / 468.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.4639, allocations: 149.2 kB / 468.6 MB, free: 13.49 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.4639, allocations: 25.7 kB / 468.6 MB, free: 13.46 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.959e-05/0.464, allocations: 139.9 kB / 468.7 MB, free: 13.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.4641, allocations: 55.2 kB / 468.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/0.4641, allocations: 4 kB / 468.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.4643, allocations: 322.8 kB / 469.1 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.286e-05/0.4643, allocations: 32.47 kB / 469.1 MB, free: 12.9 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.4645, allocations: 135.4 kB / 469.3 MB, free: 12.72 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.998e-05/0.4646, allocations: 59.91 kB / 469.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4646, allocations: 3.938 kB / 469.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002662/0.4649, allocations: 177.6 kB / 469.5 MB, free: 12.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.4649, allocations: 8.094 kB / 469.5 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.4649, allocations: 4 kB / 469.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/0.4649, allocations: 11.95 kB / 469.5 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.4651, allocations: 43.92 kB / 469.6 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-05/0.4651, allocations: 8 kB / 469.6 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.893e-05/0.4652, allocations: 15.75 kB / 469.6 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.4653, allocations: 15.98 kB / 469.6 MB, free: 12.37 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.781e-05/0.4654, allocations: 116.8 kB / 469.7 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.009e-05/0.4654, allocations: 15.84 kB / 469.7 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.02e-05/0.4655, allocations: 16.34 kB / 469.7 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.4655, allocations: 3.953 kB / 469.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4655, allocations: 4 kB / 469.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.4655, allocations: 0 / 469.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/0.4659, allocations: 206.1 kB / 470 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.4659, allocations: 288 / 470 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.4661, allocations: 31.98 kB / 470 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4661, allocations: 0 / 470 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.4661, allocations: 7.938 kB / 470 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4661, allocations: 0 / 470 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4661, allocations: 4 kB / 470 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.4665, allocations: 397.2 kB / 470.4 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.842e-05/0.4665, allocations: 92.94 kB / 470.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.4666, allocations: 7.953 kB / 470.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.4667, allocations: 4 kB / 470.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.4667, allocations: 8.062 kB / 470.5 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.4667, allocations: 7.984 kB / 470.5 MB, free: 11.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.255e-05/0.4668, allocations: 107.3 kB / 470.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4668, allocations: 0 / 470.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003494/0.4672, allocations: 44.02 kB / 470.7 MB, free: 11.23 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.0001544/0.4673, allocations: 103.1 kB / 470.8 MB, free: 11.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.4675, allocations: 95.86 kB / 470.8 MB, free: 11.02 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4676, allocations: 0 / 470.8 MB, free: 11.02 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.165e-05/0.4676, allocations: 31.94 kB / 470.9 MB, free: 10.99 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.468, allocations: 15.98 kB / 470.9 MB, free: 10.97 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008757/0.4689, allocations: 0.5649 MB / 471.5 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.4692, allocations: 0.7319 MB / 472.2 MB, free: 9.625 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.844e-05/0.4693, allocations: 13.33 kB / 472.2 MB, free: 9.609 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.923e-05/0.4693, allocations: 15.44 kB / 472.2 MB, free: 9.594 MB / 346.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4693, allocations: 0 / 472.2 MB, free: 9.594 MB / 346.7 MB Notification: Performance of Templates: time 0.003371/0.4727, allocations: 1.028 MB / 473.2 MB, free: 8.574 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches