Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00157/0.00157, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.451/1.451, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0007334/0.0007333, allocations: 94.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1864/0.1864, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003104, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09381/0.09414, allocations: 58.85 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3467/0.4409, allocations: 112.8 MB / 0.5889 GB, free: 3.363 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/0.4412, allocations: 79.28 kB / 0.589 GB, free: 3.324 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5725/1.014, allocations: 136.3 MB / 0.7221 GB, free: 99.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.37e-06/1.014, allocations: 0 / 0.7221 GB, free: 99.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0007804/1.015, allocations: 137.4 kB / 0.7223 GB, free: 99.79 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: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.03073/1.045, allocations: 7.671 MB / 0.7298 GB, free: 97 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.349e-05/1.045, allocations: 9.906 kB / 0.7298 GB, free: 97 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03249/1.078, allocations: 7.548 MB / 0.7371 GB, free: 96.54 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02657/1.104, allocations: 9.855 MB / 0.7468 GB, free: 95.64 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005993/1.105, allocations: 497.2 kB / 0.7472 GB, free: 95.63 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004012/1.109, allocations: 0.6564 MB / 0.7479 GB, free: 95.62 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04141/1.151, allocations: 16.73 MB / 0.7642 GB, free: 91.72 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007976/1.151, allocations: 97.62 kB / 0.7643 GB, free: 91.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003864/1.155, allocations: 316.1 kB / 0.7646 GB, free: 91.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002556/1.158, allocations: 1.592 MB / 0.7662 GB, free: 91.69 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02864/1.187, allocations: 13.76 MB / 0.7796 GB, free: 90.52 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08713/1.274, allocations: 74.44 MB / 0.8523 GB, free: 31.04 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02088/1.295, allocations: 7.725 MB / 0.8598 GB, free: 24.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03212/1.327, allocations: 18.71 MB / 0.8781 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.297e-05/1.327, allocations: 75.86 kB / 0.8782 GB, free: 8.074 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=287): time 5.66e-06/1.327, allocations: 4 kB / 0.8782 GB, free: 8.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=370): time 0.4212/1.748, allocations: 49.48 MB / 0.9265 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/1.748, allocations: 271 kB / 0.9268 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01375/1.762, allocations: 5.401 MB / 0.932 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001272/1.763, allocations: 84.36 kB / 0.9321 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004569/1.768, allocations: 4.768 MB / 0.9368 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002236/1.77, allocations: 1.364 MB / 0.9381 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001283/1.772, allocations: 187.3 kB / 0.9383 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005783/1.772, allocations: 0.702 MB / 0.939 GB, free: 102 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005586/1.778, allocations: 3.782 MB / 0.9427 GB, free: 102 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007651/1.786, allocations: 8.979 MB / 0.9514 GB, free: 95.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007913/1.793, allocations: 5.64 MB / 0.9569 GB, free: 94.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001844/1.794, allocations: 51.16 kB / 0.957 GB, free: 94.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.03545/1.829, allocations: 16.12 MB / 0.9727 GB, free: 90.03 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001938/1.829, allocations: 87.06 kB / 0.9728 GB, free: 90.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000285/1.83, allocations: 181.6 kB / 0.973 GB, free: 90.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01253/1.842, allocations: 4.071 MB / 0.977 GB, free: 89.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006819/1.849, allocations: 2.044 MB / 0.979 GB, free: 89.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03087/1.88, allocations: 21.72 MB / 1 GB, free: 79.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009557/1.89, allocations: 0.5538 MB / 1.001 GB, free: 79.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002269/1.892, allocations: 0.5256 MB / 1.001 GB, free: 79.32 MB / 0.5105 GB 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.008206/1.9, allocations: 3.128 MB / 1.004 GB, free: 77.89 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00184/1.902, allocations: 0.5777 MB / 1.005 GB, free: 77.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02226/1.924, allocations: 9.562 MB / 1.014 GB, free: 70.46 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-05/1.924, allocations: 36 kB / 1.014 GB, free: 70.43 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.465e-05/1.924, allocations: 18.75 kB / 1.014 GB, free: 70.41 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.633e-05/1.925, allocations: 25.02 kB / 1.014 GB, free: 70.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04769/1.972, allocations: 19.06 MB / 1.033 GB, free: 55.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-05/1.972, allocations: 0 / 1.033 GB, free: 55.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002941/1.975, allocations: 0.5151 MB / 1.033 GB, free: 54.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01203/1.987, allocations: 3.611 MB / 1.037 GB, free: 52.52 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001011/1.988, allocations: 63.8 kB / 1.037 GB, free: 52.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02643/2.015, allocations: 19.65 MB / 1.056 GB, free: 34.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/2.015, allocations: 0 / 1.056 GB, free: 34.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02712/2.042, allocations: 14.12 MB / 1.07 GB, free: 20.76 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004729/2.047, allocations: 1.13 MB / 1.071 GB, free: 19.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002757/2.05, allocations: 60 kB / 1.071 GB, free: 19.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005087/2.055, allocations: 221.8 kB / 1.071 GB, free: 19.34 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001172/2.056, allocations: 226.2 kB / 1.072 GB, free: 19.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005759/2.056, allocations: 88.92 kB / 1.072 GB, free: 19.03 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007957/2.064, allocations: 3.804 MB / 1.075 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.31e-07/2.064, allocations: 0 / 1.075 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01173/2.076, allocations: 1.852 MB / 1.077 GB, free: 13.39 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 (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.001234/2.077, allocations: 234.8 kB / 1.077 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01768/2.095, allocations: 9.664 MB / 1.087 GB, free: 3.477 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/2.095, allocations: 3.938 kB / 1.087 GB, free: 3.473 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006645/2.102, allocations: 3.791 MB / 1.09 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007773/2.11, allocations: 0.7112 MB / 1.091 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3342/2.444, allocations: 18.45 MB / 1.109 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009798/2.454, allocations: 5.025 MB / 1.114 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009189/2.463, allocations: 2.806 MB / 1.117 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001904/2.465, allocations: 386.5 kB / 1.117 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.523e-06/2.465, allocations: 0 / 1.117 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.1392/2.604, allocations: 74.95 MB / 1.19 GB, free: 88.89 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches