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.002251/0.002251, allocations: 179.4 kB / 8.364 MB, free: 0.7148 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.208/2.208, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.001166/0.001166, allocations: 93.89 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.142e-05/2.154e-05, allocations: 4 kB / 314.8 MB, free: 9.156 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3428, allocations: 47.57 MB / 362.3 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1688/0.5116, allocations: 102.5 MB / 464.8 MB, free: 15.82 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003341/0.512, allocations: 83.95 kB / 464.9 MB, free: 15.73 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.8329/1.345, allocations: 133.7 MB / 0.5846 GB, free: 57.69 MB / 395.1 MB Notification: Performance of FrontEnd: time 3.567e-06/1.345, allocations: 0 / 0.5846 GB, free: 57.69 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.000674/1.346, allocations: 128 kB / 0.5847 GB, free: 57.56 MB / 395.1 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.04287/1.389, allocations: 7.047 MB / 0.5916 GB, free: 50.46 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/1.389, allocations: 11.97 kB / 0.5916 GB, free: 50.45 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08752/1.476, allocations: 7.569 MB / 0.599 GB, free: 42.86 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04682/1.523, allocations: 9.695 MB / 0.6085 GB, free: 33.17 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004298/1.524, allocations: 212 kB / 0.6087 GB, free: 32.96 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003722/1.527, allocations: 403.7 kB / 0.609 GB, free: 32.57 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02416/1.552, allocations: 9.686 MB / 0.6185 GB, free: 22.88 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03606/1.588, allocations: 14.24 MB / 0.6324 GB, free: 7.191 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005328/1.588, allocations: 99.11 kB / 0.6325 GB, free: 7.094 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003126/1.591, allocations: 44 kB / 0.6326 GB, free: 7.051 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003881/1.595, allocations: 1.591 MB / 0.6341 GB, free: 5.461 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4259/2.021, allocations: 73.75 MB / 0.7061 GB, free: 30.93 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01115/2.033, allocations: 5.242 MB / 0.7113 GB, free: 30.26 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007776/2.04, allocations: 3.771 MB / 0.7149 GB, free: 30.22 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003747/2.044, allocations: 2.262 MB / 0.7171 GB, free: 28.23 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001024/2.044, allocations: 68.66 kB / 0.7172 GB, free: 28.19 MB / 411.1 MB Notification: Performance of pre-optimization done (n=302): time 7.103e-06/2.044, allocations: 0 / 0.7172 GB, free: 28.19 MB / 411.1 MB Notification: Performance of matching and sorting (n=385): time 0.1662/2.211, allocations: 40.89 MB / 0.7571 GB, free: 15.98 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/2.211, allocations: 271.1 kB / 0.7574 GB, free: 15.7 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01156/2.222, allocations: 4.669 MB / 0.762 GB, free: 14.06 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001021/2.223, allocations: 25.7 kB / 0.762 GB, free: 14.03 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00422/2.228, allocations: 4.64 MB / 0.7665 GB, free: 10.26 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002332/2.23, allocations: 1.361 MB / 0.7678 GB, free: 9.027 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001239/2.231, allocations: 4 kB / 0.7679 GB, free: 9.023 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0007022/2.232, allocations: 0.714 MB / 0.7685 GB, free: 8.414 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008811/2.241, allocations: 3.633 MB / 0.7721 GB, free: 5.156 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01487/2.256, allocations: 8.936 MB / 0.7808 GB, free: 10.36 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01452/2.27, allocations: 5.574 MB / 0.7863 GB, free: 5.871 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002305/2.271, allocations: 52 kB / 0.7863 GB, free: 5.82 MB / 427.1 MB Notification: Performance of matching and sorting (n=1247) (initialization): time 0.05617/2.327, allocations: 14.82 MB / 0.8008 GB, free: 9.773 MB / 443.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001783/2.327, allocations: 88 kB / 0.8009 GB, free: 9.688 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003541/2.327, allocations: 188 kB / 0.8011 GB, free: 9.504 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0232/2.351, allocations: 4.008 MB / 0.805 GB, free: 6.723 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01467/2.365, allocations: 2.113 MB / 0.807 GB, free: 4.875 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05592/2.421, allocations: 20.17 MB / 0.8267 GB, free: 3.719 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01181/2.433, allocations: 379.6 kB / 0.8271 GB, free: 3.426 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002817/2.436, allocations: 0.5388 MB / 0.8276 GB, free: 2.895 MB / 459.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 855 * 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 (1127): * Single equations (assignments): 1122 * 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 {(1,100.0%) 45,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003703/2.44, allocations: 0.5945 MB / 0.8282 GB, free: 2.301 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001932/2.442, allocations: 0.5399 MB / 0.8287 GB, free: 1.754 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3599/2.802, allocations: 9.526 MB / 0.838 GB, free: 112.7 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.891e-05/2.802, allocations: 39.22 kB / 0.8381 GB, free: 112.7 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.091e-05/2.802, allocations: 15.38 kB / 0.8381 GB, free: 112.7 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.244e-05/2.802, allocations: 18.84 kB / 0.8381 GB, free: 112.7 MB / 459.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.068/2.87, allocations: 18.04 MB / 0.8557 GB, free: 111.6 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-05/2.87, allocations: 3.188 kB / 0.8557 GB, free: 111.6 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005482/2.876, allocations: 0.5345 MB / 0.8562 GB, free: 111.6 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02172/2.897, allocations: 3.514 MB / 0.8597 GB, free: 111.5 MB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001055/2.898, allocations: 13.92 kB / 0.8597 GB, free: 111.5 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04321/2.942, allocations: 17.68 MB / 0.8769 GB, free: 106.7 MB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-05/2.942, allocations: 7.094 kB / 0.877 GB, free: 106.7 MB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04356/2.985, allocations: 14.16 MB / 0.8908 GB, free: 101.6 MB / 459.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004952/2.99, allocations: 1.09 MB / 0.8918 GB, free: 101.3 MB / 459.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002189/2.993, allocations: 10.36 kB / 0.8919 GB, free: 101.3 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006344/2.999, allocations: 165 kB / 0.892 GB, free: 101.3 MB / 459.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001617/3.001, allocations: 246.5 kB / 0.8922 GB, free: 101.2 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006481/3.001, allocations: 97.41 kB / 0.8923 GB, free: 101.2 MB / 459.1 MB Notification: Performance of sorting global known variables: time 0.008512/3.01, allocations: 3.135 MB / 0.8954 GB, free: 100.1 MB / 459.1 MB Notification: Performance of sort global known variables: time 1.062e-06/3.01, allocations: 0 / 0.8954 GB, free: 100.1 MB / 459.1 MB Notification: Performance of remove unused functions: time 0.0127/3.023, allocations: 1.62 MB / 0.897 GB, free: 100.1 MB / 459.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (285): * Single equations (assignments): 280 * 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.001418/3.024, allocations: 178.7 kB / 0.8972 GB, free: 100 MB / 459.1 MB Notification: Performance of simCode: created initialization part: time 0.02118/3.045, allocations: 9.223 MB / 0.9062 GB, free: 95.66 MB / 459.1 MB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/3.045, allocations: 3.875 kB / 0.9062 GB, free: 95.66 MB / 459.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008816/3.054, allocations: 3.68 MB / 0.9098 GB, free: 92.35 MB / 459.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005826/3.06, allocations: 0.5903 MB / 0.9103 GB, free: 91.86 MB / 459.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03819/3.098, allocations: 13.81 MB / 0.9238 GB, free: 79.81 MB / 459.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01161/3.11, allocations: 5.035 MB / 0.9287 GB, free: 76.15 MB / 459.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002623/3.113, allocations: 429.4 kB / 0.9292 GB, free: 75.74 MB / 459.1 MB Notification: Performance of SimCode: time 1.603e-06/3.113, allocations: 0 / 0.9292 GB, free: 75.74 MB / 459.1 MB Notification: Performance of Templates: time 0.5914/3.704, allocations: 143.4 MB / 1.069 GB, free: 78.16 MB / 459.1 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