Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001107/0.001107, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.205/1.205, allocations: 227.2 MB / 245 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008629/0.0008629, allocations: 101.9 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3185/0.3185, allocations: 45.22 MB / 394.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002621/0.0002622, allocations: 8 kB / 468.4 MB, free: 7.711 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2979, allocations: 63.25 MB / 0.5192 GB, free: 37.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1393/0.4372, allocations: 115.6 MB / 0.6321 GB, free: 3.754 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.4375, allocations: 75.97 kB / 0.6322 GB, free: 3.68 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5785/1.016, allocations: 143.1 MB / 0.7719 GB, free: 71.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.028e-06/1.016, allocations: 0 / 0.7719 GB, free: 71.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006231/1.017, allocations: 140 kB / 0.772 GB, free: 71.16 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.02483/1.041, allocations: 7.66 MB / 0.7795 GB, free: 63.41 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/1.042, allocations: 8.031 kB / 0.7795 GB, free: 63.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02846/1.07, allocations: 7.549 MB / 0.7869 GB, free: 55.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02055/1.091, allocations: 8.365 MB / 0.7951 GB, free: 47.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004432/1.091, allocations: 496.9 kB / 0.7955 GB, free: 46.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002954/1.094, allocations: 0.648 MB / 0.7962 GB, free: 46.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03483/1.129, allocations: 16.74 MB / 0.8125 GB, free: 28.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004819/1.129, allocations: 95.17 kB / 0.8126 GB, free: 27.96 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002847/1.132, allocations: 311.8 kB / 0.8129 GB, free: 27.65 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00238/1.135, allocations: 1.588 MB / 0.8145 GB, free: 26.06 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02615/1.161, allocations: 13.76 MB / 0.8279 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3668/1.528, allocations: 74.33 MB / 0.9005 GB, free: 71.23 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02007/1.548, allocations: 7.735 MB / 0.908 GB, free: 70.55 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02508/1.573, allocations: 18.67 MB / 0.9263 GB, free: 66.13 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/1.573, allocations: 69.8 kB / 0.9263 GB, free: 66.09 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=287): time 5.54e-06/1.573, allocations: 4.031 kB / 0.9264 GB, free: 66.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=370): time 0.1504/1.723, allocations: 49.27 MB / 0.9745 GB, free: 56.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.157e-05/1.724, allocations: 265.2 kB / 0.9747 GB, free: 56.49 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008258/1.732, allocations: 5.355 MB / 0.9799 GB, free: 54.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008382/1.733, allocations: 82.64 kB / 0.98 GB, free: 54.62 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002615/1.735, allocations: 4.76 MB / 0.9847 GB, free: 50.84 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00154/1.737, allocations: 1.36 MB / 0.986 GB, free: 49.63 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004713/1.737, allocations: 187.9 kB / 0.9862 GB, free: 49.45 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003636/1.738, allocations: 0.6943 MB / 0.9869 GB, free: 48.86 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004719/1.742, allocations: 3.778 MB / 0.9905 GB, free: 45.67 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006261/1.749, allocations: 8.983 MB / 0.9993 GB, free: 35.11 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006864/1.756, allocations: 5.637 MB / 1.005 GB, free: 30.21 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.7e-05/1.756, allocations: 59.47 kB / 1.005 GB, free: 30.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.02946/1.785, allocations: 16.13 MB / 1.021 GB, free: 17.45 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001173/1.785, allocations: 84 kB / 1.021 GB, free: 17.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002094/1.786, allocations: 184 kB / 1.021 GB, free: 17.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01208/1.798, allocations: 4.056 MB / 1.025 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006879/1.805, allocations: 2.051 MB / 1.027 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02919/1.834, allocations: 21.73 MB / 1.048 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008159/1.842, allocations: 0.5461 MB / 1.049 GB, free: 7.113 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001824/1.844, allocations: 0.5195 MB / 1.049 GB, free: 6.594 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.007521/1.851, allocations: 3.112 MB / 1.052 GB, free: 3.473 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001385/1.853, allocations: 0.5708 MB / 1.053 GB, free: 2.895 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02099/1.874, allocations: 9.561 MB / 1.062 GB, free: 9.277 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.206e-05/1.874, allocations: 40 kB / 1.062 GB, free: 9.238 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.187e-05/1.874, allocations: 16 kB / 1.062 GB, free: 9.223 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-05/1.874, allocations: 23.86 kB / 1.062 GB, free: 9.199 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04041/1.914, allocations: 19.05 MB / 1.081 GB, free: 6.055 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.055e-05/1.914, allocations: 0 / 1.081 GB, free: 6.055 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002831/1.917, allocations: 0.507 MB / 1.081 GB, free: 5.547 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01189/1.929, allocations: 3.628 MB / 1.085 GB, free: 1.914 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006434/1.93, allocations: 59.98 kB / 1.085 GB, free: 1.855 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0289/1.959, allocations: 19.65 MB / 1.104 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/1.959, allocations: 0 / 1.104 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3087/2.268, allocations: 14.1 MB / 1.118 GB, free: 181.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00212/2.27, allocations: 0.5794 MB / 1.118 GB, free: 181.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002224/2.272, allocations: 59.92 kB / 1.118 GB, free: 181.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00444/2.276, allocations: 220.7 kB / 1.119 GB, free: 181.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001548/2.278, allocations: 230.8 kB / 1.119 GB, free: 181.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007979/2.279, allocations: 93.78 kB / 1.119 GB, free: 181.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.008657/2.287, allocations: 3.76 MB / 1.123 GB, free: 180.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.41e-07/2.287, allocations: 0 / 1.123 GB, free: 180.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.009148/2.297, allocations: 1.858 MB / 1.124 GB, free: 180.9 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.0007558/2.297, allocations: 229.5 kB / 1.125 GB, free: 180.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.01441/2.312, allocations: 9.667 MB / 1.134 GB, free: 180.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/2.312, allocations: 0 / 1.134 GB, free: 180.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.006092/2.318, allocations: 3.79 MB / 1.138 GB, free: 180.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004968/2.323, allocations: 0.7122 MB / 1.138 GB, free: 180 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03198/2.355, allocations: 18.39 MB / 1.156 GB, free: 173.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006018/2.361, allocations: 5.005 MB / 1.161 GB, free: 172.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.006963/2.368, allocations: 2.803 MB / 1.164 GB, free: 172.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001181/2.369, allocations: 383.2 kB / 1.164 GB, free: 172.5 MB / 0.6042 GB Notification: Performance of SimCode: time 6.11e-07/2.369, allocations: 0 / 1.164 GB, free: 172.5 MB / 0.6042 GB Notification: Performance of Templates: time 0.1205/2.49, allocations: 74.78 MB / 1.237 GB, free: 137.7 MB / 0.6042 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches