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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 104 kB / 17.63 MB, free: 5.523 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.001212/0.001211, allocations: 192.1 kB / 18.56 MB, free: 4.605 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.353/1.353, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.2021/0.2021, allocations: 44.18 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 60.19 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1084, allocations: 60.82 MB / 469.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01381/0.1223, allocations: 12.87 MB / 482.2 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01015/0.1325, allocations: 4.512 MB / 486.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002337/0.1348, allocations: 87.75 kB / 486.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007138/0.142, allocations: 3.726 MB / 490.5 MB, free: 9.008 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006297/0.1484, allocations: 2.26 MB / 492.8 MB, free: 6.742 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002932/0.1514, allocations: 1.002 MB / 493.8 MB, free: 5.738 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008596/0.16, allocations: 6.018 MB / 499.8 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006108/0.1661, allocations: 4.6 MB / 0.4926 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003177/0.1693, allocations: 1.986 MB / 0.4945 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003798/0.1731, allocations: 2.652 MB / 0.4971 GB, free: 6.387 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001567/0.1747, allocations: 416 kB / 0.4975 GB, free: 5.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003702/0.1785, allocations: 1.459 MB / 0.499 GB, free: 4.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003573/0.1821, allocations: 2.49 MB / 0.5014 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2455/0.4276, allocations: 2.851 MB / 0.5042 GB, free: 20.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01185/0.4395, allocations: 8.734 MB / 0.5127 GB, free: 19.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.4395, allocations: 0 / 0.5127 GB, free: 19.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.4395, allocations: 4.875 kB / 0.5127 GB, free: 19.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004004/0.44, allocations: 3.938 kB / 0.5127 GB, free: 19.96 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: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.02388/0.4638, allocations: 6.311 MB / 0.5189 GB, free: 17.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.112e-05/0.4639, allocations: 10.16 kB / 0.5189 GB, free: 17.54 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004678/0.4686, allocations: 0.844 MB / 0.5197 GB, free: 17.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04025/0.5089, allocations: 6.077 MB / 0.5256 GB, free: 16.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009596/0.5185, allocations: 4.318 MB / 0.5299 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002031/0.5187, allocations: 290.1 kB / 0.5301 GB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001715/0.5205, allocations: 386 kB / 0.5305 GB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02188/0.5424, allocations: 11.84 MB / 0.5421 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002117/0.5426, allocations: 60.45 kB / 0.5421 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007118/0.5433, allocations: 185.3 kB / 0.5423 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003234/0.5466, allocations: 2.273 MB / 0.5445 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01935/0.5659, allocations: 9.663 MB / 0.5539 GB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06175/0.6277, allocations: 46.23 MB / 0.5991 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01037/0.6381, allocations: 3.805 MB / 0.6028 GB, free: 9.855 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002767/0.6409, allocations: 2.041 MB / 0.6048 GB, free: 7.805 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01183/0.6528, allocations: 6.248 MB / 0.6109 GB, free: 1.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.6529, allocations: 62.64 kB / 0.611 GB, free: 1.434 MB / 446.1 MB Notification: Performance of pre-optimization done (n=154): time 4.429e-06/0.6529, allocations: 3.75 kB / 0.611 GB, free: 1.434 MB / 446.1 MB Notification: Performance of matching and sorting (n=166): time 0.06654/0.7194, allocations: 14.83 MB / 0.6254 GB, free: 2.52 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001758/0.7196, allocations: 192.9 kB / 0.6256 GB, free: 2.289 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01593/0.7356, allocations: 5.677 MB / 0.6312 GB, free: 12.64 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004502/0.7361, allocations: 45.7 kB / 0.6312 GB, free: 12.59 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004209/0.7403, allocations: 3.83 MB / 0.635 GB, free: 8.762 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001061/0.7414, allocations: 0.665 MB / 0.6356 GB, free: 8.102 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00378/0.7452, allocations: 1.352 MB / 0.6369 GB, free: 6.742 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.848e-05/0.7453, allocations: 305.1 kB / 0.6372 GB, free: 6.441 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003657/0.749, allocations: 2.104 MB / 0.6393 GB, free: 4.336 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006279/0.7553, allocations: 6.389 MB / 0.6455 GB, free: 11.88 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01046/0.7658, allocations: 9.249 MB / 0.6545 GB, free: 1.125 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001243/0.7659, allocations: 44 kB / 0.6546 GB, free: 1.082 MB / 494.1 MB Notification: Performance of matching and sorting (n=870) (initialization): time 0.01879/0.7847, allocations: 8.689 MB / 0.6631 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.00018/0.785, allocations: 68.97 kB / 0.6631 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002611/0.7852, allocations: 155.9 kB / 0.6633 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002291/0.7875, allocations: 0.7154 MB / 0.664 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005846/0.7934, allocations: 1.524 MB / 0.6655 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008424/0.8019, allocations: 6.834 MB / 0.6721 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006302/0.8082, allocations: 347.5 kB / 0.6725 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001402/0.8096, allocations: 416 kB / 0.6729 GB, free: 14.36 MB / 0.5137 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 (810): * Single equations (assignments): 803 * 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.005764/0.8154, allocations: 2.513 MB / 0.6753 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00118/0.8166, allocations: 462 kB / 0.6758 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00595/0.8226, allocations: 2.704 MB / 0.6784 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.04e-05/0.8226, allocations: 20 kB / 0.6784 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.986e-05/0.8227, allocations: 8 kB / 0.6784 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.881e-05/0.8227, allocations: 3.984 kB / 0.6784 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02107/0.8438, allocations: 7.563 MB / 0.6858 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.189e-05/0.8438, allocations: 12.06 kB / 0.6858 GB, free: 1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001515/0.8453, allocations: 303.4 kB / 0.6861 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001461/0.8468, allocations: 489.2 kB / 0.6866 GB, free: 224 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001992/0.847, allocations: 31.36 kB / 0.6866 GB, free: 196 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007198/0.8542, allocations: 6.207 MB / 0.6927 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.8543, allocations: 3.938 kB / 0.6927 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008116/0.8624, allocations: 4.961 MB / 0.6975 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001858/0.8643, allocations: 0.5222 MB / 0.698 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001355/0.8656, allocations: 28 kB / 0.6981 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002301/0.868, allocations: 75.91 kB / 0.6981 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002905/0.8683, allocations: 104.8 kB / 0.6982 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/0.8684, allocations: 47.42 kB / 0.6983 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00848/0.8769, allocations: 3.638 MB / 0.7018 GB, free: 296 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8769, allocations: 0 / 0.7018 GB, free: 296 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.2431/1.12, allocations: 1.122 MB / 0.7029 GB, free: 185.1 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.008042/1.128, allocations: 5.607 MB / 0.7084 GB, free: 184.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009787/1.138, allocations: 5.912 MB / 0.7142 GB, free: 182.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/1.138, allocations: 2.734 kB / 0.7142 GB, free: 182.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001869/1.14, allocations: 1.492 MB / 0.7156 GB, free: 182 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003972/1.144, allocations: 0.6611 MB / 0.7163 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08405/1.228, allocations: 66.31 MB / 0.7811 GB, free: 117.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005216/1.233, allocations: 3.847 MB / 0.7848 GB, free: 113.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005379/1.239, allocations: 2.152 MB / 0.7869 GB, free: 111 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003345/1.242, allocations: 2.382 MB / 0.7892 GB, free: 108.6 MB / 0.5294 GB Notification: Performance of SimCode: time 7.51e-07/1.242, allocations: 0 / 0.7892 GB, free: 108.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.137/1.379, allocations: 90.5 MB / 0.8776 GB, free: 18.53 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/13.81, allocations: 17.09 kB / 0.8776 GB, free: 18.52 MB / 0.5294 GB (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches