Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.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.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001479/0.001479, allocations: 200.8 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 226.5 MB / 245.4 MB, free: 6.523 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007757/0.0007757, allocations: 103.2 kB / 297.5 MB, free: 6.703 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3321/0.3321, allocations: 44.82 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002566/0.0002566, allocations: 11.98 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2956, allocations: 62.95 MB / 0.5184 GB, free: 37.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.131/0.4266, allocations: 110 MB / 0.6258 GB, free: 11.32 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/0.4269, allocations: 83.95 kB / 0.6259 GB, free: 11.24 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5847/1.012, allocations: 125.8 MB / 0.7487 GB, free: 90.92 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.555e-06/1.012, allocations: 0 / 0.7487 GB, free: 90.92 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003555/1.012, allocations: 125.5 kB / 0.7488 GB, free: 90.91 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: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.02159/1.034, allocations: 6.628 MB / 0.7553 GB, free: 86.45 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/1.034, allocations: 10.44 kB / 0.7553 GB, free: 86.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02174/1.055, allocations: 5.42 MB / 0.7606 GB, free: 83.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01471/1.07, allocations: 5.666 MB / 0.7661 GB, free: 79.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004772/1.071, allocations: 476.9 kB / 0.7666 GB, free: 78.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003105/1.074, allocations: 0.6173 MB / 0.7672 GB, free: 77.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03547/1.109, allocations: 15.57 MB / 0.7824 GB, free: 60.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005297/1.11, allocations: 95.3 kB / 0.7825 GB, free: 60.81 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002995/1.113, allocations: 311.8 kB / 0.7828 GB, free: 60.51 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002166/1.115, allocations: 1.467 MB / 0.7842 GB, free: 59.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02623/1.141, allocations: 12.57 MB / 0.7965 GB, free: 46.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07619/1.218, allocations: 70.53 MB / 0.8654 GB, free: 5.852 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01787/1.236, allocations: 6.997 MB / 0.8722 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004865/1.24, allocations: 3.603 MB / 0.8757 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01642/1.257, allocations: 8.743 MB / 0.8842 GB, free: 2.18 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.78e-05/1.257, allocations: 60.48 kB / 0.8843 GB, free: 2.113 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=246): time 6.272e-06/1.257, allocations: 0 / 0.8843 GB, free: 2.113 MB / 0.5261 GB Notification: Performance of matching and sorting (n=288): time 0.3504/1.607, allocations: 29.89 MB / 0.9135 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.282e-05/1.608, allocations: 244 kB / 0.9137 GB, free: 126 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01252/1.62, allocations: 6.65 MB / 0.9202 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007238/1.621, allocations: 66.14 kB / 0.9203 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002852/1.624, allocations: 4.544 MB / 0.9247 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001212/1.625, allocations: 1.095 MB / 0.9258 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004026/1.625, allocations: 173.8 kB / 0.926 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003132/1.626, allocations: 0.6569 MB / 0.9266 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003954/1.63, allocations: 3.283 MB / 0.9298 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005983/1.636, allocations: 8.319 MB / 0.9379 GB, free: 113 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01338/1.649, allocations: 12.62 MB / 0.9503 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001866/1.649, allocations: 52.47 kB / 0.9503 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1101) (initialization): time 0.02137/1.671, allocations: 12.81 MB / 0.9628 GB, free: 98.69 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/1.671, allocations: 80.31 kB / 0.9629 GB, free: 98.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002143/1.671, allocations: 176.2 kB / 0.9631 GB, free: 98.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003471/1.675, allocations: 1.65 MB / 0.9647 GB, free: 98.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006175/1.681, allocations: 2.004 MB / 0.9666 GB, free: 98.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01152/1.692, allocations: 11.22 MB / 0.9776 GB, free: 89.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007635/1.7, allocations: 0.4956 MB / 0.9781 GB, free: 89.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00173/1.702, allocations: 0.5055 MB / 0.9786 GB, free: 88.71 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 807 * Number of states: 0 () * Number of discrete variables: 67 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1031): * Single equations (assignments): 1026 * 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%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007363/1.709, allocations: 3.041 MB / 0.9815 GB, free: 86.04 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001615/1.711, allocations: 0.563 MB / 0.9821 GB, free: 85.46 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/1.722, allocations: 6.275 MB / 0.9882 GB, free: 80.41 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.719e-05/1.722, allocations: 32.78 kB / 0.9882 GB, free: 80.38 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.384e-05/1.722, allocations: 8 kB / 0.9883 GB, free: 80.37 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.329e-05/1.722, allocations: 17.64 kB / 0.9883 GB, free: 80.36 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02808/1.75, allocations: 14.2 MB / 1.002 GB, free: 68.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.701e-05/1.75, allocations: 6.25 kB / 1.002 GB, free: 68.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002655/1.753, allocations: 0.5341 MB / 1.003 GB, free: 68.51 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003383/1.757, allocations: 1.399 MB / 1.004 GB, free: 67.54 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004936/1.757, allocations: 55.14 kB / 1.004 GB, free: 67.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01096/1.768, allocations: 10.44 MB / 1.014 GB, free: 58.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.862e-06/1.768, allocations: 15.88 kB / 1.014 GB, free: 58.16 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01437/1.782, allocations: 10.21 MB / 1.024 GB, free: 48.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002151/1.785, allocations: 0.6342 MB / 1.025 GB, free: 48.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001798/1.786, allocations: 51.94 kB / 1.025 GB, free: 47.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003441/1.79, allocations: 199.7 kB / 1.025 GB, free: 47.78 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006871/1.791, allocations: 169.6 kB / 1.025 GB, free: 47.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00029/1.791, allocations: 80 kB / 1.025 GB, free: 47.53 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007947/1.799, allocations: 4.252 MB / 1.03 GB, free: 43.29 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.7e-07/1.799, allocations: 4 kB / 1.03 GB, free: 43.29 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01019/1.809, allocations: 1.554 MB / 1.031 GB, free: 41.74 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (232): * Single equations (assignments): 227 * 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 {(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001229/1.81, allocations: 204.8 kB / 1.031 GB, free: 41.54 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0123/1.823, allocations: 8.148 MB / 1.039 GB, free: 33.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/1.823, allocations: 3.938 kB / 1.039 GB, free: 33.39 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004757/1.828, allocations: 3.192 MB / 1.042 GB, free: 30.18 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0114/1.839, allocations: 0.7276 MB / 1.043 GB, free: 29.47 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02966/1.869, allocations: 17.16 MB / 1.06 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00916/1.878, allocations: 4.637 MB / 1.064 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.008698/1.887, allocations: 2.812 MB / 1.067 GB, free: 4.832 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002017/1.889, allocations: 383.4 kB / 1.067 GB, free: 4.457 MB / 0.5261 GB Notification: Performance of SimCode: time 1.924e-06/1.889, allocations: 0 / 1.067 GB, free: 4.457 MB / 0.5261 GB Notification: Performance of Templates: time 0.4465/2.335, allocations: 60.89 MB / 1.127 GB, free: 127.6 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches