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.001623/0.001623, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002017/0.002017, allocations: 212 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 247.4 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2317/0.2317, allocations: 46.09 MB / 344.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 76.53 kB / 418.3 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1175, allocations: 62.44 MB / 480.7 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.01647/0.1341, allocations: 14.55 MB / 495.2 MB, free: 6.691 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.145, allocations: 4.917 MB / 0.4884 GB, free: 1.758 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002734/0.1478, allocations: 99.75 kB / 0.4885 GB, free: 1.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009144/0.157, allocations: 4.743 MB / 0.4932 GB, free: 12.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007073/0.1641, allocations: 2.381 MB / 0.4955 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003088/0.1673, allocations: 1.135 MB / 0.4966 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009955/0.1772, allocations: 6.719 MB / 0.5032 GB, free: 2.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2264/0.4037, allocations: 5.747 MB / 0.5088 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005589/0.4093, allocations: 2.331 MB / 0.511 GB, free: 13.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005958/0.4153, allocations: 3.089 MB / 0.5141 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002199/0.4175, allocations: 0.4973 MB / 0.5145 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004329/0.4219, allocations: 1.523 MB / 0.516 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004625/0.4265, allocations: 2.869 MB / 0.5188 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007162/0.4337, allocations: 3.253 MB / 0.522 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01399/0.4477, allocations: 9.922 MB / 0.5317 GB, free: 8.082 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.4478, allocations: 0 / 0.5317 GB, free: 8.082 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4478, allocations: 0 / 0.5317 GB, free: 8.082 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000474/0.4483, allocations: 0 / 0.5317 GB, free: 8.082 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.0215/0.4698, allocations: 7.18 MB / 0.5387 GB, free: 3.309 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.4699, allocations: 10.92 kB / 0.5387 GB, free: 3.309 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01288/0.4828, allocations: 2.653 MB / 0.5413 GB, free: 1.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009161/0.492, allocations: 4.103 MB / 0.5453 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002686/0.4923, allocations: 347.8 kB / 0.5457 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00181/0.4941, allocations: 476.6 kB / 0.5461 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03218/0.5263, allocations: 14.49 MB / 0.5603 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003652/0.5267, allocations: 65.31 kB / 0.5603 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002167/0.5289, allocations: 223.4 kB / 0.5605 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005207/0.5341, allocations: 2.636 MB / 0.5631 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03047/0.5646, allocations: 12.37 MB / 0.5752 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08088/0.6456, allocations: 55.58 MB / 0.6295 GB, free: 9.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01678/0.6624, allocations: 5.802 MB / 0.6351 GB, free: 3.551 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005093/0.6675, allocations: 3.639 MB / 0.6387 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01655/0.6841, allocations: 8.143 MB / 0.6466 GB, free: 7.707 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.629e-05/0.6842, allocations: 62.84 kB / 0.6467 GB, free: 7.641 MB / 494.1 MB Notification: Performance of pre-optimization done (n=227): time 7.134e-06/0.6843, allocations: 0 / 0.6467 GB, free: 7.641 MB / 494.1 MB Notification: Performance of matching and sorting (n=269): time 0.095/0.7793, allocations: 30.9 MB / 0.6769 GB, free: 8.582 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.7795, allocations: 238.2 kB / 0.6771 GB, free: 8.305 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01328/0.7928, allocations: 6.314 MB / 0.6833 GB, free: 1.977 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0008322/0.7936, allocations: 65.7 kB / 0.6833 GB, free: 1.906 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.004169/0.7978, allocations: 4.198 MB / 0.6874 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001856/0.7997, allocations: 1.021 MB / 0.6884 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006077/0.8058, allocations: 1.676 MB / 0.6901 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.949e-05/0.806, allocations: 301.1 kB / 0.6903 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006693/0.8127, allocations: 3.436 MB / 0.6937 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01065/0.8234, allocations: 8.075 MB / 0.7016 GB, free: 12.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2629/1.086, allocations: 12.35 MB / 0.7136 GB, free: 182 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002567/1.087, allocations: 46.06 kB / 0.7137 GB, free: 182 MB / 0.545 GB Notification: Performance of matching and sorting (n=1063) (initialization): time 0.03132/1.118, allocations: 13.34 MB / 0.7267 GB, free: 179.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002704/1.118, allocations: 74.69 kB / 0.7268 GB, free: 179.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004743/1.119, allocations: 162.4 kB / 0.7269 GB, free: 179.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007429/1.126, allocations: 2.271 MB / 0.7292 GB, free: 178.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007201/1.133, allocations: 1.856 MB / 0.731 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01826/1.152, allocations: 14.4 MB / 0.745 GB, free: 171.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008293/1.16, allocations: 476.4 kB / 0.7455 GB, free: 171.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002172/1.162, allocations: 487 kB / 0.746 GB, free: 171 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.00866/1.171, allocations: 2.89 MB / 0.7488 GB, free: 169.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002276/1.173, allocations: 0.5236 MB / 0.7493 GB, free: 169.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01506/1.188, allocations: 6.993 MB / 0.7561 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-05/1.188, allocations: 27.69 kB / 0.7561 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.892e-05/1.189, allocations: 7.875 kB / 0.7562 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.027e-05/1.189, allocations: 15.19 kB / 0.7562 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03132/1.22, allocations: 14.45 MB / 0.7703 GB, free: 155.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-05/1.22, allocations: 4 kB / 0.7703 GB, free: 155.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002429/1.222, allocations: 444.3 kB / 0.7707 GB, free: 155.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005335/1.228, allocations: 2.042 MB / 0.7727 GB, free: 153 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007132/1.229, allocations: 48 kB / 0.7727 GB, free: 153 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01649/1.245, allocations: 13.71 MB / 0.7861 GB, free: 139.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/1.245, allocations: 7.938 kB / 0.7861 GB, free: 139.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01883/1.264, allocations: 11.05 MB / 0.7969 GB, free: 128.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002092/1.266, allocations: 0.6107 MB / 0.7975 GB, free: 127.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002575/1.269, allocations: 44 kB / 0.7976 GB, free: 127.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004504/1.273, allocations: 195.7 kB / 0.7978 GB, free: 127.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001298/1.275, allocations: 161.7 kB / 0.7979 GB, free: 127.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007517/1.275, allocations: 69.33 kB / 0.798 GB, free: 127 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008796/1.284, allocations: 4.057 MB / 0.8019 GB, free: 122.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.744e-06/1.284, allocations: 0 / 0.8019 GB, free: 122.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01008/1.294, allocations: 1.524 MB / 0.8034 GB, free: 121.4 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.001267/1.296, allocations: 187.1 kB / 0.8036 GB, free: 121.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01715/1.313, allocations: 9.907 MB / 0.8133 GB, free: 111.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.446e-05/1.313, allocations: 2.734 kB / 0.8133 GB, free: 111.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00816/1.321, allocations: 3.487 MB / 0.8167 GB, free: 107.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00815/1.329, allocations: 0.717 MB / 0.8174 GB, free: 107.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03045/1.36, allocations: 15 MB / 0.832 GB, free: 92.08 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008264/1.368, allocations: 4.411 MB / 0.8363 GB, free: 87.62 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00224/1.37, allocations: 415.4 kB / 0.8367 GB, free: 87.22 MB / 0.545 GB Notification: Performance of SimCode: time 9.52e-07/1.37, allocations: 4 kB / 0.8367 GB, free: 87.21 MB / 0.545 GB Notification: Performance of Templates: time 0.4161/1.786, allocations: 138.3 MB / 0.9718 GB, free: 144.8 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches