Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001061/0.001061, allocations: 203.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 225.6 MB / 234.8 MB, free: 3.23 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009424/0.0009425, allocations: 95.05 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.28e-05/2.302e-05, allocations: 4 kB / 343.7 MB, free: 8.238 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1151, allocations: 51.47 MB / 395.2 MB, free: 4.723 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4238/0.5389, allocations: 104.8 MB / 0.4883 GB, free: 4.633 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/0.5393, allocations: 86.89 kB / 0.4884 GB, free: 4.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6165/1.156, allocations: 140.6 MB / 0.6257 GB, free: 73.73 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.044e-06/1.156, allocations: 4 kB / 0.6257 GB, free: 73.73 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006747/1.157, allocations: 135.8 kB / 0.6258 GB, free: 73.73 MB / 442.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.02492/1.181, allocations: 7.067 MB / 0.6327 GB, free: 71.11 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/1.182, allocations: 9.5 kB / 0.6327 GB, free: 71.11 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03086/1.212, allocations: 7.563 MB / 0.6401 GB, free: 70.62 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02086/1.233, allocations: 8.206 MB / 0.6481 GB, free: 68.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002653/1.234, allocations: 208.4 kB / 0.6483 GB, free: 68.86 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00233/1.236, allocations: 393.7 kB / 0.6487 GB, free: 68.85 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01396/1.25, allocations: 9.684 MB / 0.6581 GB, free: 65.55 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02288/1.273, allocations: 14.25 MB / 0.6721 GB, free: 57.87 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003821/1.273, allocations: 110 kB / 0.6722 GB, free: 57.81 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001605/1.275, allocations: 44.03 kB / 0.6722 GB, free: 57.81 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001958/1.277, allocations: 1.583 MB / 0.6737 GB, free: 57.52 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07948/1.356, allocations: 73.68 MB / 0.7457 GB, free: 4.773 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2922/1.649, allocations: 5.223 MB / 0.7508 GB, free: 82.45 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005136/1.654, allocations: 3.775 MB / 0.7545 GB, free: 82.41 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002076/1.656, allocations: 2.257 MB / 0.7567 GB, free: 80.44 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.235e-05/1.656, allocations: 66.78 kB / 0.7568 GB, free: 80.4 MB / 458.7 MB Notification: Performance of pre-optimization done (n=302): time 5.42e-06/1.656, allocations: 0 / 0.7568 GB, free: 80.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=385): time 0.09671/1.753, allocations: 40.68 MB / 0.7965 GB, free: 74.39 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.472e-05/1.753, allocations: 271.6 kB / 0.7967 GB, free: 74.11 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008422/1.761, allocations: 4.617 MB / 0.8013 GB, free: 72.49 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001016/1.762, allocations: 25.7 kB / 0.8013 GB, free: 72.46 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003194/1.766, allocations: 4.769 MB / 0.8059 GB, free: 68.91 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001979/1.768, allocations: 1.371 MB / 0.8073 GB, free: 67.88 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005955/1.768, allocations: 0 / 0.8073 GB, free: 67.88 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004882/1.769, allocations: 0.7088 MB / 0.808 GB, free: 67.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004554/1.773, allocations: 3.637 MB / 0.8115 GB, free: 66.07 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00729/1.781, allocations: 8.931 MB / 0.8202 GB, free: 57.63 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007709/1.788, allocations: 5.571 MB / 0.8257 GB, free: 55.89 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001369/1.788, allocations: 53.56 kB / 0.8257 GB, free: 55.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=1247) (initialization): time 0.03482/1.823, allocations: 15.01 MB / 0.8404 GB, free: 51.36 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000253/1.824, allocations: 89.19 kB / 0.8405 GB, free: 51.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003753/1.824, allocations: 184 kB / 0.8407 GB, free: 51.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01199/1.836, allocations: 4.004 MB / 0.8446 GB, free: 50.72 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008257/1.844, allocations: 2.11 MB / 0.8466 GB, free: 50.47 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0285/1.873, allocations: 20.11 MB / 0.8663 GB, free: 39.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009729/1.883, allocations: 383.2 kB / 0.8666 GB, free: 38.97 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002729/1.885, allocations: 0.541 MB / 0.8672 GB, free: 38.44 MB / 458.7 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.003788/1.889, allocations: 0.5886 MB / 0.8677 GB, free: 37.85 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002012/1.891, allocations: 0.54 MB / 0.8683 GB, free: 37.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02149/1.913, allocations: 9.363 MB / 0.8774 GB, free: 30.12 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.339e-05/1.913, allocations: 40 kB / 0.8774 GB, free: 30.09 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.423e-05/1.913, allocations: 16 kB / 0.8775 GB, free: 30.07 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.189e-05/1.913, allocations: 24.11 kB / 0.8775 GB, free: 30.07 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04333/1.956, allocations: 18.02 MB / 0.8951 GB, free: 15.76 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.276e-05/1.956, allocations: 5.5 kB / 0.8951 GB, free: 15.76 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002921/1.959, allocations: 0.5288 MB / 0.8956 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01114/1.97, allocations: 3.52 MB / 0.899 GB, free: 12.99 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000981/1.971, allocations: 8 kB / 0.899 GB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02632/1.998, allocations: 17.7 MB / 0.9163 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/1.998, allocations: 4 kB / 0.9163 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3162/2.314, allocations: 14.15 MB / 0.9302 GB, free: 85.21 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001692/2.316, allocations: 0.5452 MB / 0.9307 GB, free: 85.12 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001015/2.317, allocations: 5.766 kB / 0.9307 GB, free: 85.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002846/2.32, allocations: 168 kB / 0.9309 GB, free: 85.12 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006719/2.32, allocations: 240 kB / 0.9311 GB, free: 85.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002555/2.321, allocations: 98.34 kB / 0.9312 GB, free: 85.11 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004806/2.325, allocations: 3.096 MB / 0.9342 GB, free: 84.93 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.21e-07/2.325, allocations: 0 / 0.9342 GB, free: 84.93 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01105/2.337, allocations: 1.616 MB / 0.9358 GB, free: 84.93 MB / 474.7 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.001004/2.338, allocations: 187.8 kB / 0.936 GB, free: 84.85 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01585/2.353, allocations: 9.207 MB / 0.9449 GB, free: 84.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/2.354, allocations: 2.906 kB / 0.9449 GB, free: 84.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006954/2.36, allocations: 3.69 MB / 0.9486 GB, free: 84.22 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005035/2.366, allocations: 0.5874 MB / 0.9491 GB, free: 84.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03408/2.4, allocations: 13.04 MB / 0.9619 GB, free: 80.86 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007968/2.408, allocations: 5.008 MB / 0.9667 GB, free: 79.29 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008487/2.416, allocations: 2.894 MB / 0.9696 GB, free: 79.23 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001469/2.418, allocations: 364.6 kB / 0.9699 GB, free: 79.21 MB / 474.7 MB Notification: Performance of SimCode: time 9.62e-07/2.418, allocations: 0 / 0.9699 GB, free: 79.21 MB / 474.7 MB Notification: Performance of Templates: time 0.1131/2.531, allocations: 68.56 MB / 1.037 GB, free: 53.3 MB / 474.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches