Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008773/0.0008772, allocations: 92.7 kB / 17.35 MB, free: 6.371 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.001139/0.001139, allocations: 172.1 kB / 18.25 MB, free: 5.523 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.349/1.349, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1961/0.1961, allocations: 44.24 MB / 337.7 MB, free: 2.43 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003975/0.0003975, allocations: 8 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1291, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.2864/0.4155, allocations: 70.6 MB / 0.5301 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0328/0.4484, allocations: 14.34 MB / 0.5441 GB, free: 4.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01615/0.4646, allocations: 312.2 kB / 0.5444 GB, free: 4.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002083/0.4667, allocations: 0.4947 MB / 0.5449 GB, free: 4.098 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006591/0.4733, allocations: 2.125 MB / 0.547 GB, free: 2.887 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002336/0.4756, allocations: 0.8114 MB / 0.5478 GB, free: 2.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01136/0.487, allocations: 8.729 MB / 0.5563 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01047/0.4975, allocations: 6.118 MB / 0.5623 GB, free: 8.148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003708/0.5013, allocations: 1.463 MB / 0.5637 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004268/0.5056, allocations: 2.491 MB / 0.5661 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001061/0.5067, allocations: 168 kB / 0.5663 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003323/0.51, allocations: 1.303 MB / 0.5676 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002991/0.513, allocations: 2.236 MB / 0.5698 GB, free: 480 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004232/0.5173, allocations: 2.478 MB / 0.5722 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00934/0.5266, allocations: 8.268 MB / 0.5803 GB, free: 5.672 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.5267, allocations: 0 / 0.5803 GB, free: 5.672 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.5267, allocations: 0 / 0.5803 GB, free: 5.672 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002441/0.5269, allocations: 0 / 0.5803 GB, free: 5.672 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01238/0.5393, allocations: 5.052 MB / 0.5852 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.985e-05/0.5394, allocations: 12.03 kB / 0.5852 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01287/0.5523, allocations: 2.653 MB / 0.5878 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008947/0.5613, allocations: 3.758 MB / 0.5915 GB, free: 10.06 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003091/0.5616, allocations: 287.6 kB / 0.5917 GB, free: 9.781 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001837/0.5635, allocations: 391.6 kB / 0.5921 GB, free: 9.398 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02443/0.5879, allocations: 11.99 MB / 0.6038 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002264/0.5882, allocations: 63.52 kB / 0.6039 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001308/0.5895, allocations: 179.8 kB / 0.6041 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003926/0.5935, allocations: 2.268 MB / 0.6063 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02205/0.6155, allocations: 9.953 MB / 0.616 GB, free: 84 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06722/0.6828, allocations: 46.71 MB / 0.6616 GB, free: 60 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01051/0.6934, allocations: 3.936 MB / 0.6654 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00292/0.6963, allocations: 2.16 MB / 0.6676 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01178/0.7081, allocations: 6.539 MB / 0.6739 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/0.7082, allocations: 55.5 kB / 0.674 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=154): time 4.418e-06/0.7082, allocations: 0 / 0.674 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of matching and sorting (n=166): time 0.05066/0.7589, allocations: 16.57 MB / 0.6902 GB, free: 2.398 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/0.7591, allocations: 204.9 kB / 0.6904 GB, free: 2.156 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01179/0.7709, allocations: 5.664 MB / 0.6959 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004287/0.7714, allocations: 49.69 kB / 0.6959 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00335/0.7747, allocations: 3.779 MB / 0.6996 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001067/0.7758, allocations: 0.6714 MB / 0.7003 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001287/0.7771, allocations: 0.6109 MB / 0.7009 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.745e-05/0.7772, allocations: 305.1 kB / 0.7012 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004186/0.7814, allocations: 2.321 MB / 0.7034 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.293/1.074, allocations: 6.625 MB / 0.7099 GB, free: 183.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/1.085, allocations: 9.627 MB / 0.7193 GB, free: 176.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002813/1.086, allocations: 43.12 kB / 0.7194 GB, free: 176.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=908) (initialization): time 0.02137/1.107, allocations: 9.672 MB / 0.7288 GB, free: 172.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001853/1.107, allocations: 76.94 kB / 0.7289 GB, free: 172.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002438/1.108, allocations: 148.3 kB / 0.729 GB, free: 172.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003188/1.111, allocations: 1.216 MB / 0.7302 GB, free: 172.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005486/1.116, allocations: 1.576 MB / 0.7317 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007951/1.124, allocations: 7.761 MB / 0.7393 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00641/1.131, allocations: 371.9 kB / 0.7397 GB, free: 167.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001831/1.133, allocations: 428.8 kB / 0.7401 GB, free: 167.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.arrowLine.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 (848): * Single equations (assignments): 841 * 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.005739/1.138, allocations: 2.514 MB / 0.7425 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001192/1.14, allocations: 454.9 kB / 0.743 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006611/1.146, allocations: 3.437 MB / 0.7463 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.658e-05/1.146, allocations: 17.2 kB / 0.7463 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.33e-05/1.146, allocations: 6.812 kB / 0.7464 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.02e-05/1.146, allocations: 11.53 kB / 0.7464 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01615/1.162, allocations: 8.301 MB / 0.7545 GB, free: 158.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-05/1.163, allocations: 4 kB / 0.7545 GB, free: 158.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001404/1.164, allocations: 303.8 kB / 0.7548 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002497/1.166, allocations: 0.9835 MB / 0.7557 GB, free: 157.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002009/1.167, allocations: 32.33 kB / 0.7558 GB, free: 157.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007013/1.174, allocations: 7.1 MB / 0.7627 GB, free: 150.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.174, allocations: 4 kB / 0.7627 GB, free: 150.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008155/1.182, allocations: 5.88 MB / 0.7684 GB, free: 144.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001649/1.184, allocations: 0.5302 MB / 0.769 GB, free: 143.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001236/1.185, allocations: 27.94 kB / 0.769 GB, free: 143.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002193/1.187, allocations: 101.9 kB / 0.7691 GB, free: 143.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003197/1.187, allocations: 104.9 kB / 0.7692 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/1.188, allocations: 43.06 kB / 0.7692 GB, free: 143.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006574/1.194, allocations: 3.616 MB / 0.7727 GB, free: 140 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.21e-07/1.194, allocations: 4 kB / 0.7728 GB, free: 140 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007422/1.202, allocations: 1.184 MB / 0.7739 GB, free: 138.9 MB / 0.5294 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.0005983/1.202, allocations: 172.7 kB / 0.7741 GB, free: 138.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00986/1.212, allocations: 5.584 MB / 0.7795 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.212, allocations: 0 / 0.7795 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002047/1.214, allocations: 1.62 MB / 0.7811 GB, free: 131.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006498/1.221, allocations: 0.5841 MB / 0.7817 GB, free: 130.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0204/1.241, allocations: 13.47 MB / 0.7948 GB, free: 117.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00581/1.247, allocations: 3.85 MB / 0.7986 GB, free: 113.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006027/1.253, allocations: 2.14 MB / 0.8007 GB, free: 111.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001242/1.254, allocations: 291.4 kB / 0.801 GB, free: 111.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.192e-06/1.254, allocations: 0 / 0.801 GB, free: 111.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.07623/1.331, allocations: 43.95 MB / 0.8439 GB, free: 67.3 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches