Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002276/0.002276, allocations: 186.2 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.952/1.952, allocations: 205.4 MB / 222.5 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001206/0.001205, allocations: 100.6 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.512/0.512, allocations: 43.56 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004842/0.0004841, allocations: 15.98 kB / 431.4 MB, free: 6.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1227, allocations: 58.84 MB / 490.2 MB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4907/0.6135, allocations: 106.8 MB / 0.583 GB, free: 11.96 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/0.6138, allocations: 75.95 kB / 0.5831 GB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3395/0.9534, allocations: 76.76 MB / 0.658 GB, free: 14.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.9535, allocations: 0 / 0.658 GB, free: 14.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002746/0.9538, allocations: 75.98 kB / 0.6581 GB, free: 14.6 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: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.01646/0.9702, allocations: 3.85 MB / 0.6618 GB, free: 10.69 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.9703, allocations: 12.03 kB / 0.6619 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03336/1.004, allocations: 4.324 MB / 0.6661 GB, free: 6.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01864/1.022, allocations: 4.507 MB / 0.6705 GB, free: 1.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004068/1.023, allocations: 267.1 kB / 0.6707 GB, free: 1.508 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002098/1.025, allocations: 368.8 kB / 0.6711 GB, free: 1.148 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4273/1.452, allocations: 9.156 MB / 0.68 GB, free: 91.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003009/1.453, allocations: 54.88 kB / 0.6801 GB, free: 91.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001444/1.454, allocations: 186.6 kB / 0.6803 GB, free: 91.95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002078/1.456, allocations: 0.8854 MB / 0.6811 GB, free: 91.94 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02176/1.478, allocations: 7.321 MB / 0.6883 GB, free: 91.92 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05834/1.536, allocations: 44.14 MB / 0.7314 GB, free: 62.11 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01519/1.552, allocations: 3.504 MB / 0.7348 GB, free: 60.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01958/1.571, allocations: 7.195 MB / 0.7418 GB, free: 56.81 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.891e-05/1.571, allocations: 54.22 kB / 0.7419 GB, free: 56.76 MB / 490.7 MB Notification: Performance of pre-optimization done (n=151): time 5.851e-06/1.571, allocations: 0 / 0.7419 GB, free: 56.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=188): time 0.1172/1.689, allocations: 19.4 MB / 0.7608 GB, free: 50.44 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/1.689, allocations: 204.9 kB / 0.761 GB, free: 50.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01473/1.704, allocations: 3.321 MB / 0.7643 GB, free: 49.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004625/1.704, allocations: 49.11 kB / 0.7643 GB, free: 49.04 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002412/1.706, allocations: 2.788 MB / 0.767 GB, free: 46.86 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001112/1.708, allocations: 0.7117 MB / 0.7677 GB, free: 46.35 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007491/1.708, allocations: 117.8 kB / 0.7678 GB, free: 46.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000387/1.709, allocations: 0.5566 MB / 0.7684 GB, free: 45.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01004/1.719, allocations: 1.977 MB / 0.7703 GB, free: 45.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01378/1.733, allocations: 5.525 MB / 0.7757 GB, free: 39.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009038/1.742, allocations: 3.252 MB / 0.7789 GB, free: 38.26 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00011/1.742, allocations: 39.28 kB / 0.7789 GB, free: 38.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=765) (initialization): time 0.02763/1.77, allocations: 8.455 MB / 0.7872 GB, free: 35.19 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/1.77, allocations: 59.62 kB / 0.7872 GB, free: 35.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001921/1.77, allocations: 124.4 kB / 0.7874 GB, free: 35.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00999/1.78, allocations: 1.507 MB / 0.7888 GB, free: 34.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007654/1.788, allocations: 1.287 MB / 0.7901 GB, free: 34.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02008/1.808, allocations: 8.397 MB / 0.7983 GB, free: 30.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006238/1.814, allocations: 312.6 kB / 0.7986 GB, free: 30.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001192/1.815, allocations: 355 kB / 0.7989 GB, free: 30.56 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 572 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (697): * Single equations (assignments): 693 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005078/1.82, allocations: 1.894 MB / 0.8008 GB, free: 29.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000857/1.821, allocations: 338.2 kB / 0.8011 GB, free: 29.47 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01498/1.836, allocations: 3.672 MB / 0.8047 GB, free: 27.53 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.529e-05/1.836, allocations: 22.73 kB / 0.8047 GB, free: 27.51 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.836e-05/1.836, allocations: 8 kB / 0.8047 GB, free: 27.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.055e-05/1.837, allocations: 6.75 kB / 0.8047 GB, free: 27.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0263/1.863, allocations: 7.949 MB / 0.8125 GB, free: 21.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.218e-05/1.863, allocations: 0 / 0.8125 GB, free: 21.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002398/1.865, allocations: 240.4 kB / 0.8127 GB, free: 20.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009291/1.875, allocations: 1.279 MB / 0.814 GB, free: 20.12 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000379/1.875, allocations: 35.56 kB / 0.814 GB, free: 20.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01865/1.894, allocations: 7.669 MB / 0.8215 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.894, allocations: 0 / 0.8215 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01878/1.913, allocations: 6.116 MB / 0.8275 GB, free: 8.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002123/1.915, allocations: 0.6104 MB / 0.828 GB, free: 7.668 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009502/1.916, allocations: 31.81 kB / 0.8281 GB, free: 7.641 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00281/1.919, allocations: 87.09 kB / 0.8282 GB, free: 7.582 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005144/1.919, allocations: 115.1 kB / 0.8283 GB, free: 7.512 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001913/1.919, allocations: 51.47 kB / 0.8283 GB, free: 7.465 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005078/1.924, allocations: 2.307 MB / 0.8306 GB, free: 5.578 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.71e-07/1.924, allocations: 0 / 0.8306 GB, free: 5.578 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00642/1.931, allocations: 0.9771 MB / 0.8315 GB, free: 4.609 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.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 (130): * Single equations (assignments): 126 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006641/1.932, allocations: 179.1 kB / 0.8317 GB, free: 4.445 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01089/1.943, allocations: 4.95 MB / 0.8365 GB, free: 84 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/1.943, allocations: 4.312 kB / 0.8365 GB, free: 80 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008771/1.951, allocations: 1.899 MB / 0.8384 GB, free: 15.34 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003176/1.955, allocations: 357.2 kB / 0.8387 GB, free: 15.03 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02662/1.981, allocations: 10.16 MB / 0.8486 GB, free: 5.316 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006377/1.988, allocations: 3.043 MB / 0.8516 GB, free: 2.254 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001504/1.989, allocations: 275.4 kB / 0.8519 GB, free: 1.984 MB / 0.4949 GB Notification: Performance of SimCode: time 1.162e-06/1.989, allocations: 0 / 0.8519 GB, free: 1.984 MB / 0.4949 GB Notification: Performance of Templates: time 0.4934/2.483, allocations: 66.71 MB / 0.917 GB, free: 102.5 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches