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.001657/0.001657, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001926/0.001926, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, 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.2267/0.2267, allocations: 46.1 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 71.88 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1335, 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.0159/0.1494, allocations: 15.4 MB / 496.9 MB, free: 5.035 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01244/0.1619, allocations: 5.05 MB / 0.4901 GB, free: 15.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003755/0.1657, allocations: 107.7 kB / 0.4902 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008885/0.1746, allocations: 4.992 MB / 0.4951 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007742/0.1825, allocations: 2.509 MB / 0.4976 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003133/0.1856, allocations: 1.24 MB / 0.4988 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3017/0.4873, allocations: 7.949 MB / 0.5065 GB, free: 14.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008525/0.4959, allocations: 5.981 MB / 0.5124 GB, free: 13.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006077/0.502, allocations: 2.515 MB / 0.5148 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007701/0.5098, allocations: 3.449 MB / 0.5182 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003024/0.5128, allocations: 0.5366 MB / 0.5187 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005832/0.5187, allocations: 1.55 MB / 0.5202 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005856/0.5246, allocations: 3.133 MB / 0.5233 GB, free: 13.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007156/0.5318, allocations: 3.477 MB / 0.5267 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01413/0.5459, allocations: 10.83 MB / 0.5373 GB, free: 5.539 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.546, allocations: 0 / 0.5373 GB, free: 5.539 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.546, allocations: 0 / 0.5373 GB, free: 5.539 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004532/0.5464, allocations: 3.625 kB / 0.5373 GB, free: 5.539 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.02119/0.5676, allocations: 7.527 MB / 0.5446 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.5677, allocations: 9.062 kB / 0.5446 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01458/0.5823, allocations: 3.066 MB / 0.5476 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01457/0.5969, allocations: 4.829 MB / 0.5524 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003442/0.5973, allocations: 359.1 kB / 0.5527 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002259/0.5995, allocations: 495.3 kB / 0.5532 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02792/0.6275, allocations: 14.29 MB / 0.5671 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002844/0.6278, allocations: 76.2 kB / 0.5672 GB, free: 9.984 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007143/0.6285, allocations: 235.1 kB / 0.5674 GB, free: 9.801 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004327/0.6329, allocations: 2.537 MB / 0.5699 GB, free: 7.301 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02389/0.6568, allocations: 11.83 MB / 0.5815 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07121/0.728, allocations: 55.88 MB / 0.636 GB, free: 3.129 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01149/0.7396, allocations: 4.649 MB / 0.6406 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003958/0.7436, allocations: 2.904 MB / 0.6434 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001586/0.7437, allocations: 34.67 kB / 0.6434 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.853e-05/0.7438, allocations: 59.22 kB / 0.6435 GB, free: 11.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=186): time 5.11e-06/0.7438, allocations: 0 / 0.6435 GB, free: 11.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=204): time 0.05887/0.8027, allocations: 23.11 MB / 0.6661 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/0.8029, allocations: 256 kB / 0.6663 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01023/0.8131, allocations: 6.678 MB / 0.6728 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006953/0.8138, allocations: 49.7 kB / 0.6729 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003731/0.8176, allocations: 4.486 MB / 0.6773 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001249/0.8189, allocations: 0.8236 MB / 0.6781 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002399/0.8213, allocations: 1.665 MB / 0.6797 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.8214, allocations: 305.1 kB / 0.68 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004211/0.8256, allocations: 2.897 MB / 0.6828 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008181/0.8338, allocations: 7.786 MB / 0.6904 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01444/0.8483, allocations: 11.44 MB / 0.7016 GB, free: 11.19 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001632/0.8485, allocations: 48 kB / 0.7016 GB, free: 11.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=1053) (initialization): time 0.3002/1.149, allocations: 11.9 MB / 0.7132 GB, free: 177.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001565/1.149, allocations: 81.5 kB / 0.7133 GB, free: 177.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003101/1.149, allocations: 176.7 kB / 0.7135 GB, free: 177.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00543/1.155, allocations: 1.77 MB / 0.7152 GB, free: 177.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006575/1.161, allocations: 1.836 MB / 0.717 GB, free: 177.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01436/1.176, allocations: 12.61 MB / 0.7293 GB, free: 171.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007276/1.183, allocations: 454.8 kB / 0.7298 GB, free: 171.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001545/1.184, allocations: 493.5 kB / 0.7302 GB, free: 171.7 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.005635/1.19, allocations: 2.968 MB / 0.7331 GB, free: 170.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001216/1.191, allocations: 0.5363 MB / 0.7337 GB, free: 170.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008805/1.2, allocations: 4.862 MB / 0.7384 GB, free: 169 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.26e-05/1.2, allocations: 25.39 kB / 0.7384 GB, free: 169 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-05/1.2, allocations: 8.531 kB / 0.7384 GB, free: 169 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.446e-05/1.2, allocations: 11.66 kB / 0.7384 GB, free: 169 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01916/1.219, allocations: 11.07 MB / 0.7493 GB, free: 165.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/1.22, allocations: 0 / 0.7493 GB, free: 165.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/1.221, allocations: 325.4 kB / 0.7496 GB, free: 165.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003501/1.224, allocations: 1.501 MB / 0.751 GB, free: 165 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002/1.225, allocations: 27.84 kB / 0.7511 GB, free: 165 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01111/1.236, allocations: 11.7 MB / 0.7625 GB, free: 157.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/1.236, allocations: 14.73 kB / 0.7625 GB, free: 157.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01073/1.247, allocations: 7.963 MB / 0.7703 GB, free: 153.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001912/1.249, allocations: 0.6079 MB / 0.7709 GB, free: 152.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008916/1.249, allocations: 37.27 kB / 0.7709 GB, free: 152.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002004/1.251, allocations: 143.8 kB / 0.771 GB, free: 152.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004104/1.252, allocations: 117.3 kB / 0.7712 GB, free: 152.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/1.252, allocations: 57.62 kB / 0.7712 GB, free: 152.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00592/1.258, allocations: 4.252 MB / 0.7754 GB, free: 148.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.51e-07/1.258, allocations: 3.781 kB / 0.7754 GB, free: 148.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007412/1.265, allocations: 1.453 MB / 0.7768 GB, free: 146.7 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.0005211/1.266, allocations: 164.9 kB / 0.7769 GB, free: 146.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009156/1.275, allocations: 7.105 MB / 0.7839 GB, free: 139.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/1.275, allocations: 0 / 0.7839 GB, free: 139.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002607/1.278, allocations: 2.284 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.004083/1.282, allocations: 0.7605 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.01957/1.301, allocations: 13.55 MB / 0.8001 GB, free: 123.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004431/1.306, allocations: 4.531 MB / 0.8045 GB, free: 118.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004827/1.311, allocations: 2.483 MB / 0.8069 GB, free: 116 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009637/1.312, allocations: 343.4 kB / 0.8073 GB, free: 115.7 MB / 0.545 GB Notification: Performance of SimCode: time 8.21e-07/1.312, allocations: 0 / 0.8073 GB, free: 115.7 MB / 0.545 GB Notification: Performance of Templates: time 0.08177/1.394, allocations: 50.68 MB / 0.8567 GB, free: 65.39 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 cvode -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