Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001989/0.001989, allocations: 179 kB / 18.09 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 223.3 MB / 242.1 MB, free: 11.69 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007616/0.0007617, allocations: 92.98 kB / 293.3 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2811/0.2811, allocations: 44.14 MB / 388.5 MB, free: 38.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003484, allocations: 12 kB / 461.1 MB, free: 1.336 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2908, allocations: 61.88 MB / 0.5107 GB, free: 38.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1511/0.4419, allocations: 113.7 MB / 0.6218 GB, free: 13.27 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.4422, allocations: 87.94 kB / 0.6219 GB, free: 13.19 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4993/0.9416, allocations: 111.1 MB / 0.7304 GB, free: 95.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.9416, allocations: 4 kB / 0.7304 GB, free: 95.75 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000312/0.9419, allocations: 116.8 kB / 0.7305 GB, free: 95.75 MB / 490.7 MB 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.01781/0.9597, allocations: 6.063 MB / 0.7364 GB, free: 92.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.9598, allocations: 10.75 kB / 0.7364 GB, free: 92.79 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01977/0.9796, allocations: 5.252 MB / 0.7416 GB, free: 92 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01207/0.9917, allocations: 5.643 MB / 0.7471 GB, free: 89.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002794/0.992, allocations: 421.6 kB / 0.7475 GB, free: 89.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001938/0.9939, allocations: 0.5403 MB / 0.748 GB, free: 89.27 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02608/1.02, allocations: 13.95 MB / 0.7616 GB, free: 81.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003643/1.02, allocations: 66.34 kB / 0.7617 GB, free: 81.92 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001457/1.022, allocations: 269.7 kB / 0.762 GB, free: 81.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001527/1.023, allocations: 1.366 MB / 0.7633 GB, free: 81.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0212/1.045, allocations: 11.52 MB / 0.7745 GB, free: 71.46 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05563/1.1, allocations: 60.56 MB / 0.8337 GB, free: 9.281 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01342/1.114, allocations: 5.773 MB / 0.8393 GB, free: 3.355 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003464/1.117, allocations: 3.291 MB / 0.8425 GB, free: 52 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02234/1.14, allocations: 14.59 MB / 0.8568 GB, free: 0.9062 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.888e-05/1.14, allocations: 64.48 kB / 0.8568 GB, free: 0.8359 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=227): time 5.38e-06/1.14, allocations: 0 / 0.8568 GB, free: 0.8359 MB / 0.4948 GB Notification: Performance of matching and sorting (n=264): time 0.3789/1.519, allocations: 25.2 MB / 0.8814 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.411e-05/1.519, allocations: 261.6 kB / 0.8817 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006966/1.526, allocations: 4.996 MB / 0.8866 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004965/1.526, allocations: 67.05 kB / 0.8866 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00234/1.529, allocations: 3.968 MB / 0.8905 GB, free: 114 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001176/1.53, allocations: 0.9942 MB / 0.8915 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003147/1.53, allocations: 151.7 kB / 0.8916 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003412/1.531, allocations: 0.611 MB / 0.8922 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0036/1.534, allocations: 2.576 MB / 0.8947 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005219/1.539, allocations: 6.943 MB / 0.9015 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01204/1.551, allocations: 10.38 MB / 0.9117 GB, free: 99.42 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002037/1.552, allocations: 42.53 kB / 0.9117 GB, free: 99.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=966) (initialization): time 0.02114/1.573, allocations: 9.727 MB / 0.9212 GB, free: 95.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000155/1.573, allocations: 70.12 kB / 0.9213 GB, free: 95.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002658/1.573, allocations: 161.8 kB / 0.9214 GB, free: 95.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001399/1.575, allocations: 0.5609 MB / 0.922 GB, free: 95.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006546/1.581, allocations: 1.743 MB / 0.9237 GB, free: 95.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006115/1.587, allocations: 5.635 MB / 0.9292 GB, free: 91.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007309/1.595, allocations: 405.4 kB / 0.9296 GB, free: 91.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0018/1.597, allocations: 439.4 kB / 0.93 GB, free: 91.2 MB / 0.5105 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.007923/1.605, allocations: 2.633 MB / 0.9326 GB, free: 89.98 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00146/1.606, allocations: 470.1 kB / 0.933 GB, free: 89.72 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009101/1.615, allocations: 4.014 MB / 0.9369 GB, free: 88.08 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-05/1.615, allocations: 28.34 kB / 0.9369 GB, free: 88.08 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.077e-05/1.615, allocations: 3.906 kB / 0.937 GB, free: 88.08 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.933e-05/1.615, allocations: 15.25 kB / 0.937 GB, free: 88.08 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02236/1.638, allocations: 10.28 MB / 0.947 GB, free: 84.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/1.638, allocations: 0 / 0.947 GB, free: 84.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002094/1.64, allocations: 465.8 kB / 0.9474 GB, free: 84.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009278/1.641, allocations: 344.3 kB / 0.9478 GB, free: 84.13 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002657/1.641, allocations: 54.19 kB / 0.9478 GB, free: 84.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004392/1.646, allocations: 4.968 MB / 0.9527 GB, free: 80.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/1.646, allocations: 7.5 kB / 0.9527 GB, free: 80.38 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009041/1.655, allocations: 7.045 MB / 0.9596 GB, free: 77.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001345/1.656, allocations: 498.3 kB / 0.96 GB, free: 76.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001069/1.657, allocations: 39.38 kB / 0.9601 GB, free: 76.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002155/1.659, allocations: 161.3 kB / 0.9602 GB, free: 76.88 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000351/1.66, allocations: 150 kB / 0.9604 GB, free: 76.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001677/1.66, allocations: 67.7 kB / 0.9604 GB, free: 76.84 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005199/1.665, allocations: 3.113 MB / 0.9635 GB, free: 75.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.11e-07/1.665, allocations: 0 / 0.9635 GB, free: 75.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007953/1.673, allocations: 1.295 MB / 0.9647 GB, free: 75.66 MB / 0.5105 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.000597/1.674, allocations: 196 kB / 0.9649 GB, free: 75.52 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009283/1.683, allocations: 6.454 MB / 0.9712 GB, free: 73.04 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/1.683, allocations: 0.5 kB / 0.9712 GB, free: 73.04 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002784/1.686, allocations: 2.219 MB / 0.9734 GB, free: 71.05 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004593/1.69, allocations: 0.5939 MB / 0.974 GB, free: 70.53 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02122/1.712, allocations: 14.43 MB / 0.9881 GB, free: 57.34 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005123/1.717, allocations: 4.11 MB / 0.9921 GB, free: 54.21 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006172/1.723, allocations: 2.386 MB / 0.9944 GB, free: 52.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009845/1.724, allocations: 322.3 kB / 0.9947 GB, free: 52.38 MB / 0.5105 GB Notification: Performance of SimCode: time 1.032e-06/1.724, allocations: 3.938 kB / 0.9947 GB, free: 52.37 MB / 0.5105 GB Notification: Performance of Templates: time 0.07141/1.795, allocations: 45.05 MB / 1.039 GB, free: 13.95 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches