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.001025/0.001025, allocations: 200.7 kB / 18.1 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 226.5 MB / 245.4 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009617/0.0009617, allocations: 99 kB / 297.5 MB, free: 6.887 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003245, allocations: 4 kB / 358.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2493, allocations: 51.29 MB / 409.4 MB, free: 27.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1237/0.3731, allocations: 105.7 MB / 0.503 GB, free: 1.828 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.3733, allocations: 87.95 kB / 0.503 GB, free: 1.742 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4743/0.8477, allocations: 138.4 MB / 0.6382 GB, free: 4.699 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.8477, allocations: 0 / 0.6382 GB, free: 4.699 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006081/0.8483, allocations: 135.9 kB / 0.6383 GB, free: 4.566 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.02292/0.8713, allocations: 7.378 MB / 0.6455 GB, free: 13.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.8713, allocations: 8.031 kB / 0.6455 GB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02564/0.897, allocations: 5.853 MB / 0.6513 GB, free: 7.219 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01836/0.9154, allocations: 7.416 MB / 0.6585 GB, free: 15.72 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005076/0.9159, allocations: 489.2 kB / 0.659 GB, free: 15.24 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002886/0.9188, allocations: 0.6523 MB / 0.6596 GB, free: 14.59 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2469/1.166, allocations: 16.55 MB / 0.6758 GB, free: 66.06 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006074/1.166, allocations: 108.5 kB / 0.6759 GB, free: 66.06 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002609/1.169, allocations: 320 kB / 0.6762 GB, free: 66.06 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002266/1.171, allocations: 1.58 MB / 0.6777 GB, free: 66.04 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02804/1.199, allocations: 13.53 MB / 0.6909 GB, free: 65.98 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08481/1.284, allocations: 74.21 MB / 0.7634 GB, free: 20.12 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01895/1.303, allocations: 7.726 MB / 0.7709 GB, free: 17.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004895/1.308, allocations: 4.02 MB / 0.7749 GB, free: 16.04 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0229/1.331, allocations: 18.51 MB / 0.7929 GB, free: 6.367 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/1.331, allocations: 61.81 kB / 0.793 GB, free: 6.305 MB / 442.7 MB Notification: Performance of pre-optimization done (n=287): time 4.779e-06/1.331, allocations: 0 / 0.793 GB, free: 6.305 MB / 442.7 MB Notification: Performance of matching and sorting (n=370): time 0.1532/1.484, allocations: 49.3 MB / 0.8412 GB, free: 4.117 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/1.485, allocations: 273.8 kB / 0.8414 GB, free: 3.793 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2577/1.742, allocations: 6.028 MB / 0.8473 GB, free: 100.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008822/1.743, allocations: 84.95 kB / 0.8474 GB, free: 100.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003897/1.747, allocations: 4.765 MB / 0.852 GB, free: 99.02 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001756/1.749, allocations: 1.358 MB / 0.8534 GB, free: 98.23 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000734/1.75, allocations: 184 kB / 0.8535 GB, free: 98.23 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005027/1.75, allocations: 0.6922 MB / 0.8542 GB, free: 97.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008313/1.758, allocations: 3.776 MB / 0.8579 GB, free: 97.88 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0118/1.77, allocations: 9.015 MB / 0.8667 GB, free: 91.22 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0218/1.792, allocations: 13.85 MB / 0.8802 GB, free: 84.58 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002122/1.792, allocations: 53.59 kB / 0.8803 GB, free: 84.58 MB / 474.7 MB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.04789/1.84, allocations: 16.12 MB / 0.896 GB, free: 82.82 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001984/1.841, allocations: 89.19 kB / 0.8961 GB, free: 82.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003066/1.841, allocations: 183.8 kB / 0.8963 GB, free: 82.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01763/1.858, allocations: 4.041 MB / 0.9002 GB, free: 82.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007219/1.866, allocations: 2.04 MB / 0.9022 GB, free: 81.99 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02763/1.893, allocations: 20.97 MB / 0.9227 GB, free: 72.63 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007353/1.901, allocations: 0.5469 MB / 0.9232 GB, free: 72.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001339/1.902, allocations: 0.5305 MB / 0.9237 GB, free: 72.39 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 () * Number of clocked 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.006279/1.908, allocations: 3.128 MB / 0.9268 GB, free: 70.96 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001159/1.91, allocations: 0.5687 MB / 0.9274 GB, free: 70.64 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01865/1.928, allocations: 9.558 MB / 0.9367 GB, free: 67.51 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.301e-05/1.928, allocations: 38.25 kB / 0.9367 GB, free: 67.51 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.855e-05/1.928, allocations: 16.44 kB / 0.9367 GB, free: 67.51 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.411e-05/1.929, allocations: 23.42 kB / 0.9368 GB, free: 67.51 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03553/1.964, allocations: 19.04 MB / 0.9554 GB, free: 53.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-05/1.964, allocations: 0.6562 kB / 0.9554 GB, free: 53.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002466/1.967, allocations: 0.5036 MB / 0.9559 GB, free: 53.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01047/1.977, allocations: 3.623 MB / 0.9594 GB, free: 51.18 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005081/1.978, allocations: 67.09 kB / 0.9595 GB, free: 51.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02308/2.001, allocations: 18.9 MB / 0.9779 GB, free: 34.96 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/2.001, allocations: 0 / 0.9779 GB, free: 34.96 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02295/2.024, allocations: 14.01 MB / 0.9916 GB, free: 23.43 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001534/2.025, allocations: 0.5876 MB / 0.9922 GB, free: 22.83 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001138/2.026, allocations: 63.94 kB / 0.9922 GB, free: 22.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002631/2.029, allocations: 222.2 kB / 0.9924 GB, free: 22.62 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006814/2.03, allocations: 224 kB / 0.9926 GB, free: 22.49 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002467/2.03, allocations: 91.84 kB / 0.9927 GB, free: 22.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005726/2.036, allocations: 3.763 MB / 0.9964 GB, free: 18.99 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.1e-07/2.036, allocations: 1.969 kB / 0.9964 GB, free: 18.99 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008176/2.044, allocations: 1.856 MB / 0.9982 GB, free: 17.15 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 () * Number of clocked 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.0006937/2.045, allocations: 231 kB / 0.9984 GB, free: 16.92 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01406/2.059, allocations: 9.677 MB / 1.008 GB, free: 7.23 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/2.059, allocations: 0 / 1.008 GB, free: 7.23 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004986/2.064, allocations: 3.786 MB / 1.012 GB, free: 3.41 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005146/2.069, allocations: 0.7631 MB / 1.012 GB, free: 2.672 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2239/2.293, allocations: 18.44 MB / 1.03 GB, free: 82.75 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006864/2.3, allocations: 4.866 MB / 1.035 GB, free: 81.88 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007077/2.307, allocations: 2.805 MB / 1.038 GB, free: 81.82 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/2.308, allocations: 376.4 kB / 1.038 GB, free: 81.82 MB / 474.7 MB Notification: Performance of SimCode: time 8.92e-07/2.308, allocations: 0 / 1.038 GB, free: 81.82 MB / 474.7 MB Notification: Performance of Templates: time 0.1484/2.456, allocations: 75.04 MB / 1.111 GB, free: 58.96 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/jenkins1/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