Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_cpp_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_cpp_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001047/0.001047, allocations: 204.5 kB / 15.8 MB, free: 6.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 226.5 MB / 243.1 MB, free: 14.31 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007058/0.0007058, allocations: 99.91 kB / 295.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1848/0.1848, allocations: 44.85 MB / 392 MB, free: 9.348 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002314/0.0002315, allocations: 8 kB / 464.7 MB, free: 49.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09961/0.09985, allocations: 62.96 MB / 0.5153 GB, free: 2.785 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.2635/0.3634, allocations: 90.54 MB / 0.6037 GB, free: 2.957 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.04034/0.4038, allocations: 18.27 MB / 0.6216 GB, free: 0.625 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01727/0.4211, allocations: 427 kB / 0.622 GB, free: 212 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01457/0.4357, allocations: 4.806 MB / 0.6267 GB, free: 11.38 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03548/0.4712, allocations: 13.89 MB / 0.6403 GB, free: 13.43 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005285/0.4765, allocations: 1.018 MB / 0.6412 GB, free: 12.41 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.3293/0.8058, allocations: 91.78 MB / 0.7309 GB, free: 75.6 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007835/0.8137, allocations: 7.258 MB / 0.738 GB, free: 74.96 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002711/0.8164, allocations: 2.017 MB / 0.7399 GB, free: 74.96 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003532/0.82, allocations: 3.19 MB / 0.743 GB, free: 74.95 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0006978/0.8207, allocations: 220.5 kB / 0.7433 GB, free: 74.95 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002018/0.8227, allocations: 1.111 MB / 0.7443 GB, free: 74.95 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.002014/0.8247, allocations: 2.814 MB / 0.7471 GB, free: 74.95 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001309/0.8261, allocations: 1.291 MB / 0.7483 GB, free: 74.92 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.006407/0.8325, allocations: 8.633 MB / 0.7568 GB, free: 71.55 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.8325, allocations: 1.281 kB / 0.7568 GB, free: 71.55 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.883e-06/0.8325, allocations: 0 / 0.7568 GB, free: 71.55 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000271/0.8328, allocations: 0 / 0.7568 GB, free: 71.55 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2214 * Number of variables: 2214 Notification: Performance of Generate backend data structure: time 0.01154/0.8443, allocations: 6.417 MB / 0.763 GB, free: 67.21 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.8444, allocations: 8.031 kB / 0.7631 GB, free: 67.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01293/0.8573, allocations: 3.197 MB / 0.7662 GB, free: 64.13 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008474/0.8658, allocations: 4.69 MB / 0.7708 GB, free: 60.69 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001734/0.866, allocations: 372.1 kB / 0.7711 GB, free: 60.48 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001564/0.8676, allocations: 0.4924 MB / 0.7716 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01997/0.8876, allocations: 14.81 MB / 0.7861 GB, free: 48.48 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001578/0.8878, allocations: 73.42 kB / 0.7861 GB, free: 48.44 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005094/0.8883, allocations: 231.7 kB / 0.7863 GB, free: 48.38 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003508/0.8918, allocations: 2.728 MB / 0.789 GB, free: 46.12 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01872/0.9105, allocations: 12.22 MB / 0.8009 GB, free: 37.59 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05473/0.9653, allocations: 57.18 MB / 0.8568 GB, free: 5.434 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0115/0.9769, allocations: 4.694 MB / 0.8614 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003599/0.9805, allocations: 2.942 MB / 0.8642 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.9806, allocations: 33.7 kB / 0.8643 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/0.9807, allocations: 60.03 kB / 0.8643 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=190): time 4.739e-06/0.9807, allocations: 0 / 0.8643 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of matching and sorting (n=208): time 0.05671/1.037, allocations: 23.38 MB / 0.8872 GB, free: 11.47 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/1.038, allocations: 258.9 kB / 0.8874 GB, free: 11.17 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01002/1.048, allocations: 6.745 MB / 0.894 GB, free: 4.434 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006102/1.048, allocations: 53.7 kB / 0.894 GB, free: 4.375 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.003515/1.052, allocations: 4.593 MB / 0.8985 GB, free: 15.81 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001207/1.053, allocations: 0.8307 MB / 0.8993 GB, free: 14.98 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004847/1.053, allocations: 162.7 kB / 0.8995 GB, free: 14.83 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0004042/1.054, allocations: 0.6551 MB / 0.9001 GB, free: 14.17 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004148/1.058, allocations: 2.866 MB / 0.9029 GB, free: 11.29 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008658/1.067, allocations: 7.834 MB / 0.9106 GB, free: 1.078 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007178/1.074, allocations: 4.605 MB / 0.9151 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001858/1.074, allocations: 52 kB / 0.9151 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1066) (initialization): time 0.02134/1.096, allocations: 11.9 MB / 0.9268 GB, free: 1.723 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001789/1.096, allocations: 80 kB / 0.9268 GB, free: 1.645 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002938/1.096, allocations: 176 kB / 0.927 GB, free: 1.473 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004451/1.1, allocations: 1.777 MB / 0.9287 GB, free: 15.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006205/1.107, allocations: 1.929 MB / 0.9306 GB, free: 13.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01313/1.12, allocations: 11.54 MB / 0.9419 GB, free: 2.094 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00629/1.126, allocations: 459.3 kB / 0.9423 GB, free: 1.645 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001242/1.127, allocations: 498.1 kB / 0.9428 GB, free: 1.16 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 795 * Number of states: 0 () * Number of discrete variables: 63 (worldForce2.arrow.arrowLine.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce1.arrow.arrowLine.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce.arrow.arrowLine.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 (1003): * Single equations (assignments): 997 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2294/1.357, allocations: 3.035 MB / 0.9458 GB, free: 238.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001409/1.358, allocations: 0.5444 MB / 0.9463 GB, free: 238.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009588/1.368, allocations: 4.847 MB / 0.951 GB, free: 238.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.385e-05/1.368, allocations: 27.31 kB / 0.9511 GB, free: 238.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-05/1.368, allocations: 7.375 kB / 0.9511 GB, free: 238.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.198e-05/1.368, allocations: 10.53 kB / 0.9511 GB, free: 238.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02122/1.389, allocations: 11.22 MB / 0.962 GB, free: 234.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/1.389, allocations: 1.188 kB / 0.962 GB, free: 234.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001741/1.391, allocations: 397.5 kB / 0.9624 GB, free: 234.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003602/1.395, allocations: 1.468 MB / 0.9638 GB, free: 234.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001592/1.395, allocations: 37.75 kB / 0.9639 GB, free: 234.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01017/1.405, allocations: 10.62 MB / 0.9743 GB, free: 227.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.405, allocations: 7.656 kB / 0.9743 GB, free: 227.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01029/1.415, allocations: 7.922 MB / 0.982 GB, free: 224.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001421/1.417, allocations: 0.6305 MB / 0.9826 GB, free: 224.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005406/1.417, allocations: 33.05 kB / 0.9826 GB, free: 224.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001786/1.419, allocations: 140.6 kB / 0.9828 GB, free: 224.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002751/1.419, allocations: 121.2 kB / 0.9829 GB, free: 224.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/1.42, allocations: 55.03 kB / 0.9829 GB, free: 224.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.005466/1.425, allocations: 4.281 MB / 0.9871 GB, free: 223.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/1.425, allocations: 0 / 0.9871 GB, free: 223.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.005594/1.431, allocations: 1.502 MB / 0.9886 GB, free: 223.1 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003639/1.431, allocations: 163.5 kB / 0.9887 GB, free: 223 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.008011/1.439, allocations: 7.044 MB / 0.9956 GB, free: 220.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.439, allocations: 0 / 0.9956 GB, free: 220.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002336/1.441, allocations: 2.261 MB / 0.9978 GB, free: 219.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004554/1.446, allocations: 0.7481 MB / 0.9986 GB, free: 219 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02227/1.468, allocations: 16.82 MB / 1.015 GB, free: 203.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003948/1.472, allocations: 4.599 MB / 1.019 GB, free: 199.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001284/1.474, allocations: 415.4 kB / 1.02 GB, free: 198.9 MB / 0.6042 GB Notification: Performance of SimCode: time 1.203e-06/1.474, allocations: 0 / 1.02 GB, free: 198.9 MB / 0.6042 GB Notification: Performance of Templates: time 0.1488/1.622, allocations: 168.4 MB / 1.184 GB, free: 30.45 MB / 0.6042 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces2 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches