Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.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.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002243/0.002248, allocations: 181.6 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.015/2.015, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001127/0.001126, allocations: 90.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.002e-05/3.014e-05, allocations: 0 / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09594/0.096, allocations: 47.58 MB / 369.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4373/0.5334, allocations: 103.1 MB / 472.2 MB, free: 6.395 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.5337, allocations: 87.27 kB / 472.3 MB, free: 6.352 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8218/1.356, allocations: 136.4 MB / 0.5945 GB, free: 86.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.545e-06/1.356, allocations: 0 / 0.5945 GB, free: 86.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000481/1.356, allocations: 133.4 kB / 0.5946 GB, free: 86.78 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.03022/1.386, allocations: 7.044 MB / 0.6015 GB, free: 81.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/1.386, allocations: 16.02 kB / 0.6015 GB, free: 81.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06165/1.448, allocations: 7.572 MB / 0.6089 GB, free: 74.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03367/1.482, allocations: 9.694 MB / 0.6183 GB, free: 64.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005363/1.482, allocations: 491.6 kB / 0.6188 GB, free: 63.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003673/1.486, allocations: 0.6529 MB / 0.6194 GB, free: 63.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0528/1.539, allocations: 16.58 MB / 0.6356 GB, free: 45.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005518/1.54, allocations: 95.17 kB / 0.6357 GB, free: 45.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003371/1.543, allocations: 317.5 kB / 0.636 GB, free: 45.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003801/1.547, allocations: 1.583 MB / 0.6376 GB, free: 43.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04499/1.592, allocations: 13.51 MB / 0.6508 GB, free: 29.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4555/2.047, allocations: 74.4 MB / 0.7234 GB, free: 45.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03955/2.087, allocations: 7.7 MB / 0.7309 GB, free: 44.85 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008321/2.095, allocations: 3.986 MB / 0.7348 GB, free: 44.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04792/2.143, allocations: 18.71 MB / 0.7531 GB, free: 39.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.372e-05/2.143, allocations: 60.62 kB / 0.7532 GB, free: 39.17 MB / 426.7 MB Notification: Performance of pre-optimization done (n=287): time 7.814e-06/2.144, allocations: 0 / 0.7532 GB, free: 39.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=370): time 0.3078/2.451, allocations: 38.95 MB / 0.7912 GB, free: 27.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/2.451, allocations: 275 kB / 0.7915 GB, free: 26.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01308/2.465, allocations: 5.325 MB / 0.7967 GB, free: 22.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009838/2.466, allocations: 81.7 kB / 0.7967 GB, free: 22.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003891/2.47, allocations: 4.565 MB / 0.8012 GB, free: 18.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002148/2.472, allocations: 1.36 MB / 0.8025 GB, free: 16.81 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001306/2.473, allocations: 190.5 kB / 0.8027 GB, free: 16.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006936/2.474, allocations: 0.7025 MB / 0.8034 GB, free: 16.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009268/2.483, allocations: 3.666 MB / 0.807 GB, free: 12.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01264/2.496, allocations: 8.868 MB / 0.8156 GB, free: 2.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01562/2.511, allocations: 5.692 MB / 0.8212 GB, free: 13.67 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002304/2.512, allocations: 52 kB / 0.8212 GB, free: 13.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.05787/2.57, allocations: 15.64 MB / 0.8365 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001825/2.57, allocations: 87.95 kB / 0.8366 GB, free: 0.7227 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003378/2.57, allocations: 184.8 kB / 0.8368 GB, free: 0.543 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02388/2.594, allocations: 4.024 MB / 0.8407 GB, free: 12.51 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01405/2.608, allocations: 2.043 MB / 0.8427 GB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05824/2.666, allocations: 20.78 MB / 0.863 GB, free: 5.426 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01201/2.679, allocations: 0.5462 MB / 0.8635 GB, free: 4.879 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002507/2.681, allocations: 0.53 MB / 0.864 GB, free: 4.355 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1088): * Single equations (assignments): 1083 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 44,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004167/2.685, allocations: 0.8046 MB / 0.8648 GB, free: 3.547 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002217/2.688, allocations: 0.5746 MB / 0.8654 GB, free: 2.965 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3557/3.043, allocations: 9.447 MB / 0.8746 GB, free: 129.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.189e-05/3.043, allocations: 39 kB / 0.8747 GB, free: 129.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.156e-05/3.044, allocations: 17.59 kB / 0.8747 GB, free: 129.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.65e-05/3.044, allocations: 18.48 kB / 0.8747 GB, free: 129.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07032/3.114, allocations: 18.94 MB / 0.8932 GB, free: 128.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.113e-05/3.114, allocations: 3.969 kB / 0.8932 GB, free: 128.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005234/3.119, allocations: 0.5074 MB / 0.8937 GB, free: 128.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02134/3.141, allocations: 3.565 MB / 0.8972 GB, free: 128.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001049/3.142, allocations: 69.59 kB / 0.8972 GB, free: 128.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04622/3.188, allocations: 18.72 MB / 0.9155 GB, free: 121.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/3.188, allocations: 0 / 0.9155 GB, free: 121.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04514/3.233, allocations: 13.96 MB / 0.9291 GB, free: 116.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004968/3.238, allocations: 1.125 MB / 0.9302 GB, free: 116.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002422/3.241, allocations: 57.44 kB / 0.9303 GB, free: 116.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006611/3.247, allocations: 221.3 kB / 0.9305 GB, free: 116.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001679/3.249, allocations: 235.7 kB / 0.9307 GB, free: 116 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007934/3.25, allocations: 85.38 kB / 0.9308 GB, free: 116 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01046/3.261, allocations: 3.72 MB / 0.9345 GB, free: 114.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.82e-07/3.261, allocations: 2.719 kB / 0.9345 GB, free: 114.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01238/3.273, allocations: 1.853 MB / 0.9363 GB, free: 114.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 265 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 43,(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001475/3.274, allocations: 231.8 kB / 0.9365 GB, free: 114.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02276/3.297, allocations: 9.48 MB / 0.9457 GB, free: 107.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/3.297, allocations: 0 / 0.9457 GB, free: 107.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009611/3.307, allocations: 3.73 MB / 0.9494 GB, free: 104 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006502/3.313, allocations: 0.7191 MB / 0.9501 GB, free: 103.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04078/3.354, allocations: 13.91 MB / 0.9637 GB, free: 91.31 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01188/3.366, allocations: 5.021 MB / 0.9686 GB, free: 87.66 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002892/3.369, allocations: 454.3 kB / 0.969 GB, free: 87.24 MB / 474.7 MB Notification: Performance of SimCode: time 2.415e-06/3.369, allocations: 0 / 0.969 GB, free: 87.24 MB / 474.7 MB Notification: Performance of Templates: time 0.6074/3.977, allocations: 146.1 MB / 1.112 GB, free: 86.82 MB / 474.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches