Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,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.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,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.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00116/0.00116, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008485/0.0008485, allocations: 96.36 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2166/0.2166, allocations: 45.14 MB / 383.7 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.576e-05/1.578e-05, allocations: 4 kB / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09645/0.09648, allocations: 63.26 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4214/0.5179, allocations: 109.8 MB / 0.6116 GB, free: 9.059 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.5182, allocations: 77.27 kB / 0.6117 GB, free: 9.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3138/0.832, allocations: 127.3 MB / 0.7359 GB, free: 1.684 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.304e-06/0.8321, allocations: 0 / 0.7359 GB, free: 1.684 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004516/0.8325, allocations: 127.9 kB / 0.736 GB, free: 1.559 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.02158/0.8541, allocations: 6.376 MB / 0.7423 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.8542, allocations: 8.031 kB / 0.7423 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02877/0.883, allocations: 7.054 MB / 0.7492 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3172/1.2, allocations: 6.308 MB / 0.7553 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006243/1.201, allocations: 201.9 kB / 0.7555 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003752/1.205, allocations: 368.4 kB / 0.7559 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01809/1.223, allocations: 8.717 MB / 0.7644 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02591/1.249, allocations: 13.41 MB / 0.7775 GB, free: 107 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002855/1.249, allocations: 83.8 kB / 0.7776 GB, free: 107 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001104/1.25, allocations: 43.47 kB / 0.7776 GB, free: 107 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001632/1.252, allocations: 1.417 MB / 0.779 GB, free: 107 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06208/1.314, allocations: 64.68 MB / 0.8421 GB, free: 66.19 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005419/1.319, allocations: 4.85 MB / 0.8469 GB, free: 63.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003238/1.323, allocations: 3.2 MB / 0.85 GB, free: 62.57 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001648/1.323, allocations: 37.89 kB / 0.85 GB, free: 62.57 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/1.323, allocations: 63.81 kB / 0.8501 GB, free: 62.51 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=224): time 5.14e-06/1.323, allocations: 3.469 kB / 0.8501 GB, free: 62.51 MB / 0.5261 GB Notification: Performance of matching and sorting (n=268): time 0.05171/1.375, allocations: 26.07 MB / 0.8756 GB, free: 52.39 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/1.375, allocations: 232.5 kB / 0.8758 GB, free: 52.14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007245/1.382, allocations: 4.254 MB / 0.8799 GB, free: 50.59 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000658/1.383, allocations: 28.67 kB / 0.88 GB, free: 50.56 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002232/1.385, allocations: 4.511 MB / 0.8844 GB, free: 46.59 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001218/1.386, allocations: 0.9991 MB / 0.8853 GB, free: 45.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004275/1.387, allocations: 0 / 0.8853 GB, free: 45.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003403/1.387, allocations: 0.6516 MB / 0.886 GB, free: 45.14 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003407/1.39, allocations: 2.984 MB / 0.8889 GB, free: 42.48 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004937/1.395, allocations: 7.773 MB / 0.8965 GB, free: 32.99 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005615/1.401, allocations: 4.755 MB / 0.9011 GB, free: 29.02 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001559/1.401, allocations: 55.95 kB / 0.9012 GB, free: 28.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1064) (initialization): time 0.02111/1.422, allocations: 11.17 MB / 0.9121 GB, free: 19.44 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002488/1.423, allocations: 80 kB / 0.9122 GB, free: 19.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003645/1.423, allocations: 172 kB / 0.9123 GB, free: 19.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003938/1.427, allocations: 1.692 MB / 0.914 GB, free: 17.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006532/1.433, allocations: 1.91 MB / 0.9159 GB, free: 16.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01248/1.446, allocations: 10.77 MB / 0.9264 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007042/1.453, allocations: 316.2 kB / 0.9267 GB, free: 6.453 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00224/1.455, allocations: 0.4888 MB / 0.9271 GB, free: 5.98 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 779 * Number of states: 0 () * Number of discrete variables: 65 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (992): * Single equations (assignments): 987 * 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%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002936/1.458, allocations: 0.5434 MB / 0.9277 GB, free: 5.438 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001534/1.46, allocations: 462 kB / 0.9281 GB, free: 4.98 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01029/1.47, allocations: 5.745 MB / 0.9337 GB, free: 424 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.095e-05/1.47, allocations: 31.95 kB / 0.9338 GB, free: 392 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.278e-05/1.47, allocations: 12 kB / 0.9338 GB, free: 380 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-05/1.47, allocations: 10.97 kB / 0.9338 GB, free: 380 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0272/1.497, allocations: 12.49 MB / 0.946 GB, free: 6.496 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.927e-05/1.498, allocations: 7.75 kB / 0.946 GB, free: 6.492 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002417/1.5, allocations: 465.5 kB / 0.9464 GB, free: 6.137 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003608/1.504, allocations: 1.396 MB / 0.9478 GB, free: 5.16 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003895/1.504, allocations: 10.95 kB / 0.9478 GB, free: 5.152 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3259/1.83, allocations: 9.966 MB / 0.9575 GB, free: 111.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.83, allocations: 2.625 kB / 0.9575 GB, free: 111.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01508/1.845, allocations: 9.625 MB / 0.9669 GB, free: 111 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001257/1.846, allocations: 493.7 kB / 0.9674 GB, free: 110.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005223/1.847, allocations: 9.828 kB / 0.9674 GB, free: 110.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001996/1.849, allocations: 140.4 kB / 0.9675 GB, free: 110.9 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004336/1.849, allocations: 157.4 kB / 0.9677 GB, free: 110.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002043/1.85, allocations: 68.56 kB / 0.9678 GB, free: 110.9 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.004519/1.854, allocations: 2.853 MB / 0.9706 GB, free: 110.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/1.854, allocations: 0 / 0.9706 GB, free: 110.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006401/1.86, allocations: 1.301 MB / 0.9718 GB, free: 110.7 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (210): * Single equations (assignments): 205 * 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%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004617/1.861, allocations: 161.3 kB / 0.972 GB, free: 110.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009535/1.87, allocations: 7.613 MB / 0.9794 GB, free: 110.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/1.871, allocations: 0 / 0.9794 GB, free: 110.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003877/1.874, allocations: 3.015 MB / 0.9824 GB, free: 110.1 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002711/1.877, allocations: 0.5494 MB / 0.9829 GB, free: 110.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02036/1.898, allocations: 11.8 MB / 0.9944 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005032/1.903, allocations: 4.743 MB / 0.999 GB, free: 107 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00623/1.909, allocations: 2.642 MB / 1.002 GB, free: 107 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/1.91, allocations: 330.2 kB / 1.002 GB, free: 107 MB / 0.5417 GB Notification: Performance of SimCode: time 1.182e-06/1.91, allocations: 0 / 1.002 GB, free: 107 MB / 0.5417 GB Notification: Performance of Templates: time 0.08083/1.991, allocations: 48.94 MB / 1.05 GB, free: 99.27 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches