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.001724/0.001724, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002007/0.002007, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 247.5 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2447/0.2447, allocations: 46.11 MB / 344.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 81.08 kB / 418.3 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1215, allocations: 62.46 MB / 480.8 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.0193/0.1408, allocations: 15.4 MB / 496.2 MB, free: 5.754 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01227/0.1531, allocations: 5.061 MB / 0.4895 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003236/0.1564, allocations: 107.7 kB / 0.4896 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01027/0.1667, allocations: 4.988 MB / 0.4945 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007812/0.1746, allocations: 2.509 MB / 0.4969 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003576/0.1782, allocations: 1.24 MB / 0.4981 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2421/0.4204, allocations: 7.92 MB / 0.5059 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008568/0.429, allocations: 5.952 MB / 0.5117 GB, free: 13.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005162/0.4342, allocations: 2.497 MB / 0.5141 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006431/0.4406, allocations: 3.431 MB / 0.5175 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002449/0.4431, allocations: 0.5339 MB / 0.518 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005055/0.4482, allocations: 1.552 MB / 0.5195 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005374/0.4536, allocations: 3.125 MB / 0.5225 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006711/0.4604, allocations: 3.464 MB / 0.5259 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01272/0.4731, allocations: 10.48 MB / 0.5362 GB, free: 5.664 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.4732, allocations: 0 / 0.5362 GB, free: 5.664 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4732, allocations: 0 / 0.5362 GB, free: 5.664 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004644/0.4736, allocations: 0 / 0.5362 GB, free: 5.664 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.01886/0.4925, allocations: 7.495 MB / 0.5435 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.4926, allocations: 17.86 kB / 0.5435 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01502/0.5076, allocations: 3.034 MB / 0.5465 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01223/0.5199, allocations: 4.733 MB / 0.5511 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003746/0.5203, allocations: 364.5 kB / 0.5514 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002064/0.5224, allocations: 486.2 kB / 0.5519 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0307/0.5531, allocations: 14.26 MB / 0.5658 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002469/0.5534, allocations: 74.36 kB / 0.5659 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008322/0.5542, allocations: 232.4 kB / 0.5661 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004716/0.5589, allocations: 2.539 MB / 0.5686 GB, free: 8.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02579/0.5848, allocations: 11.78 MB / 0.5801 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08093/0.6657, allocations: 55.89 MB / 0.6347 GB, free: 4.176 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01323/0.679, allocations: 4.684 MB / 0.6393 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004536/0.6836, allocations: 2.945 MB / 0.6421 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001383/0.6838, allocations: 42.11 kB / 0.6422 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.374e-05/0.6838, allocations: 59.48 kB / 0.6422 GB, free: 12.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=190): time 4.178e-06/0.6838, allocations: 0 / 0.6422 GB, free: 12.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=208): time 0.0675/0.7513, allocations: 23.21 MB / 0.6649 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001923/0.7516, allocations: 263.3 kB / 0.6651 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01218/0.7638, allocations: 6.707 MB / 0.6717 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005531/0.7644, allocations: 57.7 kB / 0.6717 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.004411/0.7688, allocations: 4.461 MB / 0.6761 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001394/0.7702, allocations: 0.8398 MB / 0.6769 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002832/0.773, allocations: 1.665 MB / 0.6785 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.7732, allocations: 301.1 kB / 0.6788 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004977/0.7782, allocations: 2.885 MB / 0.6817 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01077/0.789, allocations: 7.793 MB / 0.6893 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01611/0.8051, allocations: 11.43 MB / 0.7004 GB, free: 12.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001856/0.8054, allocations: 52 kB / 0.7005 GB, free: 12.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=1057) (initialization): time 0.02719/0.8326, allocations: 11.89 MB / 0.7121 GB, free: 312 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001373/0.8327, allocations: 81 kB / 0.7122 GB, free: 232 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002434/0.833, allocations: 172 kB / 0.7123 GB, free: 60 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2204/1.053, allocations: 1.76 MB / 0.714 GB, free: 182.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00711/1.061, allocations: 1.915 MB / 0.7159 GB, free: 182.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01515/1.076, allocations: 12.41 MB / 0.728 GB, free: 176.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007771/1.084, allocations: 449.9 kB / 0.7285 GB, free: 176.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001705/1.085, allocations: 491.4 kB / 0.7289 GB, free: 176.1 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.005918/1.091, allocations: 2.959 MB / 0.7318 GB, free: 174.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00119/1.092, allocations: 0.5473 MB / 0.7324 GB, free: 174.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008967/1.101, allocations: 4.834 MB / 0.7371 GB, free: 173.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.784e-05/1.101, allocations: 25.23 kB / 0.7371 GB, free: 173.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.513e-05/1.102, allocations: 6.844 kB / 0.7371 GB, free: 173.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.491e-05/1.102, allocations: 10.55 kB / 0.7371 GB, free: 173.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02043/1.122, allocations: 11.08 MB / 0.7479 GB, free: 169.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-05/1.122, allocations: 0 / 0.7479 GB, free: 169.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00192/1.124, allocations: 393.3 kB / 0.7483 GB, free: 169.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003975/1.128, allocations: 1.48 MB / 0.7498 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004349/1.128, allocations: 36.95 kB / 0.7498 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01102/1.139, allocations: 11.49 MB / 0.761 GB, free: 162 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/1.14, allocations: 7.75 kB / 0.761 GB, free: 162 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01131/1.151, allocations: 7.941 MB / 0.7688 GB, free: 155.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001625/1.152, allocations: 0.6111 MB / 0.7694 GB, free: 155 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001245/1.154, allocations: 32 kB / 0.7694 GB, free: 155 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002609/1.156, allocations: 133.2 kB / 0.7695 GB, free: 154.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004715/1.157, allocations: 125 kB / 0.7697 GB, free: 154.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001512/1.157, allocations: 52 kB / 0.7697 GB, free: 154.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007019/1.164, allocations: 4.281 MB / 0.7739 GB, free: 150.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/1.164, allocations: 0 / 0.7739 GB, free: 150.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008229/1.172, allocations: 1.45 MB / 0.7753 GB, free: 148.9 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.0005575/1.173, allocations: 176.8 kB / 0.7755 GB, free: 148.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0112/1.184, allocations: 7.921 MB / 0.7832 GB, free: 140.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/1.184, allocations: 2.438 kB / 0.7832 GB, free: 140.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002774/1.187, allocations: 2.273 MB / 0.7854 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.004904/1.192, allocations: 0.7706 MB / 0.7862 GB, free: 137.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02423/1.216, allocations: 14.26 MB / 0.8001 GB, free: 123.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005777/1.222, allocations: 4.473 MB / 0.8045 GB, free: 119.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00137/1.223, allocations: 399.4 kB / 0.8049 GB, free: 118.7 MB / 0.545 GB Notification: Performance of SimCode: time 6.81e-07/1.223, allocations: 0 / 0.8049 GB, free: 118.7 MB / 0.545 GB Notification: Performance of Templates: time 0.3854/1.609, allocations: 164.5 MB / 0.9655 GB, free: 150.5 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches