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.001488/0.001488, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001691/0.001691, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2071/0.2071, allocations: 46.09 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 78.67 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1076, allocations: 62.45 MB / 481.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.01481/0.1224, allocations: 15.4 MB / 496.9 MB, free: 5.035 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009496/0.132, allocations: 5.053 MB / 0.4902 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002496/0.1345, allocations: 107.7 kB / 0.4903 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008646/0.1432, allocations: 4.992 MB / 0.4951 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007561/0.1508, allocations: 2.505 MB / 0.4976 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003282/0.1541, allocations: 1.24 MB / 0.4988 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2047/0.3588, allocations: 7.952 MB / 0.5066 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006449/0.3653, allocations: 5.976 MB / 0.5124 GB, free: 13.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003896/0.3692, allocations: 2.518 MB / 0.5148 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005299/0.3745, allocations: 3.448 MB / 0.5182 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002119/0.3767, allocations: 0.5361 MB / 0.5187 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003822/0.3805, allocations: 1.546 MB / 0.5203 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003967/0.3845, allocations: 3.138 MB / 0.5233 GB, free: 13.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007712/0.3922, allocations: 3.478 MB / 0.5267 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01088/0.4031, allocations: 10.82 MB / 0.5373 GB, free: 5.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.4032, allocations: 0 / 0.5373 GB, free: 5.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4032, allocations: 0 / 0.5373 GB, free: 5.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002597/0.4034, allocations: 0 / 0.5373 GB, free: 5.562 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: 2128 * Number of variables: 2128 Notification: Performance of Generate backend data structure: time 0.01431/0.4178, allocations: 7.54 MB / 0.5446 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.4178, allocations: 9 kB / 0.5447 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01365/0.4315, allocations: 3.072 MB / 0.5477 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/0.4424, allocations: 4.825 MB / 0.5524 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000275/0.4427, allocations: 365.2 kB / 0.5527 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001462/0.4442, allocations: 488.9 kB / 0.5532 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02414/0.4684, allocations: 14.3 MB / 0.5671 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000179/0.4686, allocations: 68.41 kB / 0.5672 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000547/0.4691, allocations: 230.4 kB / 0.5674 GB, free: 9.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003877/0.473, allocations: 2.536 MB / 0.5699 GB, free: 7.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02241/0.4954, allocations: 11.84 MB / 0.5815 GB, free: 11.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06604/0.5615, allocations: 55.87 MB / 0.636 GB, free: 3.137 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01196/0.5735, allocations: 4.644 MB / 0.6406 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003805/0.5773, allocations: 2.902 MB / 0.6434 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001269/0.5775, allocations: 36.88 kB / 0.6434 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.779e-05/0.5775, allocations: 62.45 kB / 0.6435 GB, free: 11.33 MB / 494.1 MB Notification: Performance of pre-optimization done (n=186): time 4.108e-06/0.5775, allocations: 0 / 0.6435 GB, free: 11.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=204): time 0.0607/0.6382, allocations: 23.11 MB / 0.6661 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.6384, allocations: 259.6 kB / 0.6663 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01006/0.6485, allocations: 6.667 MB / 0.6728 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005088/0.649, allocations: 57.7 kB / 0.6729 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003374/0.6524, allocations: 4.488 MB / 0.6773 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001102/0.6535, allocations: 0.8242 MB / 0.6781 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00221/0.6557, allocations: 1.661 MB / 0.6797 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.6558, allocations: 313 kB / 0.68 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004235/0.6601, allocations: 2.893 MB / 0.6828 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007607/0.6677, allocations: 7.787 MB / 0.6904 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01347/0.6812, allocations: 11.43 MB / 0.7016 GB, free: 11.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001703/0.6814, allocations: 52 kB / 0.7016 GB, free: 11.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=1053) (initialization): time 0.2354/0.9168, allocations: 11.9 MB / 0.7132 GB, free: 177.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001314/0.917, allocations: 78.88 kB / 0.7133 GB, free: 177.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002478/0.9172, allocations: 175 kB / 0.7135 GB, free: 177.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004701/0.9219, allocations: 1.772 MB / 0.7152 GB, free: 177.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005875/0.9278, allocations: 1.838 MB / 0.717 GB, free: 177.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01321/0.9411, allocations: 12.6 MB / 0.7293 GB, free: 171.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006373/0.9474, allocations: 461.5 kB / 0.7298 GB, free: 171.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001301/0.9488, allocations: 492.5 kB / 0.7302 GB, free: 171.5 MB / 0.545 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.005227/0.954, allocations: 2.967 MB / 0.7331 GB, free: 170.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001087/0.9551, allocations: 0.5407 MB / 0.7337 GB, free: 170.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008276/0.9634, allocations: 4.86 MB / 0.7384 GB, free: 168.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.5e-05/0.9634, allocations: 22.88 kB / 0.7384 GB, free: 168.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-05/0.9635, allocations: 12.12 kB / 0.7384 GB, free: 168.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.298e-05/0.9635, allocations: 11.75 kB / 0.7385 GB, free: 168.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01679/0.9803, allocations: 11.07 MB / 0.7493 GB, free: 165.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.9803, allocations: 3.719 kB / 0.7493 GB, free: 165.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/0.9817, allocations: 322.9 kB / 0.7496 GB, free: 165.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003623/0.9854, allocations: 1.499 MB / 0.751 GB, free: 164.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001822/0.9856, allocations: 37.7 kB / 0.7511 GB, free: 164.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01041/0.996, allocations: 11.7 MB / 0.7625 GB, free: 157.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.996, allocations: 7.031 kB / 0.7625 GB, free: 157.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009982/1.006, allocations: 7.97 MB / 0.7703 GB, free: 153.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001688/1.008, allocations: 0.6035 MB / 0.7709 GB, free: 152.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005759/1.008, allocations: 31.94 kB / 0.7709 GB, free: 152.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001826/1.01, allocations: 143.8 kB / 0.771 GB, free: 152.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003873/1.011, allocations: 117.8 kB / 0.7712 GB, free: 152.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001494/1.011, allocations: 60.67 kB / 0.7712 GB, free: 152.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005546/1.016, allocations: 4.253 MB / 0.7754 GB, free: 148.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.01e-07/1.016, allocations: 3.562 kB / 0.7754 GB, free: 148.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006426/1.023, allocations: 1.45 MB / 0.7768 GB, free: 146.6 MB / 0.545 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.0003982/1.023, allocations: 179.2 kB / 0.777 GB, free: 146.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008358/1.031, allocations: 7.097 MB / 0.7839 GB, free: 139.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/1.031, allocations: 0 / 0.7839 GB, free: 139.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002399/1.034, allocations: 2.277 MB / 0.7861 GB, free: 137.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003678/1.038, allocations: 0.7657 MB / 0.7869 GB, free: 136.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01798/1.056, allocations: 13.55 MB / 0.8001 GB, free: 123 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003854/1.059, allocations: 4.528 MB / 0.8045 GB, free: 118.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004712/1.064, allocations: 2.476 MB / 0.8069 GB, free: 116 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/1.065, allocations: 347.4 kB / 0.8073 GB, free: 115.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.042e-06/1.065, allocations: 0 / 0.8073 GB, free: 115.7 MB / 0.545 GB Notification: Performance of Templates: time 0.07834/1.144, allocations: 50.68 MB / 0.8568 GB, free: 65.36 MB / 0.545 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches