Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001175/0.001175, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.183/1.183, allocations: 227.2 MB / 245 MB, free: 7.605 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008333/0.0008333, allocations: 102.8 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2833/0.2833, allocations: 45.23 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002345/0.0002345, allocations: 8 kB / 468.4 MB, free: 7.719 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2902, allocations: 63.25 MB / 0.5192 GB, free: 43.77 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1286/0.4188, allocations: 114.5 MB / 0.631 GB, free: 7.094 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.4191, allocations: 79.95 kB / 0.6311 GB, free: 7.016 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5034/0.9225, allocations: 115.1 MB / 0.7435 GB, free: 97.91 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.424e-06/0.9226, allocations: 0 / 0.7435 GB, free: 97.91 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004345/0.923, allocations: 111.2 kB / 0.7436 GB, free: 97.91 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.02254/0.9456, allocations: 6.39 MB / 0.7498 GB, free: 95.42 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.9456, allocations: 13.44 kB / 0.7498 GB, free: 95.42 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02524/0.9709, allocations: 6.892 MB / 0.7565 GB, free: 95.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01871/0.9896, allocations: 6.156 MB / 0.7626 GB, free: 93.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004811/0.9902, allocations: 421.2 kB / 0.763 GB, free: 92.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003188/0.9934, allocations: 0.5336 MB / 0.7635 GB, free: 92.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02933/1.023, allocations: 14.13 MB / 0.7773 GB, free: 85.89 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001974/1.023, allocations: 84.39 kB / 0.7774 GB, free: 85.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007747/1.024, allocations: 257.7 kB / 0.7776 GB, free: 85.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001565/1.025, allocations: 1.361 MB / 0.7789 GB, free: 85.45 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02221/1.048, allocations: 11.73 MB / 0.7904 GB, free: 81.51 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05925/1.107, allocations: 60.69 MB / 0.8497 GB, free: 20.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0146/1.121, allocations: 5.81 MB / 0.8553 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01867/1.14, allocations: 14.72 MB / 0.8697 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.646e-05/1.14, allocations: 68.52 kB / 0.8698 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=227): time 5.079e-06/1.14, allocations: 0 / 0.8698 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=264): time 0.07918/1.219, allocations: 25.5 MB / 0.8947 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/1.22, allocations: 261.3 kB / 0.8949 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00795/1.228, allocations: 4.436 MB / 0.8993 GB, free: 0.7461 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005717/1.228, allocations: 69.7 kB / 0.8993 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.2533/1.481, allocations: 3.977 MB / 0.9032 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001357/1.483, allocations: 0.9895 MB / 0.9042 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005845/1.483, allocations: 147.5 kB / 0.9043 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004103/1.484, allocations: 0.6184 MB / 0.9049 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003741/1.488, allocations: 2.576 MB / 0.9074 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00498/1.493, allocations: 6.911 MB / 0.9142 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004928/1.498, allocations: 4.121 MB / 0.9182 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.87e-05/1.498, allocations: 43.94 kB / 0.9182 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=966) (initialization): time 0.01362/1.511, allocations: 9.722 MB / 0.9277 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/1.511, allocations: 82.25 kB / 0.9278 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001961/1.512, allocations: 150.8 kB / 0.928 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001282/1.513, allocations: 0.5871 MB / 0.9285 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005419/1.518, allocations: 1.737 MB / 0.9302 GB, free: 112 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005751/1.524, allocations: 5.726 MB / 0.9358 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005489/1.53, allocations: 405 kB / 0.9362 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001157/1.531, allocations: 436 kB / 0.9366 GB, free: 108 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 696 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[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],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 (916): * Single equations (assignments): 911 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005282/1.536, allocations: 2.632 MB / 0.9392 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000912/1.537, allocations: 474.7 kB / 0.9396 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006612/1.544, allocations: 4.008 MB / 0.9436 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.202e-05/1.544, allocations: 34.45 kB / 0.9436 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.576e-05/1.544, allocations: 9.297 kB / 0.9436 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-05/1.544, allocations: 11.11 kB / 0.9436 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02164/1.565, allocations: 10.27 MB / 0.9536 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/1.565, allocations: 0 / 0.9536 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002396/1.568, allocations: 469 kB / 0.9541 GB, free: 101 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001045/1.569, allocations: 349.4 kB / 0.9544 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002103/1.569, allocations: 47.25 kB / 0.9545 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00505/1.574, allocations: 5.063 MB / 0.9594 GB, free: 97.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/1.574, allocations: 8.625 kB / 0.9594 GB, free: 97.15 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009537/1.584, allocations: 7.141 MB / 0.9664 GB, free: 93.98 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001952/1.586, allocations: 0.4917 MB / 0.9669 GB, free: 93.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001266/1.587, allocations: 39.31 kB / 0.9669 GB, free: 93.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002666/1.59, allocations: 164.9 kB / 0.9671 GB, free: 93.54 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003649/1.59, allocations: 140.6 kB / 0.9672 GB, free: 93.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001909/1.59, allocations: 67.61 kB / 0.9673 GB, free: 93.51 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005643/1.596, allocations: 3.112 MB / 0.9703 GB, free: 92.48 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.91e-07/1.596, allocations: 0 / 0.9703 GB, free: 92.48 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007691/1.604, allocations: 1.313 MB / 0.9716 GB, free: 92.31 MB / 0.5261 GB 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 (224): * Single equations (assignments): 219 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006374/1.604, allocations: 197.2 kB / 0.9718 GB, free: 92.17 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009591/1.614, allocations: 6.45 MB / 0.9781 GB, free: 89.77 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.614, allocations: 0 / 0.9781 GB, free: 89.77 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002851/1.617, allocations: 2.213 MB / 0.9802 GB, free: 88.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003685/1.621, allocations: 0.5532 MB / 0.9808 GB, free: 88.55 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02409/1.645, allocations: 14.39 MB / 0.9948 GB, free: 81.18 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005645/1.65, allocations: 4.224 MB / 0.999 GB, free: 79.72 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006279/1.657, allocations: 2.388 MB / 1.001 GB, free: 79.52 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/1.658, allocations: 319.5 kB / 1.002 GB, free: 79.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.292e-06/1.658, allocations: 0 / 1.002 GB, free: 79.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.07337/1.731, allocations: 44.85 MB / 1.045 GB, free: 44.79 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches