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.002308/0.002308, allocations: 180.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.095/2.095, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001128/0.001127, allocations: 90.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.255e-05/3.27e-05, allocations: 7.984 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09571/0.09577, allocations: 47.57 MB / 369.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4015/0.4973, allocations: 75.41 MB / 444.5 MB, free: 1.777 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.4976, allocations: 70.66 kB / 444.6 MB, free: 1.738 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01166/0.5093, allocations: 2.827 MB / 447.4 MB, free: 15.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5093, allocations: 4 kB / 447.4 MB, free: 15.33 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.5094, allocations: 8 kB / 447.4 MB, free: 15.32 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.0006288/0.51, allocations: 425.3 kB / 447.8 MB, free: 14.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.5101, allocations: 8.031 kB / 447.8 MB, free: 14.87 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.796e-05/0.5101, allocations: 23.72 kB / 447.8 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.5104, allocations: 199.8 kB / 448 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.5104, allocations: 15.25 kB / 448.1 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/0.5105, allocations: 23.53 kB / 448.1 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004063/0.5109, allocations: 179.7 kB / 448.3 MB, free: 14.44 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.5109, allocations: 7.922 kB / 448.3 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.511, allocations: 7.688 kB / 448.3 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.511, allocations: 4 kB / 448.3 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002641/0.5113, allocations: 88.8 kB / 448.4 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/0.513, allocations: 0.971 MB / 449.3 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.5132, allocations: 103.6 kB / 449.4 MB, free: 13.28 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.047e-05/0.5133, allocations: 40.77 kB / 449.5 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.5133, allocations: 4.938 kB / 449.5 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.5134, allocations: 37.48 kB / 449.5 MB, free: 13.19 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 3.046e-06/0.5134, allocations: 4 kB / 449.5 MB, free: 13.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003332/0.5137, allocations: 98.05 kB / 449.6 MB, free: 13.1 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/0.5138, allocations: 109.9 kB / 449.7 MB, free: 12.97 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.514, allocations: 177.5 kB / 449.9 MB, free: 12.81 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.5141, allocations: 32 kB / 449.9 MB, free: 12.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.5142, allocations: 206.9 kB / 450.1 MB, free: 12.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.751e-05/0.5143, allocations: 53.69 kB / 450.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.288e-05/0.5143, allocations: 7.5 kB / 450.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.5144, allocations: 321 kB / 450.5 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.5146, allocations: 39.28 kB / 450.5 MB, free: 12.19 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.5147, allocations: 137.1 kB / 450.7 MB, free: 12.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.5149, allocations: 64.53 kB / 450.7 MB, free: 11.98 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.5149, allocations: 0 / 450.7 MB, free: 11.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004478/0.5154, allocations: 204 kB / 450.9 MB, free: 11.8 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.5154, allocations: 8 kB / 450.9 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.5155, allocations: 3.984 kB / 450.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.5155, allocations: 8 kB / 451 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.5158, allocations: 51.36 kB / 451 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.907e-05/0.5158, allocations: 12.33 kB / 451 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.516, allocations: 30.06 kB / 451 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.5161, allocations: 11.12 kB / 451.1 MB, free: 11.69 MB / 330.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.665e-05/0.5162, allocations: 124 kB / 451.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.782e-05/0.5163, allocations: 15.81 kB / 451.2 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.088e-05/0.5164, allocations: 23.23 kB / 451.2 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.5164, allocations: 0 / 451.2 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.5164, allocations: 3.938 kB / 451.2 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.5164, allocations: 4 kB / 451.2 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006009/0.517, allocations: 240.3 kB / 451.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.517, allocations: 8 kB / 451.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003163/0.5174, allocations: 31.98 kB / 451.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.5174, allocations: 0 / 451.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.5174, allocations: 3.125 kB / 451.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.5174, allocations: 7.938 kB / 451.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.5174, allocations: 0 / 451.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004197/0.5179, allocations: 402.6 kB / 451.9 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.618e-05/0.518, allocations: 96.42 kB / 452 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.518, allocations: 7.984 kB / 452 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.5182, allocations: 3.562 kB / 452 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.5183, allocations: 4 kB / 452 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.5183, allocations: 7.938 kB / 452 MB, free: 10.7 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001842/0.5185, allocations: 154.8 kB / 452.2 MB, free: 10.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5185, allocations: 4 kB / 452.2 MB, free: 10.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005008/0.519, allocations: 42.58 kB / 452.2 MB, free: 10.53 MB / 330.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.0001414/0.5192, allocations: 95.72 kB / 452.3 MB, free: 10.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000293/0.5195, allocations: 108.2 kB / 452.4 MB, free: 10.35 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5195, allocations: 0.8125 kB / 452.4 MB, free: 10.35 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.224e-05/0.5196, allocations: 34.12 kB / 452.4 MB, free: 10.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/0.5201, allocations: 25.98 kB / 452.5 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.5213, allocations: 0.5933 MB / 453.1 MB, free: 9.695 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.5217, allocations: 0.7285 MB / 453.8 MB, free: 8.938 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.962e-05/0.5218, allocations: 19.44 kB / 453.8 MB, free: 8.922 MB / 330.7 MB Notification: Performance of SimCode: time 8.71e-07/0.5218, allocations: 0 / 453.8 MB, free: 8.922 MB / 330.7 MB Notification: Performance of Templates: time 0.005018/0.5268, allocations: 1.907 MB / 455.7 MB, free: 7.039 MB / 330.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