Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 179.7 kB / 18.09 MB, free: 3.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.247/1.247, allocations: 223.3 MB / 242.1 MB, free: 11.67 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007523/0.0007523, allocations: 102 kB / 293.3 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2955/0.2955, allocations: 44.15 MB / 388.5 MB, free: 38.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004881/0.0004883, allocations: 19.98 kB / 461.1 MB, free: 1.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.364, allocations: 61.88 MB / 0.5107 GB, free: 38.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1298/0.4938, allocations: 114.9 MB / 0.6229 GB, free: 12.14 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001908/0.494, allocations: 87.94 kB / 0.623 GB, free: 12.05 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5209/1.015, allocations: 135.2 MB / 0.7551 GB, free: 87.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.835e-06/1.015, allocations: 0 / 0.7551 GB, free: 87.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005518/1.016, allocations: 134.1 kB / 0.7552 GB, free: 87.63 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: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.02346/1.039, allocations: 7.34 MB / 0.7624 GB, free: 82.83 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/1.039, allocations: 15.72 kB / 0.7624 GB, free: 82.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02409/1.063, allocations: 5.855 MB / 0.7681 GB, free: 79.67 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01696/1.08, allocations: 7.869 MB / 0.7758 GB, free: 71.72 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004179/1.081, allocations: 493.2 kB / 0.7762 GB, free: 71.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002732/1.083, allocations: 0.6523 MB / 0.7769 GB, free: 70.58 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03318/1.117, allocations: 16.56 MB / 0.793 GB, free: 52.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005757/1.117, allocations: 107.2 kB / 0.7932 GB, free: 52.47 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002919/1.12, allocations: 319.8 kB / 0.7935 GB, free: 52.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002232/1.122, allocations: 1.58 MB / 0.795 GB, free: 50.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02935/1.152, allocations: 13.54 MB / 0.8082 GB, free: 37.01 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4272/1.579, allocations: 74.19 MB / 0.8807 GB, free: 64.24 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0197/1.599, allocations: 7.737 MB / 0.8882 GB, free: 63.55 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005201/1.604, allocations: 4.024 MB / 0.8922 GB, free: 63.51 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02811/1.632, allocations: 18.51 MB / 0.9102 GB, free: 59.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.41e-05/1.632, allocations: 72.08 kB / 0.9103 GB, free: 59.12 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=287): time 7.704e-06/1.632, allocations: 0 / 0.9103 GB, free: 59.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=370): time 0.1434/1.776, allocations: 49.05 MB / 0.9582 GB, free: 48.88 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.485e-05/1.776, allocations: 275.4 kB / 0.9585 GB, free: 48.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007727/1.783, allocations: 6.027 MB / 0.9643 GB, free: 46.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006938/1.784, allocations: 91.66 kB / 0.9644 GB, free: 46.14 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002338/1.787, allocations: 4.755 MB / 0.9691 GB, free: 41.87 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001291/1.788, allocations: 1.362 MB / 0.9704 GB, free: 40.66 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004313/1.788, allocations: 184 kB / 0.9706 GB, free: 40.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003584/1.789, allocations: 0.6957 MB / 0.9713 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004772/1.793, allocations: 3.778 MB / 0.9749 GB, free: 36.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007381/1.801, allocations: 9.016 MB / 0.9838 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01396/1.815, allocations: 13.86 MB / 0.9973 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001807/1.815, allocations: 52 kB / 0.9973 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.0306/1.846, allocations: 16.12 MB / 1.013 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002054/1.846, allocations: 83.94 kB / 1.013 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003293/1.846, allocations: 184 kB / 1.013 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01215/1.858, allocations: 4.044 MB / 1.017 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006881/1.865, allocations: 2.039 MB / 1.019 GB, free: 8.516 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03168/1.897, allocations: 20.99 MB / 1.04 GB, free: 3.277 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008002/1.905, allocations: 0.5423 MB / 1.04 GB, free: 2.734 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002018/1.907, allocations: 0.5195 MB / 1.041 GB, free: 2.215 MB / 0.5417 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.007898/1.915, allocations: 3.128 MB / 1.044 GB, free: 15.08 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001453/1.917, allocations: 0.5708 MB / 1.044 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02109/1.938, allocations: 9.567 MB / 1.054 GB, free: 4.871 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.238e-05/1.938, allocations: 36 kB / 1.054 GB, free: 4.836 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.612e-05/1.938, allocations: 16 kB / 1.054 GB, free: 4.82 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.236e-05/1.938, allocations: 27.88 kB / 1.054 GB, free: 4.797 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04084/1.979, allocations: 19.04 MB / 1.072 GB, free: 1.652 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.211e-05/1.979, allocations: 0 / 1.072 GB, free: 1.652 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002594/1.981, allocations: 0.5148 MB / 1.073 GB, free: 1.137 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01163/1.993, allocations: 3.614 MB / 1.076 GB, free: 13.52 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001089/1.994, allocations: 67.5 kB / 1.077 GB, free: 13.46 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03015/2.024, allocations: 18.9 MB / 1.095 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/2.024, allocations: 3.938 kB / 1.095 GB, free: 10.28 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3803/2.405, allocations: 14.01 MB / 1.109 GB, free: 189.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002131/2.407, allocations: 0.5791 MB / 1.109 GB, free: 189.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001949/2.409, allocations: 59.59 kB / 1.109 GB, free: 189.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003477/2.412, allocations: 221.5 kB / 1.109 GB, free: 189.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009899/2.413, allocations: 226.9 kB / 1.11 GB, free: 189.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000304/2.414, allocations: 93.73 kB / 1.11 GB, free: 189.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.008104/2.422, allocations: 3.763 MB / 1.113 GB, free: 189 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.41e-07/2.422, allocations: 0 / 1.113 GB, free: 189 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01113/2.433, allocations: 1.845 MB / 1.115 GB, free: 189 MB / 0.6042 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.0009517/2.434, allocations: 229.2 kB / 1.115 GB, free: 188.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.01649/2.45, allocations: 9.667 MB / 1.125 GB, free: 188.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/2.45, allocations: 0 / 1.125 GB, free: 188.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.007577/2.458, allocations: 3.799 MB / 1.129 GB, free: 188.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009186/2.467, allocations: 0.7498 MB / 1.129 GB, free: 188.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04147/2.509, allocations: 18.46 MB / 1.147 GB, free: 181.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01092/2.52, allocations: 4.854 MB / 1.152 GB, free: 180.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.009655/2.529, allocations: 2.813 MB / 1.155 GB, free: 180.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002394/2.532, allocations: 376.7 kB / 1.155 GB, free: 180.3 MB / 0.6042 GB Notification: Performance of SimCode: time 8.62e-07/2.532, allocations: 2.5 kB / 1.155 GB, free: 180.3 MB / 0.6042 GB Notification: Performance of Templates: time 0.1242/2.656, allocations: 75.03 MB / 1.229 GB, free: 142.5 MB / 0.6042 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches