Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.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.WorldTorques,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.WorldTorques") translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,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.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00159/0.00159, allocations: 117.7 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002037/0.002037, allocations: 199.8 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2275/0.2275, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002612/0.002612, allocations: 83.81 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4418/0.4444, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.01961/0.4641, allocations: 15.41 MB / 0.546 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0157/0.4798, allocations: 5.06 MB / 0.551 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004602/0.4845, allocations: 107.7 kB / 0.5511 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009455/0.4939, allocations: 4.988 MB / 0.556 GB, free: 8.094 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009039/0.5031, allocations: 2.505 MB / 0.5584 GB, free: 5.578 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004451/0.5075, allocations: 1.236 MB / 0.5596 GB, free: 4.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01635/0.5239, allocations: 7.965 MB / 0.5674 GB, free: 12.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01057/0.5345, allocations: 5.985 MB / 0.5732 GB, free: 6.285 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005849/0.5404, allocations: 2.523 MB / 0.5757 GB, free: 3.754 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006566/0.547, allocations: 3.458 MB / 0.5791 GB, free: 292 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002484/0.5495, allocations: 0.5352 MB / 0.5796 GB, free: 15.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005169/0.5547, allocations: 1.553 MB / 0.5811 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005514/0.5602, allocations: 3.156 MB / 0.5842 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007981/0.5683, allocations: 3.473 MB / 0.5876 GB, free: 7.539 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.019/0.5873, allocations: 10.83 MB / 0.5982 GB, free: 12.67 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.208e-06/0.5874, allocations: 0 / 0.5982 GB, free: 12.67 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5874, allocations: 0 / 0.5982 GB, free: 12.67 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005175/0.5879, allocations: 0 / 0.5982 GB, free: 12.67 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2128 * Number of variables: 2128 Notification: Performance of Generate backend data structure: time 0.02644/0.6143, allocations: 7.529 MB / 0.6055 GB, free: 5.055 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.341e-05/0.6144, allocations: 8.031 kB / 0.6055 GB, free: 5.047 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01655/0.631, allocations: 3.061 MB / 0.6085 GB, free: 1.973 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0128/0.6438, allocations: 4.833 MB / 0.6132 GB, free: 13.06 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003635/0.6442, allocations: 365.7 kB / 0.6136 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002271/0.6465, allocations: 495.8 kB / 0.6141 GB, free: 12.21 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03134/0.6779, allocations: 14.28 MB / 0.628 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002983/0.6782, allocations: 79.36 kB / 0.6281 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008127/0.679, allocations: 231.8 kB / 0.6283 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005311/0.6844, allocations: 2.539 MB / 0.6308 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02661/0.711, allocations: 11.84 MB / 0.6423 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07406/0.7851, allocations: 55.88 MB / 0.6969 GB, free: 4.867 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0121/0.7972, allocations: 4.636 MB / 0.7014 GB, free: 72 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00409/0.8014, allocations: 2.9 MB / 0.7043 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/0.8015, allocations: 37.58 kB / 0.7043 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.868e-05/0.8016, allocations: 59.5 kB / 0.7044 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=186): time 4.528e-06/0.8016, allocations: 0 / 0.7044 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=204): time 0.4091/1.211, allocations: 23.13 MB / 0.727 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/1.211, allocations: 259.5 kB / 0.7272 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01391/1.225, allocations: 6.67 MB / 0.7337 GB, free: 156 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005977/1.225, allocations: 55.98 kB / 0.7338 GB, free: 156 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003048/1.228, allocations: 4.486 MB / 0.7381 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001352/1.23, allocations: 0.821 MB / 0.7389 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002155/1.232, allocations: 1.663 MB / 0.7406 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.99e-05/1.232, allocations: 312.8 kB / 0.7409 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003509/1.236, allocations: 2.886 MB / 0.7437 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005355/1.241, allocations: 7.795 MB / 0.7513 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0097/1.251, allocations: 11.43 MB / 0.7625 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001396/1.251, allocations: 48 kB / 0.7625 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1053) (initialization): time 0.02076/1.272, allocations: 11.91 MB / 0.7741 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.603e-05/1.272, allocations: 80 kB / 0.7742 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001529/1.272, allocations: 172 kB / 0.7744 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004163/1.276, allocations: 1.776 MB / 0.7761 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005929/1.282, allocations: 1.84 MB / 0.7779 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01298/1.295, allocations: 12.6 MB / 0.7902 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009508/1.305, allocations: 459.1 kB / 0.7907 GB, free: 100.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001676/1.306, allocations: 488 kB / 0.7911 GB, free: 99.59 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 786 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque2.arrow.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque1.arrow.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldTorque3.color[3],worldTorque3.color[2],worldTorque3.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],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.color[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 (987): * Single equations (assignments): 981 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,14,100.0%), (1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005836/1.312, allocations: 2.971 MB / 0.794 GB, free: 96.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001726/1.314, allocations: 0.5361 MB / 0.7945 GB, free: 96.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007845/1.322, allocations: 4.864 MB / 0.7993 GB, free: 91.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.452e-05/1.322, allocations: 24 kB / 0.7993 GB, free: 91.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.932e-05/1.322, allocations: 8 kB / 0.7993 GB, free: 91.15 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-05/1.322, allocations: 11.95 kB / 0.7993 GB, free: 91.14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01979/1.342, allocations: 11.07 MB / 0.8102 GB, free: 80.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.149e-05/1.342, allocations: 0 / 0.8102 GB, free: 80.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/1.343, allocations: 323.5 kB / 0.8105 GB, free: 79.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003725/1.347, allocations: 1.493 MB / 0.8119 GB, free: 78.21 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002544/1.347, allocations: 39.98 kB / 0.812 GB, free: 78.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01092/1.358, allocations: 11.71 MB / 0.8234 GB, free: 66.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.358, allocations: 4.031 kB / 0.8234 GB, free: 66.05 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01145/1.37, allocations: 7.955 MB / 0.8312 GB, free: 58.05 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003137/1.373, allocations: 0.6073 MB / 0.8318 GB, free: 57.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000837/1.374, allocations: 28 kB / 0.8318 GB, free: 57.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002082/1.376, allocations: 151.5 kB / 0.8319 GB, free: 57.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004981/1.376, allocations: 121.3 kB / 0.832 GB, free: 57.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001622/1.376, allocations: 55.98 kB / 0.8321 GB, free: 57.08 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006815/1.383, allocations: 4.253 MB / 0.8363 GB, free: 52.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.01e-07/1.383, allocations: 0 / 0.8363 GB, free: 52.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008324/1.392, allocations: 1.453 MB / 0.8377 GB, free: 51.39 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (153): * Single equations (assignments): 147 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0005322/1.392, allocations: 169.1 kB / 0.8378 GB, free: 51.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009563/1.402, allocations: 7.107 MB / 0.8448 GB, free: 44.12 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/1.402, allocations: 0 / 0.8448 GB, free: 44.12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002676/1.404, allocations: 2.285 MB / 0.847 GB, free: 41.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004469/1.409, allocations: 0.7594 MB / 0.8477 GB, free: 41.05 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01995/1.429, allocations: 13.54 MB / 0.861 GB, free: 27.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00428/1.433, allocations: 4.531 MB / 0.8654 GB, free: 22.92 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005067/1.438, allocations: 2.483 MB / 0.8678 GB, free: 20.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/1.439, allocations: 355.4 kB / 0.8682 GB, free: 20.08 MB / 0.5606 GB Notification: Performance of SimCode: time 1.263e-06/1.439, allocations: 0 / 0.8682 GB, free: 20.08 MB / 0.5606 GB Notification: Performance of Templates: time 0.1034/1.543, allocations: 53.51 MB / 0.9204 GB, free: 14.95 MB / 0.6075 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches