Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001095/0.001095, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001229/0.001229, allocations: 197.2 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2722/0.2722, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 79.88 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3765, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01556/0.3921, allocations: 12.65 MB / 0.5434 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01115/0.4033, allocations: 4.491 MB / 0.5477 GB, free: 144 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003263/0.4066, allocations: 85 kB / 0.5478 GB, free: 128 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007384/0.4141, allocations: 3.714 MB / 0.5514 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01013/0.4243, allocations: 2.179 MB / 0.5536 GB, free: 10.53 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003316/0.4276, allocations: 0.9943 MB / 0.5545 GB, free: 9.531 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01102/0.4387, allocations: 6.027 MB / 0.5604 GB, free: 3.492 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007561/0.4462, allocations: 4.551 MB / 0.5649 GB, free: 14.87 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004144/0.4504, allocations: 1.947 MB / 0.5668 GB, free: 12.92 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004997/0.4555, allocations: 2.621 MB / 0.5693 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00174/0.4572, allocations: 404 kB / 0.5697 GB, free: 9.895 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003524/0.4608, allocations: 1.439 MB / 0.5711 GB, free: 8.453 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003394/0.4642, allocations: 2.439 MB / 0.5735 GB, free: 6.008 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004751/0.4689, allocations: 2.707 MB / 0.5762 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01262/0.4816, allocations: 8.604 MB / 0.5846 GB, free: 10.65 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.4816, allocations: 0 / 0.5846 GB, free: 10.65 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4817, allocations: 0 / 0.5846 GB, free: 10.65 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004051/0.4821, allocations: 0 / 0.5846 GB, free: 10.65 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.0177/0.4998, allocations: 6.004 MB / 0.5904 GB, free: 4.574 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.4999, allocations: 12.03 kB / 0.5904 GB, free: 4.562 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01307/0.5129, allocations: 2.536 MB / 0.5929 GB, free: 2.016 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01032/0.5233, allocations: 3.742 MB / 0.5966 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003021/0.5237, allocations: 275.5 kB / 0.5968 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001675/0.5253, allocations: 379.7 kB / 0.5972 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02571/0.5511, allocations: 11.6 MB / 0.6085 GB, free: 1.117 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003379/0.5515, allocations: 59.44 kB / 0.6086 GB, free: 1.059 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00141/0.5529, allocations: 175.8 kB / 0.6087 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004117/0.557, allocations: 2.151 MB / 0.6108 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02141/0.5785, allocations: 9.613 MB / 0.6202 GB, free: 5.105 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0614/0.6399, allocations: 45.63 MB / 0.6648 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0108/0.6507, allocations: 3.93 MB / 0.6686 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003293/0.6541, allocations: 2.163 MB / 0.6707 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01129/0.6654, allocations: 6.519 MB / 0.6771 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.754e-05/0.6655, allocations: 47.5 kB / 0.6771 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 4.599e-06/0.6655, allocations: 4 kB / 0.6771 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.04465/0.7102, allocations: 16.47 MB / 0.6932 GB, free: 8.676 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/0.7104, allocations: 208.9 kB / 0.6934 GB, free: 8.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008435/0.7188, allocations: 5.603 MB / 0.6989 GB, free: 2.844 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000415/0.7193, allocations: 49.7 kB / 0.6989 GB, free: 2.789 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00327/0.7225, allocations: 3.697 MB / 0.7026 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001229/0.7238, allocations: 0.6637 MB / 0.7032 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001983/0.7258, allocations: 1.415 MB / 0.7046 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.7259, allocations: 305.1 kB / 0.7049 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003399/0.7293, allocations: 2.317 MB / 0.7071 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006908/0.7362, allocations: 6.571 MB / 0.7136 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3634/1.1, allocations: 9.561 MB / 0.7229 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001436/1.1, allocations: 44.06 kB / 0.7229 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.02185/1.122, allocations: 9.611 MB / 0.7323 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/1.122, allocations: 74.56 kB / 0.7324 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002604/1.122, allocations: 150.4 kB / 0.7325 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003041/1.125, allocations: 1.215 MB / 0.7337 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004665/1.13, allocations: 1.569 MB / 0.7353 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008224/1.138, allocations: 8.332 MB / 0.7434 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006237/1.144, allocations: 366.6 kB / 0.7437 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008643/1.145, allocations: 432.9 kB / 0.7442 GB, free: 142.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.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 (842): * Single equations (assignments): 835 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003732/1.149, allocations: 2.447 MB / 0.7465 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007887/1.15, allocations: 461.1 kB / 0.747 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005414/1.155, allocations: 3.426 MB / 0.7503 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.628e-05/1.155, allocations: 20 kB / 0.7504 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/1.155, allocations: 4 kB / 0.7504 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/1.155, allocations: 7.969 kB / 0.7504 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01312/1.168, allocations: 8.179 MB / 0.7583 GB, free: 129 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/1.168, allocations: 0 / 0.7583 GB, free: 129 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/1.17, allocations: 299.5 kB / 0.7586 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002419/1.172, allocations: 0.981 MB / 0.7596 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/1.172, allocations: 27.98 kB / 0.7596 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006863/1.179, allocations: 7.693 MB / 0.7671 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/1.179, allocations: 4 kB / 0.7671 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007281/1.187, allocations: 5.872 MB / 0.7729 GB, free: 114 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001344/1.188, allocations: 0.5147 MB / 0.7734 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000454/1.188, allocations: 28.98 kB / 0.7734 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/1.19, allocations: 91.81 kB / 0.7735 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000254/1.19, allocations: 100.8 kB / 0.7736 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/1.19, allocations: 44 kB / 0.7736 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004685/1.195, allocations: 3.584 MB / 0.7771 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/1.195, allocations: 0 / 0.7771 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005664/1.201, allocations: 1.155 MB / 0.7783 GB, free: 108.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (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 (126): * Single equations (assignments): 121 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0004/1.201, allocations: 170.2 kB / 0.7784 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008849/1.21, allocations: 5.586 MB / 0.7839 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/1.21, allocations: 4.125 kB / 0.7839 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001874/1.212, allocations: 1.611 MB / 0.7855 GB, free: 101.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003664/1.215, allocations: 0.6133 MB / 0.786 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01986/1.235, allocations: 10.74 MB / 0.7965 GB, free: 89.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00642/1.242, allocations: 3.764 MB / 0.8002 GB, free: 85.88 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004746/1.247, allocations: 2.124 MB / 0.8023 GB, free: 83.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008643/1.248, allocations: 299.4 kB / 0.8026 GB, free: 83.46 MB / 0.5606 GB Notification: Performance of SimCode: time 1.212e-06/1.248, allocations: 0 / 0.8026 GB, free: 83.46 MB / 0.5606 GB Notification: Performance of Templates: time 0.07102/1.319, allocations: 41.36 MB / 0.843 GB, free: 42.41 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches