Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,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.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,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.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001329/0.001329, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001271/0.001271, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2074/0.2074, allocations: 46.11 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 75.88 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1259, allocations: 62.43 MB / 481.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.01733/0.1432, allocations: 17.85 MB / 499.3 MB, free: 2.637 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01159/0.1549, allocations: 5.626 MB / 0.4931 GB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003675/0.1586, allocations: 127.6 kB / 0.4932 GB, free: 12.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01187/0.1705, allocations: 6.273 MB / 0.4993 GB, free: 6.574 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008316/0.1789, allocations: 2.879 MB / 0.5021 GB, free: 3.684 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004235/0.1831, allocations: 1.599 MB / 0.5037 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2652/0.4484, allocations: 9.856 MB / 0.5133 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01288/0.4613, allocations: 7.993 MB / 0.5211 GB, free: 12.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00848/0.4698, allocations: 3.113 MB / 0.5242 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00853/0.4784, allocations: 4.224 MB / 0.5283 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003609/0.482, allocations: 0.6856 MB / 0.529 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007004/0.4891, allocations: 1.688 MB / 0.5306 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006826/0.4959, allocations: 3.822 MB / 0.5343 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007517/0.5035, allocations: 4.201 MB / 0.5384 GB, free: 5.867 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01395/0.5175, allocations: 12.98 MB / 0.5511 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.5175, allocations: 0 / 0.5511 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.5175, allocations: 0 / 0.5511 GB, free: 10.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004624/0.518, allocations: 0 / 0.5511 GB, free: 10.68 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.02275/0.5407, allocations: 9.034 MB / 0.5599 GB, free: 1.711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.5408, allocations: 8.031 kB / 0.56 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01666/0.5575, allocations: 3.499 MB / 0.5634 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01557/0.5731, allocations: 6.015 MB / 0.5692 GB, free: 8.398 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004206/0.5735, allocations: 450.9 kB / 0.5697 GB, free: 8.008 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002494/0.5761, allocations: 0.5962 MB / 0.5703 GB, free: 7.461 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03521/0.6113, allocations: 17.11 MB / 0.587 GB, free: 5.582 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002855/0.6116, allocations: 89.23 kB / 0.5871 GB, free: 5.523 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008569/0.6125, allocations: 276.2 kB / 0.5873 GB, free: 5.301 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004725/0.6172, allocations: 2.894 MB / 0.5901 GB, free: 2.445 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03186/0.6491, allocations: 14.33 MB / 0.6041 GB, free: 4.367 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09098/0.7401, allocations: 64.41 MB / 0.667 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01815/0.7583, allocations: 6.606 MB / 0.6735 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00502/0.7633, allocations: 3.897 MB / 0.6773 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007355/0.7641, allocations: 0.6529 MB / 0.6779 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/0.7642, allocations: 56.16 kB / 0.678 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=231): time 6.452e-06/0.7642, allocations: 0 / 0.678 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of matching and sorting (n=255): time 0.08219/0.8464, allocations: 31.31 MB / 0.7086 GB, free: 8.031 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000166/0.8466, allocations: 291 kB / 0.7088 GB, free: 7.688 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01079/0.8574, allocations: 7.315 MB / 0.716 GB, free: 396 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005613/0.8579, allocations: 68.83 kB / 0.716 GB, free: 324 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.3425/1.2, allocations: 5.08 MB / 0.721 GB, free: 186.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001513/1.202, allocations: 0.999 MB / 0.722 GB, free: 185.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003099/1.205, allocations: 1.841 MB / 0.7238 GB, free: 184.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.674e-05/1.205, allocations: 303.2 kB / 0.7241 GB, free: 184.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005361/1.211, allocations: 3.426 MB / 0.7274 GB, free: 183.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008301/1.219, allocations: 8.619 MB / 0.7358 GB, free: 175.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01289/1.232, allocations: 12.84 MB / 0.7484 GB, free: 164.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003445/1.232, allocations: 52.06 kB / 0.7484 GB, free: 164.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=1166) (initialization): time 0.02189/1.254, allocations: 13.84 MB / 0.7619 GB, free: 159.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/1.254, allocations: 86.47 kB / 0.762 GB, free: 159.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001472/1.254, allocations: 185.3 kB / 0.7622 GB, free: 159.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004794/1.259, allocations: 2.302 MB / 0.7645 GB, free: 159.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005618/1.265, allocations: 2.033 MB / 0.7664 GB, free: 159.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01511/1.28, allocations: 16.7 MB / 0.7827 GB, free: 144.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007696/1.288, allocations: 0.4994 MB / 0.7832 GB, free: 143.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001096/1.289, allocations: 0.5156 MB / 0.7837 GB, free: 143.4 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 827 * Number of states: 0 () * Number of discrete variables: 74 (frameTorque4.arrow.twoHeadedArrow,frameTorque4.arrow.headAtOrigin,frameTorque3.arrow.twoHeadedArrow,frameTorque3.arrow.headAtOrigin,frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[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 (1086): * Single equations (assignments): 1079 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,14,100.0%), (1,14,100.0%), (1,14,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004441/1.293, allocations: 3.408 MB / 0.7871 GB, free: 140 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009696/1.294, allocations: 0.6055 MB / 0.7877 GB, free: 139.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00913/1.303, allocations: 6.453 MB / 0.794 GB, free: 132.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.912e-05/1.303, allocations: 31.94 kB / 0.794 GB, free: 132.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.911e-05/1.303, allocations: 8 kB / 0.794 GB, free: 132.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.876e-05/1.303, allocations: 15.95 kB / 0.794 GB, free: 132.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02045/1.324, allocations: 14.3 MB / 0.808 GB, free: 118.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/1.324, allocations: 0 / 0.808 GB, free: 118.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001713/1.326, allocations: 399.4 kB / 0.8084 GB, free: 118.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004376/1.33, allocations: 1.995 MB / 0.8103 GB, free: 116.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003035/1.33, allocations: 43.98 kB / 0.8103 GB, free: 116.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0136/1.344, allocations: 15.64 MB / 0.8256 GB, free: 99.88 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.344, allocations: 4.031 kB / 0.8256 GB, free: 99.87 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01292/1.357, allocations: 10.13 MB / 0.8355 GB, free: 89.65 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00179/1.359, allocations: 0.6766 MB / 0.8362 GB, free: 88.95 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007561/1.36, allocations: 45.25 kB / 0.8362 GB, free: 88.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002198/1.362, allocations: 171.8 kB / 0.8364 GB, free: 88.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004722/1.362, allocations: 161.7 kB / 0.8365 GB, free: 88.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001821/1.362, allocations: 73.55 kB / 0.8366 GB, free: 88.51 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005506/1.368, allocations: 4.659 MB / 0.8412 GB, free: 83.88 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/1.368, allocations: 0 / 0.8412 GB, free: 83.88 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00725/1.375, allocations: 1.737 MB / 0.8429 GB, free: 82.14 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (195): * Single equations (assignments): 188 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,11,100.0%), (1,11,100.0%), (1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004889/1.376, allocations: 181.2 kB / 0.843 GB, free: 81.96 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009818/1.386, allocations: 8.502 MB / 0.8513 GB, free: 73.46 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.386, allocations: 4.688 kB / 0.8513 GB, free: 73.45 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002944/1.389, allocations: 2.934 MB / 0.8542 GB, free: 70.48 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004331/1.393, allocations: 0.9137 MB / 0.8551 GB, free: 69.58 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02466/1.418, allocations: 16.12 MB / 0.8708 GB, free: 53.44 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00533/1.423, allocations: 5.238 MB / 0.8759 GB, free: 48.16 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005036/1.428, allocations: 2.681 MB / 0.8786 GB, free: 45.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/1.429, allocations: 391.4 kB / 0.8789 GB, free: 45.09 MB / 0.545 GB Notification: Performance of SimCode: time 1.032e-06/1.429, allocations: 0 / 0.8789 GB, free: 45.09 MB / 0.545 GB Notification: Performance of Templates: time 0.2945/1.724, allocations: 63.44 MB / 0.9409 GB, free: 164.3 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques2/FrameTorques2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches