Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.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.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001468/0.001468, allocations: 202.1 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.273/1.273, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009694/0.0009694, allocations: 96.81 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1967/0.1967, allocations: 45.15 MB / 383.8 MB, free: 284 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.891e-05/1.894e-05, allocations: 4 kB / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1218, allocations: 63.25 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4465/0.5683, allocations: 107.3 MB / 0.6091 GB, free: 11.65 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.5686, allocations: 81.2 kB / 0.6092 GB, free: 11.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3347/0.9033, allocations: 133.5 MB / 0.7395 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9034, allocations: 0 / 0.7395 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0005419/0.9039, allocations: 132 kB / 0.7397 GB, free: 13.85 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2214 * Number of variables: 2214 Notification: Performance of Generate backend data structure: time 0.02351/0.9274, allocations: 6.391 MB / 0.7459 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.9275, allocations: 12.03 kB / 0.7459 GB, free: 7.367 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3631/1.291, allocations: 9.424 MB / 0.7551 GB, free: 110 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02106/1.312, allocations: 7.333 MB / 0.7623 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004361/1.312, allocations: 208.3 kB / 0.7625 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002892/1.315, allocations: 390.8 kB / 0.7629 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01809/1.333, allocations: 8.396 MB / 0.7711 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02539/1.359, allocations: 13.25 MB / 0.784 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002874/1.359, allocations: 96.94 kB / 0.7841 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009576/1.36, allocations: 48.72 kB / 0.7841 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00142/1.361, allocations: 1.338 MB / 0.7854 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05766/1.419, allocations: 64.86 MB / 0.8488 GB, free: 62.81 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003984/1.423, allocations: 4.043 MB / 0.8527 GB, free: 60.77 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002288/1.425, allocations: 2.562 MB / 0.8552 GB, free: 59.64 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.811e-05/1.426, allocations: 38.62 kB / 0.8553 GB, free: 59.63 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/1.426, allocations: 56.84 kB / 0.8553 GB, free: 59.58 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=190): time 3.446e-06/1.426, allocations: 0 / 0.8553 GB, free: 59.58 MB / 0.5261 GB Notification: Performance of matching and sorting (n=209): time 0.04264/1.468, allocations: 21.69 MB / 0.8765 GB, free: 50.08 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/1.468, allocations: 253 kB / 0.8767 GB, free: 49.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00711/1.475, allocations: 4.632 MB / 0.8813 GB, free: 48.05 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003937/1.476, allocations: 29.67 kB / 0.8813 GB, free: 48.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002272/1.478, allocations: 4.736 MB / 0.8859 GB, free: 44.32 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008476/1.479, allocations: 0.8093 MB / 0.8867 GB, free: 43.74 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002425/1.479, allocations: 1.562 kB / 0.8867 GB, free: 43.74 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003348/1.48, allocations: 0.6509 MB / 0.8873 GB, free: 43.29 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002551/1.482, allocations: 2.286 MB / 0.8896 GB, free: 41.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004082/1.486, allocations: 7.315 MB / 0.8967 GB, free: 32.18 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004119/1.49, allocations: 4.073 MB / 0.9007 GB, free: 28.73 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.75e-05/1.49, allocations: 52 kB / 0.9007 GB, free: 28.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1040) (initialization): time 0.0127/1.503, allocations: 8.995 MB / 0.9095 GB, free: 20.81 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.019e-05/1.503, allocations: 84 kB / 0.9096 GB, free: 20.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001362/1.503, allocations: 186.7 kB / 0.9098 GB, free: 20.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001502/1.505, allocations: 0.7846 MB / 0.9106 GB, free: 19.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004578/1.51, allocations: 1.8 MB / 0.9123 GB, free: 18.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006535/1.516, allocations: 7.985 MB / 0.9201 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006031/1.522, allocations: 262.7 kB / 0.9204 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001195/1.523, allocations: 498.8 kB / 0.9208 GB, free: 10.02 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 63 (worldForce2.arrow.arrowLine.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.arrow.arrowLine.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce1.color[3],worldForce1.color[2],worldForce1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (977): * Single equations (assignments): 971 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001595/1.525, allocations: 0.5557 MB / 0.9214 GB, free: 9.465 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009584/1.526, allocations: 489 kB / 0.9218 GB, free: 8.984 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005424/1.531, allocations: 3.144 MB / 0.9249 GB, free: 6.398 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.248e-05/1.531, allocations: 24 kB / 0.9249 GB, free: 6.375 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.447e-05/1.531, allocations: 12 kB / 0.9249 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-05/1.531, allocations: 13.66 kB / 0.925 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01764/1.549, allocations: 8.418 MB / 0.9332 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/1.549, allocations: 4 kB / 0.9332 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001463/1.551, allocations: 296.5 kB / 0.9335 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001406/1.552, allocations: 0.4917 MB / 0.9339 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002179/1.552, allocations: 4 kB / 0.934 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007517/1.56, allocations: 7.091 MB / 0.9409 GB, free: 8.211 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/1.56, allocations: 4.031 kB / 0.9409 GB, free: 8.207 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008832/1.569, allocations: 5.921 MB / 0.9467 GB, free: 2.941 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001784/1.57, allocations: 0.5068 MB / 0.9472 GB, free: 2.426 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001362/1.572, allocations: 0 / 0.9472 GB, free: 2.426 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002533/1.574, allocations: 72.73 kB / 0.9472 GB, free: 2.383 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003556/1.575, allocations: 124.6 kB / 0.9473 GB, free: 2.305 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001673/1.575, allocations: 62.7 kB / 0.9474 GB, free: 2.254 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.008539/1.584, allocations: 3.163 MB / 0.9505 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.3e-07/1.584, allocations: 0 / 0.9505 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01042/1.594, allocations: 1.203 MB / 0.9517 GB, free: 14.42 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,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 (161): * Single equations (assignments): 155 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008212/1.595, allocations: 152.7 kB / 0.9518 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.011/1.606, allocations: 5.818 MB / 0.9575 GB, free: 9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/1.606, allocations: 0 / 0.9575 GB, free: 9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002826/1.609, allocations: 1.871 MB / 0.9593 GB, free: 7.277 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004524/1.613, allocations: 0.6231 MB / 0.9599 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3516/1.965, allocations: 10.72 MB / 0.9704 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007726/1.973, allocations: 4.775 MB / 0.9751 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.007974/1.981, allocations: 2.505 MB / 0.9775 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/1.982, allocations: 319.5 kB / 0.9778 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of SimCode: time 1.282e-06/1.982, allocations: 1.312 kB / 0.9778 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.08465/2.066, allocations: 41.67 MB / 1.019 GB, free: 119.1 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches