Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.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.WorldForces2,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.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,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.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001473/0.001474, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001931/0.001931, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2353/0.2353, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001738, allocations: 71.36 kB / 417.6 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1601, allocations: 62.44 MB / 480 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01953/0.1797, allocations: 15.41 MB / 495.4 MB, free: 5.781 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01322/0.193, allocations: 5.053 MB / 0.4887 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004467/0.1975, allocations: 103.7 kB / 0.4888 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01052/0.2081, allocations: 5 MB / 0.4937 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009027/0.2172, allocations: 2.505 MB / 0.4962 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003953/0.2212, allocations: 1.244 MB / 0.4974 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3269/0.5481, allocations: 7.915 MB / 0.5051 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01165/0.5598, allocations: 5.965 MB / 0.5109 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007464/0.5673, allocations: 2.496 MB / 0.5134 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00915/0.5765, allocations: 3.426 MB / 0.5167 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002922/0.5795, allocations: 0.5352 MB / 0.5172 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005241/0.5847, allocations: 1.554 MB / 0.5188 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005006/0.5898, allocations: 3.129 MB / 0.5218 GB, free: 12.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006531/0.5963, allocations: 3.456 MB / 0.5252 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01395/0.6103, allocations: 10.49 MB / 0.5354 GB, free: 5.668 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.6103, allocations: 2.531 kB / 0.5354 GB, free: 5.668 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6103, allocations: 0 / 0.5354 GB, free: 5.668 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004562/0.6108, allocations: 0 / 0.5354 GB, free: 5.668 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: 2127 * Number of variables: 2127 Notification: Performance of Generate backend data structure: time 0.01971/0.6305, allocations: 7.494 MB / 0.5428 GB, free: 0.707 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.6306, allocations: 16.62 kB / 0.5428 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01439/0.645, allocations: 3.04 MB / 0.5457 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01276/0.6578, allocations: 4.724 MB / 0.5504 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003546/0.6582, allocations: 356.3 kB / 0.5507 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002309/0.6605, allocations: 495.2 kB / 0.5512 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03559/0.6961, allocations: 14.25 MB / 0.5651 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000527/0.6967, allocations: 78.11 kB / 0.5652 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002555/0.6992, allocations: 229.2 kB / 0.5654 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005183/0.7044, allocations: 2.535 MB / 0.5679 GB, free: 8.363 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02899/0.7335, allocations: 11.78 MB / 0.5794 GB, free: 12.83 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08747/0.821, allocations: 55.91 MB / 0.634 GB, free: 4.207 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01279/0.8338, allocations: 4.683 MB / 0.6385 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004459/0.8383, allocations: 2.936 MB / 0.6414 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001947/0.8385, allocations: 42.94 kB / 0.6414 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.853e-05/0.8386, allocations: 62.5 kB / 0.6415 GB, free: 12.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=190): time 5.421e-06/0.8386, allocations: 0 / 0.6415 GB, free: 12.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=208): time 0.06821/0.9068, allocations: 23.21 MB / 0.6642 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001595/0.907, allocations: 260.7 kB / 0.6644 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01459/0.9216, allocations: 6.705 MB / 0.671 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000547/0.9222, allocations: 53.7 kB / 0.671 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00405/0.9263, allocations: 4.464 MB / 0.6754 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001392/0.9277, allocations: 0.8316 MB / 0.6762 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00436/0.9321, allocations: 1.675 MB / 0.6778 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.9322, allocations: 305.1 kB / 0.6781 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005517/0.9378, allocations: 2.888 MB / 0.6809 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008831/0.9466, allocations: 7.791 MB / 0.6885 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01408/0.9607, allocations: 11.43 MB / 0.6997 GB, free: 12.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001927/0.9609, allocations: 48 kB / 0.6997 GB, free: 12.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=1057) (initialization): time 0.0236/0.9846, allocations: 11.89 MB / 0.7114 GB, free: 348 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001885/0.9848, allocations: 76 kB / 0.7114 GB, free: 272 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003029/0.9851, allocations: 172 kB / 0.7116 GB, free: 100 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3428/1.328, allocations: 1.77 MB / 0.7133 GB, free: 182.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008635/1.337, allocations: 1.916 MB / 0.7152 GB, free: 182.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0178/1.354, allocations: 12.41 MB / 0.7273 GB, free: 176.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009302/1.364, allocations: 453.2 kB / 0.7277 GB, free: 176.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002447/1.366, allocations: 492 kB / 0.7282 GB, free: 176.2 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 (worldForce2.arrow.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce1.arrow.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce.arrow.twoHeadedArrow,worldForce.arrow.headAtOrigin,worldForce2.color[3],worldForce2.color[2],worldForce2.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.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],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 (994): * Single equations (assignments): 988 * 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 {(2,12,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009766/1.376, allocations: 2.952 MB / 0.7311 GB, free: 174.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002002/1.378, allocations: 0.546 MB / 0.7316 GB, free: 174.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01016/1.388, allocations: 4.842 MB / 0.7364 GB, free: 173.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.933e-05/1.388, allocations: 24.88 kB / 0.7364 GB, free: 173.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.367e-05/1.388, allocations: 8.312 kB / 0.7364 GB, free: 173.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.661e-05/1.388, allocations: 18.44 kB / 0.7364 GB, free: 173.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02064/1.409, allocations: 11.08 MB / 0.7472 GB, free: 169.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.138e-05/1.409, allocations: 3.781 kB / 0.7472 GB, free: 169.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001923/1.411, allocations: 393 kB / 0.7476 GB, free: 169.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00392/1.415, allocations: 1.476 MB / 0.749 GB, free: 169.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000317/1.415, allocations: 39.45 kB / 0.7491 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01165/1.427, allocations: 11.49 MB / 0.7603 GB, free: 162.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.427, allocations: 0 / 0.7603 GB, free: 162.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01138/1.438, allocations: 7.944 MB / 0.7681 GB, free: 155.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002233/1.441, allocations: 0.6072 MB / 0.7687 GB, free: 155 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001927/1.443, allocations: 33.95 kB / 0.7687 GB, free: 155 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003203/1.446, allocations: 131.8 kB / 0.7688 GB, free: 154.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004833/1.446, allocations: 129 kB / 0.7689 GB, free: 154.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001802/1.446, allocations: 52 kB / 0.769 GB, free: 154.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.009876/1.456, allocations: 4.281 MB / 0.7732 GB, free: 150.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.62e-07/1.456, allocations: 0 / 0.7732 GB, free: 150.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01155/1.468, allocations: 1.45 MB / 0.7746 GB, free: 149 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,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 (160): * Single equations (assignments): 154 * 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,10,100.0%), (1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001032/1.469, allocations: 175.7 kB / 0.7747 GB, free: 148.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01379/1.483, allocations: 7.92 MB / 0.7825 GB, free: 140.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/1.483, allocations: 0 / 0.7825 GB, free: 140.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003396/1.486, allocations: 2.274 MB / 0.7847 GB, free: 138.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006411/1.493, allocations: 0.7595 MB / 0.7854 GB, free: 137.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02465/1.517, allocations: 13.71 MB / 0.7988 GB, free: 124.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004922/1.522, allocations: 4.504 MB / 0.8032 GB, free: 119.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005767/1.528, allocations: 2.495 MB / 0.8057 GB, free: 117.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009945/1.529, allocations: 351.4 kB / 0.806 GB, free: 116.8 MB / 0.545 GB Notification: Performance of SimCode: time 8.72e-07/1.529, allocations: 0 / 0.806 GB, free: 116.8 MB / 0.545 GB Notification: Performance of Templates: time 0.09661/1.626, allocations: 58.67 MB / 0.8633 GB, free: 58.42 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches