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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001716/0.001716, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001805/0.001805, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 246.8 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2253/0.2253, allocations: 46.12 MB / 344.2 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 80.02 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1457, allocations: 62.46 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.01674/0.1625, allocations: 14.54 MB / 494.7 MB, free: 6.574 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.1733, allocations: 4.929 MB / 499.6 MB, free: 1.629 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003259/0.1766, allocations: 95.75 kB / 499.7 MB, free: 1.535 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009484/0.1861, allocations: 4.735 MB / 0.4926 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008595/0.1948, allocations: 2.385 MB / 0.4949 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003302/0.1981, allocations: 1.143 MB / 0.496 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01141/0.2095, allocations: 6.708 MB / 0.5026 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2816/0.4911, allocations: 5.746 MB / 0.5082 GB, free: 13.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006917/0.4981, allocations: 2.323 MB / 0.5105 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006409/0.5046, allocations: 3.099 MB / 0.5135 GB, free: 12.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002408/0.507, allocations: 0.4965 MB / 0.514 GB, free: 12.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004897/0.5119, allocations: 1.522 MB / 0.5155 GB, free: 12.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00469/0.5166, allocations: 2.863 MB / 0.5183 GB, free: 12.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007737/0.5244, allocations: 3.255 MB / 0.5214 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01473/0.5391, allocations: 9.919 MB / 0.5311 GB, free: 7.977 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.5392, allocations: 4 kB / 0.5311 GB, free: 7.973 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.5392, allocations: 0 / 0.5311 GB, free: 7.973 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004093/0.5396, allocations: 0 / 0.5311 GB, free: 7.973 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2099 * Number of variables: 2099 Notification: Performance of Generate backend data structure: time 0.0236/0.5632, allocations: 7.184 MB / 0.5381 GB, free: 3.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.5633, allocations: 10.83 kB / 0.5382 GB, free: 3.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01314/0.5764, allocations: 2.649 MB / 0.5407 GB, free: 1.828 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01203/0.5885, allocations: 4.096 MB / 0.5447 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000546/0.5891, allocations: 352 kB / 0.5451 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004042/0.5932, allocations: 476.4 kB / 0.5455 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04249/0.6357, allocations: 14.49 MB / 0.5597 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004415/0.6362, allocations: 64.03 kB / 0.5597 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002618/0.6388, allocations: 216.9 kB / 0.56 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006017/0.6449, allocations: 2.65 MB / 0.5625 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03158/0.6765, allocations: 12.37 MB / 0.5746 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09175/0.7683, allocations: 55.58 MB / 0.6289 GB, free: 9.34 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01769/0.786, allocations: 5.801 MB / 0.6346 GB, free: 3.391 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005956/0.792, allocations: 3.641 MB / 0.6381 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01795/0.81, allocations: 8.152 MB / 0.6461 GB, free: 7.539 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001124/0.8102, allocations: 66.94 kB / 0.6461 GB, free: 7.469 MB / 494.1 MB Notification: Performance of pre-optimization done (n=227): time 5.641e-06/0.8102, allocations: 0 / 0.6461 GB, free: 7.469 MB / 494.1 MB Notification: Performance of matching and sorting (n=269): time 0.09886/0.909, allocations: 30.88 MB / 0.6763 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001498/0.9092, allocations: 238.2 kB / 0.6765 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01276/0.922, allocations: 6.322 MB / 0.6827 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001235/0.9233, allocations: 65.7 kB / 0.6828 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.005393/0.9287, allocations: 4.192 MB / 0.6869 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002605/0.9313, allocations: 1.029 MB / 0.6879 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003703/0.935, allocations: 1.673 MB / 0.6895 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.9352, allocations: 305.1 kB / 0.6898 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006211/0.9415, allocations: 3.436 MB / 0.6931 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0117/0.9532, allocations: 8.075 MB / 0.701 GB, free: 12.83 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3287/1.282, allocations: 12.35 MB / 0.7131 GB, free: 181.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001684/1.282, allocations: 46.44 kB / 0.7131 GB, free: 181.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=1063) (initialization): time 0.03442/1.317, allocations: 13.34 MB / 0.7262 GB, free: 179 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001774/1.317, allocations: 76.44 kB / 0.7262 GB, free: 179 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003901/1.317, allocations: 162 kB / 0.7264 GB, free: 179 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007307/1.325, allocations: 2.274 MB / 0.7286 GB, free: 178.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007183/1.332, allocations: 1.856 MB / 0.7304 GB, free: 178.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01689/1.349, allocations: 14.39 MB / 0.7445 GB, free: 171.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008383/1.357, allocations: 478.2 kB / 0.7449 GB, free: 171 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001769/1.359, allocations: 488.2 kB / 0.7454 GB, free: 170.9 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 738 * Number of states: 0 () * Number of discrete variables: 65 (frameTorque2.torqueArrow.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,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.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (981): * Single equations (assignments): 974 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006046/1.365, allocations: 2.884 MB / 0.7482 GB, free: 169.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001334/1.366, allocations: 0.5239 MB / 0.7487 GB, free: 169.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01169/1.378, allocations: 6.991 MB / 0.7555 GB, free: 167.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.601e-05/1.378, allocations: 33.03 kB / 0.7556 GB, free: 167.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-05/1.378, allocations: 11.84 kB / 0.7556 GB, free: 167.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.167e-05/1.378, allocations: 11.34 kB / 0.7556 GB, free: 167.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02823/1.406, allocations: 14.44 MB / 0.7697 GB, free: 155.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.639e-05/1.406, allocations: 4.281 kB / 0.7697 GB, free: 155.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002234/1.409, allocations: 443.3 kB / 0.7701 GB, free: 154.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005095/1.414, allocations: 2.042 MB / 0.7721 GB, free: 152.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006027/1.414, allocations: 49.48 kB / 0.7722 GB, free: 152.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01552/1.43, allocations: 13.72 MB / 0.7856 GB, free: 138.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/1.43, allocations: 11.19 kB / 0.7856 GB, free: 138.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01797/1.448, allocations: 11.04 MB / 0.7964 GB, free: 127.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00233/1.45, allocations: 0.6035 MB / 0.797 GB, free: 127.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002209/1.453, allocations: 45.72 kB / 0.797 GB, free: 127.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003783/1.456, allocations: 195.7 kB / 0.7972 GB, free: 126.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008296/1.457, allocations: 161.7 kB / 0.7973 GB, free: 126.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004373/1.458, allocations: 72 kB / 0.7974 GB, free: 126.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008703/1.466, allocations: 4.057 MB / 0.8014 GB, free: 122.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.21e-07/1.466, allocations: 0 / 0.8014 GB, free: 122.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009963/1.476, allocations: 1.524 MB / 0.8029 GB, free: 121.1 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (211): * Single equations (assignments): 206 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,17,72.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001011/1.477, allocations: 186.5 kB / 0.803 GB, free: 120.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01525/1.493, allocations: 9.92 MB / 0.8127 GB, free: 111.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/1.493, allocations: 4.188 kB / 0.8127 GB, free: 111.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006571/1.499, allocations: 3.479 MB / 0.8161 GB, free: 107.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005645/1.505, allocations: 0.7227 MB / 0.8168 GB, free: 106.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02703/1.532, allocations: 14.43 MB / 0.8309 GB, free: 92.37 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006036/1.538, allocations: 4.431 MB / 0.8352 GB, free: 87.89 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006809/1.545, allocations: 2.604 MB / 0.8378 GB, free: 85.29 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001464/1.546, allocations: 363.4 kB / 0.8381 GB, free: 84.93 MB / 0.545 GB Notification: Performance of SimCode: time 2.815e-06/1.546, allocations: 0 / 0.8381 GB, free: 84.93 MB / 0.545 GB Notification: Performance of Templates: time 0.1215/1.668, allocations: 65.22 MB / 0.9018 GB, free: 19.96 MB / 0.545 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches