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.002017/0.002017, allocations: 181.3 kB / 8.366 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.194/2.194, allocations: 205.3 MB / 214.1 MB, free: 14.12 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 96.3 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.445e-05/2.455e-05, allocations: 4 kB / 314.8 MB, free: 9.168 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3486, allocations: 47.57 MB / 362.3 MB, free: 45.82 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1247/0.4734, allocations: 74.76 MB / 437.1 MB, free: 11.59 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.4738, allocations: 63.97 kB / 437.1 MB, free: 11.52 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01218/0.486, allocations: 2.807 MB / 440 MB, free: 8.75 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.486, allocations: 0 / 440 MB, free: 8.75 MB / 331.1 MB Notification: Performance of Transformations before backend: time 1.811e-05/0.4861, allocations: 6.469 kB / 440 MB, free: 8.746 MB / 331.1 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.0006588/0.4867, allocations: 424.7 kB / 440.4 MB, free: 8.289 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.4868, allocations: 8.031 kB / 440.4 MB, free: 8.281 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.803e-05/0.4869, allocations: 29.41 kB / 440.4 MB, free: 8.254 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.4872, allocations: 203 kB / 440.6 MB, free: 8.016 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.4872, allocations: 4.656 kB / 440.6 MB, free: 8.012 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.105e-05/0.4873, allocations: 23.84 kB / 440.6 MB, free: 7.988 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002937/0.4876, allocations: 83.92 kB / 440.7 MB, free: 7.906 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003463/0.4879, allocations: 145.9 kB / 440.9 MB, free: 7.742 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.488, allocations: 8 kB / 440.9 MB, free: 7.734 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.488, allocations: 0 / 440.9 MB, free: 7.734 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.488, allocations: 7.938 kB / 440.9 MB, free: 7.727 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.4898, allocations: 0.8976 MB / 441.8 MB, free: 6.758 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.4901, allocations: 107.6 kB / 441.9 MB, free: 6.625 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.603e-05/0.4902, allocations: 34.58 kB / 441.9 MB, free: 6.582 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.4902, allocations: 4 kB / 441.9 MB, free: 6.578 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.4902, allocations: 35.7 kB / 442 MB, free: 6.535 MB / 331.1 MB Notification: Performance of pre-optimization done (n=12): time 2.905e-06/0.4902, allocations: 0 / 442 MB, free: 6.535 MB / 331.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003594/0.4906, allocations: 89.84 kB / 442 MB, free: 6.441 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/0.4907, allocations: 114.8 kB / 442.2 MB, free: 6.305 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.4909, allocations: 141.3 kB / 442.3 MB, free: 6.156 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.4909, allocations: 26.64 kB / 442.3 MB, free: 6.125 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.4911, allocations: 210.3 kB / 442.5 MB, free: 5.918 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.045e-05/0.4912, allocations: 55.2 kB / 442.6 MB, free: 5.863 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-06/0.4912, allocations: 0 / 442.6 MB, free: 5.863 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.4913, allocations: 318.8 kB / 442.9 MB, free: 5.543 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.4914, allocations: 32.47 kB / 442.9 MB, free: 5.508 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.4916, allocations: 133 kB / 443 MB, free: 5.332 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.4918, allocations: 56.05 kB / 443.1 MB, free: 5.277 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.4918, allocations: 3.953 kB / 443.1 MB, free: 5.273 MB / 331.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004439/0.4923, allocations: 177.3 kB / 443.3 MB, free: 5.094 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.4923, allocations: 9.125 kB / 443.3 MB, free: 5.086 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.4924, allocations: 4 kB / 443.3 MB, free: 5.082 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/0.4924, allocations: 4 kB / 443.3 MB, free: 5.078 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003329/0.4927, allocations: 55.81 kB / 443.4 MB, free: 5.027 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.4928, allocations: 11.94 kB / 443.4 MB, free: 5.016 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.493, allocations: 15.84 kB / 443.4 MB, free: 5 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.493, allocations: 12 kB / 443.4 MB, free: 4.988 MB / 331.1 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 0.0001168/0.4931, allocations: 116.6 kB / 443.5 MB, free: 4.867 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.4932, allocations: 19.77 kB / 443.5 MB, free: 4.848 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.284e-05/0.4933, allocations: 20.33 kB / 443.5 MB, free: 4.824 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.4933, allocations: 0 / 443.5 MB, free: 4.824 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.4934, allocations: 3.938 kB / 443.5 MB, free: 4.82 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.4934, allocations: 5.969 kB / 443.6 MB, free: 4.816 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006492/0.494, allocations: 198.2 kB / 443.7 MB, free: 4.586 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.4941, allocations: 4 kB / 443.8 MB, free: 4.582 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003217/0.4944, allocations: 31.92 kB / 443.8 MB, free: 4.551 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/0.4944, allocations: 7.938 kB / 443.8 MB, free: 4.543 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.4944, allocations: 0 / 443.8 MB, free: 4.543 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/0.4945, allocations: 4 kB / 443.8 MB, free: 4.539 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.4945, allocations: 0 / 443.8 MB, free: 4.539 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004647/0.4949, allocations: 393.3 kB / 444.2 MB, free: 4.125 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.608e-05/0.495, allocations: 92.86 kB / 444.3 MB, free: 4.016 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/0.4951, allocations: 4 kB / 444.3 MB, free: 4.012 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.4953, allocations: 0 / 444.3 MB, free: 4.012 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.4954, allocations: 11.92 kB / 444.3 MB, free: 4 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.4954, allocations: 4 kB / 444.3 MB, free: 3.996 MB / 331.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.4955, allocations: 118.3 kB / 444.4 MB, free: 3.883 MB / 331.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4955, allocations: 4 kB / 444.4 MB, free: 3.879 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.0005744/0.4961, allocations: 35.91 kB / 444.4 MB, free: 3.844 MB / 331.1 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.0001819/0.4963, allocations: 99.19 kB / 444.5 MB, free: 3.738 MB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.00031/0.4966, allocations: 93.17 kB / 444.6 MB, free: 3.648 MB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4967, allocations: 4.75 kB / 444.6 MB, free: 3.645 MB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 7.34e-05/0.4967, allocations: 27.98 kB / 444.7 MB, free: 3.617 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005081/0.4973, allocations: 25.38 kB / 444.7 MB, free: 3.598 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.4987, allocations: 0.5861 MB / 445.3 MB, free: 2.992 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.4991, allocations: 0.7279 MB / 446 MB, free: 2.238 MB / 331.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.799e-05/0.4992, allocations: 15.44 kB / 446 MB, free: 2.223 MB / 331.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4992, allocations: 0 / 446 MB, free: 2.223 MB / 331.1 MB Notification: Performance of Templates: time 0.005213/0.5044, allocations: 1.775 MB / 447.8 MB, free: 492 kB / 331.1 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