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.001314/0.001314, allocations: 177.6 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.3 MB / 213.7 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008581/0.0008581, allocations: 92.05 kB / 261.8 MB, free: 1.613 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.2149/0.2149, allocations: 43.5 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.144e-05/2.187e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1504, allocations: 58.86 MB / 477.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4789/0.6293, allocations: 112 MB / 0.5753 GB, free: 15.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/0.6297, allocations: 82.64 kB / 0.5754 GB, free: 15.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3967/1.026, allocations: 133.8 MB / 0.706 GB, free: 1.664 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.725e-06/1.027, allocations: 0 / 0.706 GB, free: 1.664 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005867/1.027, allocations: 132 kB / 0.7062 GB, free: 1.535 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.3531/1.38, allocations: 7.044 MB / 0.713 GB, free: 98.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/1.38, allocations: 9.312 kB / 0.7131 GB, free: 98.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03403/1.414, allocations: 7.561 MB / 0.7204 GB, free: 98.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02784/1.442, allocations: 9.804 MB / 0.73 GB, free: 98.05 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006314/1.443, allocations: 210 kB / 0.7302 GB, free: 98.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003808/1.447, allocations: 399.5 kB / 0.7306 GB, free: 98.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01914/1.466, allocations: 9.69 MB / 0.7401 GB, free: 98.01 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03675/1.503, allocations: 14.25 MB / 0.754 GB, free: 94.15 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009234/1.504, allocations: 97.56 kB / 0.7541 GB, free: 94.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004213/1.508, allocations: 43.53 kB / 0.7541 GB, free: 94.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002916/1.511, allocations: 1.589 MB / 0.7557 GB, free: 94.13 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08846/1.599, allocations: 73.78 MB / 0.8277 GB, free: 43.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006888/1.606, allocations: 5.249 MB / 0.8328 GB, free: 40.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004829/1.611, allocations: 3.76 MB / 0.8365 GB, free: 39.24 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002659/1.614, allocations: 2.27 MB / 0.8387 GB, free: 37.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.959e-05/1.614, allocations: 59.31 kB / 0.8388 GB, free: 37.13 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=302): time 8.406e-06/1.614, allocations: 3.469 kB / 0.8388 GB, free: 37.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=385): time 0.1008/1.715, allocations: 40.89 MB / 0.8787 GB, free: 3.094 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/1.715, allocations: 273.8 kB / 0.879 GB, free: 2.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01228/1.727, allocations: 4.772 MB / 0.8836 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001093/1.728, allocations: 25.7 kB / 0.8837 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004695/1.733, allocations: 4.786 MB / 0.8883 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003301/1.736, allocations: 1.366 MB / 0.8897 GB, free: 9.305 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001567/1.738, allocations: 0 / 0.8897 GB, free: 9.305 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001063/1.739, allocations: 0.7157 MB / 0.8904 GB, free: 8.695 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006474/1.746, allocations: 3.636 MB / 0.8939 GB, free: 5.434 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3436/2.089, allocations: 8.927 MB / 0.9026 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0115/2.101, allocations: 5.564 MB / 0.9081 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000315/2.101, allocations: 54.38 kB / 0.9081 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1247) (initialization): time 0.03793/2.139, allocations: 15.02 MB / 0.9228 GB, free: 102 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001994/2.139, allocations: 84.19 kB / 0.9229 GB, free: 102 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000271/2.14, allocations: 186.7 kB / 0.923 GB, free: 102 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01188/2.152, allocations: 4.003 MB / 0.927 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008177/2.16, allocations: 2.118 MB / 0.929 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02832/2.188, allocations: 20.1 MB / 0.9487 GB, free: 99.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00808/2.196, allocations: 384.8 kB / 0.949 GB, free: 99.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002308/2.199, allocations: 0.5394 MB / 0.9495 GB, free: 99.04 MB / 0.5105 GB 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.003354/2.202, allocations: 0.5843 MB / 0.9501 GB, free: 98.74 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001681/2.204, allocations: 0.5451 MB / 0.9506 GB, free: 98.74 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02031/2.224, allocations: 9.369 MB / 0.9598 GB, free: 97.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.973e-05/2.224, allocations: 40 kB / 0.9598 GB, free: 97.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.167e-05/2.224, allocations: 16.47 kB / 0.9599 GB, free: 97.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.231e-05/2.224, allocations: 19.81 kB / 0.9599 GB, free: 97.48 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05701/2.281, allocations: 18.05 MB / 0.9775 GB, free: 91.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.224e-05/2.281, allocations: 2.469 kB / 0.9775 GB, free: 91.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005354/2.287, allocations: 0.5291 MB / 0.978 GB, free: 91.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02195/2.309, allocations: 3.527 MB / 0.9815 GB, free: 90.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001059/2.31, allocations: 9.844 kB / 0.9815 GB, free: 90.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04389/2.354, allocations: 17.68 MB / 0.9987 GB, free: 82.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.299e-05/2.354, allocations: 10.31 kB / 0.9987 GB, free: 82.65 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04401/2.398, allocations: 14.16 MB / 1.013 GB, free: 71.64 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005322/2.403, allocations: 1.09 MB / 1.014 GB, free: 70.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002039/2.405, allocations: 8 kB / 1.014 GB, free: 70.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006247/2.412, allocations: 164.1 kB / 1.014 GB, free: 70.54 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001182/2.413, allocations: 251 kB / 1.014 GB, free: 70.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000462/2.413, allocations: 91.25 kB / 1.014 GB, free: 70.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009506/2.423, allocations: 3.144 MB / 1.017 GB, free: 67.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.283e-06/2.423, allocations: 0 / 1.017 GB, free: 67.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01959/2.442, allocations: 1.611 MB / 1.019 GB, free: 66 MB / 0.5105 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.001837/2.444, allocations: 176.9 kB / 1.019 GB, free: 65.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02529/2.47, allocations: 9.221 MB / 1.028 GB, free: 57.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.437e-05/2.47, allocations: 0 / 1.028 GB, free: 57.46 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005573/2.475, allocations: 3.686 MB / 1.032 GB, free: 54.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003966/2.479, allocations: 0.5797 MB / 1.032 GB, free: 53.62 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02284/2.502, allocations: 13.07 MB / 1.045 GB, free: 42.02 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005604/2.508, allocations: 5.034 MB / 1.05 GB, free: 38.34 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007179/2.515, allocations: 2.891 MB / 1.053 GB, free: 35.74 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/2.516, allocations: 367.4 kB / 1.053 GB, free: 35.38 MB / 0.5105 GB Notification: Performance of SimCode: time 1.493e-06/2.516, allocations: 4 kB / 1.053 GB, free: 35.38 MB / 0.5105 GB Notification: Performance of Templates: time 0.4419/2.958, allocations: 68.65 MB / 1.12 GB, free: 104.8 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