Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.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) 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(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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009167/0.0009165, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 221.5 MB / 230.3 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001075, allocations: 84.5 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.9e-05/1.895e-05, allocations: 4 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1104, allocations: 50.43 MB / 387.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3758/0.4863, allocations: 104.2 MB / 491.7 MB, free: 6.605 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000309/0.4867, allocations: 83.95 kB / 491.7 MB, free: 6.523 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5635/1.05, allocations: 135.2 MB / 0.6123 GB, free: 91.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.253e-06/1.05, allocations: 2.781 kB / 0.6123 GB, free: 91.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003678/1.051, allocations: 135.9 kB / 0.6124 GB, free: 91.09 MB / 426.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.02024/1.071, allocations: 7.028 MB / 0.6193 GB, free: 86.63 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/1.071, allocations: 7.875 kB / 0.6193 GB, free: 86.63 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03041/1.101, allocations: 7.563 MB / 0.6267 GB, free: 79.67 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02214/1.124, allocations: 9.091 MB / 0.6356 GB, free: 70.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003428/1.124, allocations: 208 kB / 0.6358 GB, free: 70.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003051/1.127, allocations: 399.8 kB / 0.6361 GB, free: 69.99 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01605/1.143, allocations: 9.686 MB / 0.6456 GB, free: 60.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02447/1.168, allocations: 14.24 MB / 0.6595 GB, free: 44.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002976/1.168, allocations: 107 kB / 0.6596 GB, free: 44.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001062/1.169, allocations: 44 kB / 0.6596 GB, free: 44.47 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001858/1.171, allocations: 1.587 MB / 0.6612 GB, free: 42.89 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3624/1.533, allocations: 73.66 MB / 0.7331 GB, free: 58.31 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009187/1.543, allocations: 5.236 MB / 0.7382 GB, free: 57.64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006377/1.549, allocations: 3.766 MB / 0.7419 GB, free: 57.6 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002588/1.552, allocations: 2.27 MB / 0.7441 GB, free: 55.62 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.599e-05/1.552, allocations: 64.78 kB / 0.7442 GB, free: 55.58 MB / 442.7 MB Notification: Performance of pre-optimization done (n=302): time 6.613e-06/1.552, allocations: 0 / 0.7442 GB, free: 55.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=385): time 0.09611/1.648, allocations: 40.68 MB / 0.7839 GB, free: 45.69 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.572e-05/1.648, allocations: 278.5 kB / 0.7842 GB, free: 45.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006768/1.655, allocations: 4.606 MB / 0.7887 GB, free: 43.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009068/1.656, allocations: 32.92 kB / 0.7887 GB, free: 43.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002588/1.658, allocations: 4.78 MB / 0.7934 GB, free: 40.1 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001779/1.66, allocations: 1.366 MB / 0.7947 GB, free: 39.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005471/1.661, allocations: 0 / 0.7947 GB, free: 39.07 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005118/1.661, allocations: 0.7074 MB / 0.7954 GB, free: 38.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004887/1.666, allocations: 3.634 MB / 0.799 GB, free: 37.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006601/1.673, allocations: 8.933 MB / 0.8077 GB, free: 26.49 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007639/1.68, allocations: 5.568 MB / 0.8131 GB, free: 22.13 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001307/1.68, allocations: 52 kB / 0.8132 GB, free: 22.08 MB / 442.7 MB Notification: Performance of matching and sorting (n=1247) (initialization): time 0.03411/1.715, allocations: 15.01 MB / 0.8278 GB, free: 10.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003075/1.715, allocations: 85.56 kB / 0.8279 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003789/1.715, allocations: 192.1 kB / 0.8281 GB, free: 9.816 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01245/1.728, allocations: 4.008 MB / 0.832 GB, free: 7.035 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007531/1.735, allocations: 2.108 MB / 0.8341 GB, free: 5.195 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03559/1.771, allocations: 20.38 MB / 0.854 GB, free: 4.543 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009874/1.781, allocations: 383.2 kB / 0.8543 GB, free: 4.246 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003127/1.784, allocations: 0.5455 MB / 0.8549 GB, free: 3.707 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.003994/1.788, allocations: 0.5798 MB / 0.8554 GB, free: 3.129 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002711/1.791, allocations: 0.5438 MB / 0.856 GB, free: 2.578 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02766/1.819, allocations: 9.427 MB / 0.8652 GB, free: 10.15 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.586e-05/1.819, allocations: 36 kB / 0.8652 GB, free: 10.12 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.017e-05/1.819, allocations: 23.75 kB / 0.8652 GB, free: 10.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001204/1.819, allocations: 18.62 kB / 0.8652 GB, free: 10.08 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04839/1.867, allocations: 18.02 MB / 0.8828 GB, free: 7.938 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-05/1.867, allocations: 4 kB / 0.8828 GB, free: 7.934 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003068/1.87, allocations: 0.5266 MB / 0.8834 GB, free: 7.406 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01214/1.883, allocations: 3.531 MB / 0.8868 GB, free: 3.867 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007451/1.883, allocations: 12 kB / 0.8868 GB, free: 3.855 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02807/1.911, allocations: 17.68 MB / 0.9041 GB, free: 1.938 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-05/1.912, allocations: 11.3 kB / 0.9041 GB, free: 1.93 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2913/2.203, allocations: 14.15 MB / 0.9179 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001481/2.204, allocations: 0.5374 MB / 0.9184 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009598/2.205, allocations: 4.094 kB / 0.9184 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00271/2.208, allocations: 163.5 kB / 0.9186 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006379/2.209, allocations: 241.8 kB / 0.9188 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002807/2.209, allocations: 101.5 kB / 0.9189 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005173/2.214, allocations: 3.095 MB / 0.9219 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.6e-07/2.214, allocations: 0 / 0.9219 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009448/2.224, allocations: 1.615 MB / 0.9235 GB, free: 147.3 MB / 0.4948 GB 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.0007122/2.224, allocations: 179.9 kB / 0.9237 GB, free: 147.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01282/2.237, allocations: 9.217 MB / 0.9327 GB, free: 146.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/2.237, allocations: 3.469 kB / 0.9327 GB, free: 146.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004935/2.242, allocations: 3.684 MB / 0.9363 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003813/2.246, allocations: 0.588 MB / 0.9369 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0237/2.27, allocations: 13.04 MB / 0.9496 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006795/2.277, allocations: 5.008 MB / 0.9545 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008219/2.285, allocations: 2.895 MB / 0.9573 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00121/2.286, allocations: 369.3 kB / 0.9577 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of SimCode: time 1.303e-06/2.286, allocations: 0 / 0.9577 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.1142/2.4, allocations: 68.55 MB / 1.025 GB, free: 93.15 MB / 0.4948 GB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches