Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 98.47 kB / 18.01 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 178.2 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 223.3 MB / 243 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1967/0.1967, allocations: 44.25 MB / 338.3 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003415, allocations: 15.98 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1226, allocations: 61.92 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.3297/0.4523, allocations: 97.4 MB / 0.5569 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04585/0.4982, allocations: 18.98 MB / 0.5755 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02099/0.5192, allocations: 427 kB / 0.5759 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002441/0.5217, allocations: 0.6101 MB / 0.5765 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006743/0.5285, allocations: 2.465 MB / 0.5789 GB, free: 7.809 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002636/0.5311, allocations: 1.038 MB / 0.5799 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01327/0.5444, allocations: 11.46 MB / 0.5911 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01202/0.5565, allocations: 8.101 MB / 0.599 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003806/0.5604, allocations: 1.84 MB / 0.6008 GB, free: 1.242 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00523/0.5656, allocations: 3.223 MB / 0.604 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001482/0.5671, allocations: 220 kB / 0.6042 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003516/0.5707, allocations: 1.326 MB / 0.6055 GB, free: 12.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003788/0.5745, allocations: 2.855 MB / 0.6082 GB, free: 9.602 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005886/0.5804, allocations: 3.134 MB / 0.6113 GB, free: 6.441 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01056/0.591, allocations: 8.635 MB / 0.6197 GB, free: 13.78 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.403e-06/0.591, allocations: 8 kB / 0.6197 GB, free: 13.77 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.5911, allocations: 0 / 0.6197 GB, free: 13.77 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004308/0.5915, allocations: 0 / 0.6197 GB, free: 13.77 MB / 462.1 MB 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.01586/0.6074, allocations: 6.303 MB / 0.6259 GB, free: 7.387 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.6074, allocations: 8.031 kB / 0.6259 GB, free: 7.379 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01583/0.6233, allocations: 3.178 MB / 0.629 GB, free: 4.188 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01103/0.6343, allocations: 4.868 MB / 0.6338 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003941/0.6348, allocations: 369.9 kB / 0.6341 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001997/0.6368, allocations: 0.4999 MB / 0.6346 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03023/0.6671, allocations: 14.85 MB / 0.6491 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003353/0.6674, allocations: 71.38 kB / 0.6492 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001537/0.669, allocations: 235.8 kB / 0.6494 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00529/0.6743, allocations: 2.723 MB / 0.6521 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02578/0.7001, allocations: 12.27 MB / 0.664 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3605/1.061, allocations: 57.21 MB / 0.7199 GB, free: 151 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01306/1.074, allocations: 4.695 MB / 0.7245 GB, free: 150.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004544/1.078, allocations: 2.941 MB / 0.7274 GB, free: 150.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001711/1.079, allocations: 42.92 kB / 0.7274 GB, free: 150.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.569e-05/1.079, allocations: 54.03 kB / 0.7275 GB, free: 150.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=190): time 6.612e-06/1.079, allocations: 0 / 0.7275 GB, free: 150.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=208): time 0.05703/1.136, allocations: 23.39 MB / 0.7503 GB, free: 141.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.232e-05/1.136, allocations: 264.4 kB / 0.7506 GB, free: 141.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00963/1.145, allocations: 6.777 MB / 0.7572 GB, free: 138 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005301/1.146, allocations: 60.02 kB / 0.7572 GB, free: 138 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002771/1.149, allocations: 4.594 MB / 0.7617 GB, free: 134 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001004/1.15, allocations: 0.8391 MB / 0.7625 GB, free: 133.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008396/1.151, allocations: 0.7191 MB / 0.7632 GB, free: 132.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.738e-05/1.151, allocations: 303.2 kB / 0.7635 GB, free: 132.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003447/1.154, allocations: 2.901 MB / 0.7664 GB, free: 129.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006257/1.16, allocations: 7.86 MB / 0.774 GB, free: 119.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01072/1.171, allocations: 11.52 MB / 0.7853 GB, free: 105.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001353/1.171, allocations: 52 kB / 0.7853 GB, free: 105.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1066) (initialization): time 0.01984/1.191, allocations: 11.97 MB / 0.797 GB, free: 93.73 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000113/1.191, allocations: 85.97 kB / 0.7971 GB, free: 93.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001827/1.192, allocations: 172 kB / 0.7973 GB, free: 93.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004129/1.196, allocations: 1.77 MB / 0.799 GB, free: 91.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005838/1.202, allocations: 1.932 MB / 0.8009 GB, free: 89.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/1.213, allocations: 11.53 MB / 0.8121 GB, free: 77.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006662/1.219, allocations: 451.2 kB / 0.8126 GB, free: 77.42 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001362/1.221, allocations: 0.4992 MB / 0.8131 GB, free: 76.93 MB / 0.5294 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 (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.005254/1.226, allocations: 3.036 MB / 0.816 GB, free: 73.88 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001092/1.227, allocations: 0.5476 MB / 0.8166 GB, free: 73.32 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008166/1.235, allocations: 4.856 MB / 0.8213 GB, free: 68.45 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.256e-05/1.235, allocations: 20.55 kB / 0.8213 GB, free: 68.43 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.927e-05/1.235, allocations: 8 kB / 0.8213 GB, free: 68.42 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.323e-05/1.235, allocations: 11.97 kB / 0.8213 GB, free: 68.41 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01862/1.254, allocations: 11.24 MB / 0.8323 GB, free: 57.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-05/1.254, allocations: 7.125 kB / 0.8323 GB, free: 57.13 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001831/1.256, allocations: 395.3 kB / 0.8327 GB, free: 56.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003692/1.26, allocations: 1.485 MB / 0.8342 GB, free: 55.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000315/1.26, allocations: 36 kB / 0.8342 GB, free: 55.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01001/1.27, allocations: 10.61 MB / 0.8446 GB, free: 44.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/1.27, allocations: 4.031 kB / 0.8446 GB, free: 44.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01111/1.281, allocations: 7.941 MB / 0.8523 GB, free: 36.23 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001748/1.283, allocations: 0.6344 MB / 0.8529 GB, free: 35.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001024/1.284, allocations: 43.86 kB / 0.853 GB, free: 35.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002271/1.286, allocations: 141.1 kB / 0.8531 GB, free: 35.39 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000407/1.287, allocations: 125.1 kB / 0.8532 GB, free: 35.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001437/1.287, allocations: 57.39 kB / 0.8533 GB, free: 35.21 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006104/1.293, allocations: 4.314 MB / 0.8575 GB, free: 30.91 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.71e-07/1.293, allocations: 0 / 0.8575 GB, free: 30.91 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00758/1.301, allocations: 1.499 MB / 0.859 GB, free: 29.42 MB / 0.5294 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.0005829/1.301, allocations: 164.8 kB / 0.8591 GB, free: 29.25 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009486/1.311, allocations: 7.094 MB / 0.866 GB, free: 22.16 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/1.311, allocations: 0 / 0.866 GB, free: 22.16 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002602/1.313, allocations: 2.259 MB / 0.8683 GB, free: 19.87 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005776/1.319, allocations: 0.751 MB / 0.869 GB, free: 19.12 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02185/1.341, allocations: 17.55 MB / 0.8861 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005742/1.347, allocations: 4.599 MB / 0.8906 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001461/1.348, allocations: 415.3 kB / 0.891 GB, free: 12.48 MB / 0.545 GB Notification: Performance of SimCode: time 6.91e-07/1.348, allocations: 0 / 0.891 GB, free: 12.48 MB / 0.545 GB Notification: Performance of Templates: time 0.403/1.751, allocations: 167.9 MB / 1.055 GB, free: 86.33 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches