Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001575/0.001574, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.007/2.007, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001112/0.001111, allocations: 82.66 kB / 267.5 MB, free: 14.11 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.2727/0.2727, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.907e-05/2.922e-05, allocations: 0 / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1138, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5089/0.6227, allocations: 112.7 MB / 0.5829 GB, free: 7.266 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.623, allocations: 72.34 kB / 0.5829 GB, free: 7.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9428/1.566, allocations: 136.4 MB / 0.7162 GB, free: 98.02 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.935e-06/1.566, allocations: 0 / 0.7162 GB, free: 98.02 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000556/1.566, allocations: 137.1 kB / 0.7163 GB, free: 98.01 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.03251/1.599, allocations: 7.053 MB / 0.7232 GB, free: 95.55 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/1.599, allocations: 9.625 kB / 0.7232 GB, free: 95.55 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05802/1.657, allocations: 7.563 MB / 0.7306 GB, free: 95.09 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03678/1.694, allocations: 9.808 MB / 0.7402 GB, free: 94.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007575/1.695, allocations: 495.7 kB / 0.7406 GB, free: 94.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004086/1.699, allocations: 0.652 MB / 0.7413 GB, free: 94.15 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05614/1.755, allocations: 16.58 MB / 0.7575 GB, free: 90.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000734/1.756, allocations: 107.2 kB / 0.7576 GB, free: 90.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003628/1.76, allocations: 309.4 kB / 0.7579 GB, free: 90.25 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00381/1.763, allocations: 1.589 MB / 0.7594 GB, free: 90.24 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04476/1.808, allocations: 13.51 MB / 0.7726 GB, free: 90.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1138/1.922, allocations: 74.41 MB / 0.8453 GB, free: 32.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03634/1.958, allocations: 7.691 MB / 0.8528 GB, free: 26 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007754/1.966, allocations: 3.988 MB / 0.8567 GB, free: 22.33 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04538/2.012, allocations: 18.7 MB / 0.8749 GB, free: 5.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.81e-05/2.012, allocations: 68.31 kB / 0.875 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=287): time 6.933e-06/2.012, allocations: 0 / 0.875 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=370): time 0.5845/2.596, allocations: 38.99 MB / 0.9131 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/2.596, allocations: 272 kB / 0.9133 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01529/2.612, allocations: 5.323 MB / 0.9185 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001016/2.613, allocations: 84.78 kB / 0.9186 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004122/2.617, allocations: 4.564 MB / 0.9231 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002234/2.619, allocations: 1.363 MB / 0.9244 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001489/2.621, allocations: 185 kB / 0.9246 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008375/2.622, allocations: 0.6947 MB / 0.9253 GB, free: 99.96 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009564/2.631, allocations: 3.668 MB / 0.9288 GB, free: 99.94 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01319/2.645, allocations: 8.872 MB / 0.9375 GB, free: 93.29 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01338/2.658, allocations: 5.595 MB / 0.943 GB, free: 93.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002145/2.658, allocations: 51.75 kB / 0.943 GB, free: 93.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.05269/2.711, allocations: 15.65 MB / 0.9583 GB, free: 91.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001593/2.711, allocations: 83.88 kB / 0.9584 GB, free: 91.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002769/2.711, allocations: 180.8 kB / 0.9586 GB, free: 91.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02218/2.734, allocations: 4.016 MB / 0.9625 GB, free: 91.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01324/2.747, allocations: 2.051 MB / 0.9645 GB, free: 90.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05165/2.799, allocations: 20.79 MB / 0.9848 GB, free: 81.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01275/2.811, allocations: 0.5483 MB / 0.9853 GB, free: 81.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002473/2.814, allocations: 0.5209 MB / 0.9858 GB, free: 81.41 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 () * 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.003904/2.818, allocations: 0.8084 MB / 0.9866 GB, free: 80.76 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001865/2.82, allocations: 0.5768 MB / 0.9872 GB, free: 80.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03728/2.857, allocations: 9.458 MB / 0.9964 GB, free: 77.43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.717e-05/2.857, allocations: 38.91 kB / 0.9964 GB, free: 77.43 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.69e-05/2.857, allocations: 15.09 kB / 0.9965 GB, free: 77.43 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.546e-05/2.857, allocations: 22.98 kB / 0.9965 GB, free: 77.43 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06908/2.926, allocations: 18.94 MB / 1.015 GB, free: 66.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.09e-05/2.927, allocations: 3.609 kB / 1.015 GB, free: 66.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005249/2.932, allocations: 0.5101 MB / 1.015 GB, free: 65.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02126/2.953, allocations: 3.57 MB / 1.019 GB, free: 63.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001005/2.954, allocations: 62.77 kB / 1.019 GB, free: 63.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05268/3.007, allocations: 18.72 MB / 1.037 GB, free: 47.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/3.007, allocations: 4 kB / 1.037 GB, free: 47.47 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04333/3.05, allocations: 13.95 MB / 1.051 GB, free: 35.83 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004768/3.055, allocations: 1.126 MB / 1.052 GB, free: 34.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002462/3.058, allocations: 60.62 kB / 1.052 GB, free: 34.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006564/3.064, allocations: 216.8 kB / 1.052 GB, free: 34.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001637/3.066, allocations: 232.4 kB / 1.053 GB, free: 34.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007545/3.067, allocations: 92.73 kB / 1.053 GB, free: 34.36 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009905/3.077, allocations: 3.718 MB / 1.056 GB, free: 31.08 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.92e-07/3.077, allocations: 0 / 1.056 GB, free: 31.08 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01269/3.089, allocations: 1.845 MB / 1.058 GB, free: 29.24 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 () * 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.001484/3.091, allocations: 236.4 kB / 1.058 GB, free: 29.03 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02294/3.114, allocations: 9.49 MB / 1.068 GB, free: 20.33 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/3.114, allocations: 4.125 kB / 1.068 GB, free: 20.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009561/3.124, allocations: 3.73 MB / 1.071 GB, free: 16.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00662/3.13, allocations: 0.7203 MB / 1.072 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04059/3.171, allocations: 13.91 MB / 1.085 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01313/3.184, allocations: 5.022 MB / 1.09 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002931/3.187, allocations: 451.4 kB / 1.091 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of SimCode: time 1.443e-06/3.187, allocations: 0 / 1.091 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of Templates: time 0.6497/3.837, allocations: 146.1 MB / 1.233 GB, free: 35.68 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches