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.001673/0.001673, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.002013/0.002013, allocations: 194 kB / 18.12 MB, free: 5.363 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.404/1.404, allocations: 222.9 MB / 241.8 MB, free: 15.6 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.2045/0.2045, allocations: 44.16 MB / 336.1 MB, free: 3.051 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 64.22 kB / 407.8 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1178, allocations: 60.82 MB / 468.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.3167/0.4345, allocations: 72.33 MB / 0.5283 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02922/0.4638, allocations: 14.42 MB / 0.5424 GB, free: 3.547 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01511/0.4789, allocations: 316.2 kB / 0.5427 GB, free: 3.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006035/0.485, allocations: 3.728 MB / 0.5463 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004952/0.49, allocations: 2.113 MB / 0.5484 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002258/0.4923, allocations: 0.9367 MB / 0.5493 GB, free: 15.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01027/0.5025, allocations: 8.722 MB / 0.5578 GB, free: 9.461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005665/0.5082, allocations: 4.55 MB / 0.5622 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003228/0.5115, allocations: 1.763 MB / 0.564 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004367/0.5159, allocations: 2.858 MB / 0.5668 GB, free: 232 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009943/0.5169, allocations: 292 kB / 0.567 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003134/0.52, allocations: 1.427 MB / 0.5684 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002823/0.5229, allocations: 2.415 MB / 0.5708 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00392/0.5268, allocations: 2.726 MB / 0.5734 GB, free: 9.348 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01144/0.5383, allocations: 8.656 MB / 0.5819 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.5383, allocations: 0 / 0.5819 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.5383, allocations: 0 / 0.5819 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002615/0.5386, allocations: 0 / 0.5819 GB, free: 0.6641 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.01435/0.553, allocations: 6.309 MB / 0.5881 GB, free: 10.28 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.594e-05/0.553, allocations: 12.03 kB / 0.5881 GB, free: 10.27 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001458/0.5545, allocations: 0.8476 MB / 0.5889 GB, free: 9.414 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03602/0.5905, allocations: 6.074 MB / 0.5948 GB, free: 3.324 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009533/0.6001, allocations: 4.317 MB / 0.599 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002234/0.6004, allocations: 283.6 kB / 0.5993 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000937/0.6013, allocations: 391.6 kB / 0.5997 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02126/0.6226, allocations: 11.84 MB / 0.6113 GB, free: 1.598 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001791/0.6228, allocations: 51.53 kB / 0.6113 GB, free: 1.547 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005488/0.6234, allocations: 183.8 kB / 0.6115 GB, free: 1.367 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003701/0.6271, allocations: 2.264 MB / 0.6137 GB, free: 15.1 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02019/0.6473, allocations: 9.686 MB / 0.6232 GB, free: 5.402 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05874/0.706, allocations: 46.21 MB / 0.6683 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01007/0.7162, allocations: 3.808 MB / 0.672 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002821/0.719, allocations: 2.046 MB / 0.674 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01094/0.73, allocations: 6.25 MB / 0.6801 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.7301, allocations: 51.5 kB / 0.6802 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=154): time 4.218e-06/0.7301, allocations: 0 / 0.6802 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of matching and sorting (n=166): time 0.04409/0.7742, allocations: 14.83 MB / 0.6946 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.7743, allocations: 192.9 kB / 0.6948 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009023/0.7834, allocations: 5.684 MB / 0.7004 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003609/0.7838, allocations: 53.7 kB / 0.7004 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002999/0.7868, allocations: 3.819 MB / 0.7041 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000932/0.7877, allocations: 0.6636 MB / 0.7048 GB, free: 12 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2617/1.049, allocations: 1.349 MB / 0.7061 GB, free: 191.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 7.555e-05/1.05, allocations: 302.9 kB / 0.7064 GB, free: 191.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004054/1.054, allocations: 2.109 MB / 0.7085 GB, free: 190.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005769/1.059, allocations: 6.391 MB / 0.7147 GB, free: 184.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0106/1.07, allocations: 9.245 MB / 0.7237 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001925/1.07, allocations: 43.28 kB / 0.7238 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=870) (initialization): time 0.0147/1.085, allocations: 8.685 MB / 0.7323 GB, free: 173.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.35e-05/1.085, allocations: 70.59 kB / 0.7323 GB, free: 173.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001583/1.085, allocations: 154.6 kB / 0.7325 GB, free: 173.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00153/1.087, allocations: 0.7105 MB / 0.7332 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004054/1.091, allocations: 1.526 MB / 0.7347 GB, free: 173.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006011/1.097, allocations: 6.326 MB / 0.7408 GB, free: 169 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006083/1.103, allocations: 350.4 kB / 0.7412 GB, free: 168.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001065/1.104, allocations: 420 kB / 0.7416 GB, free: 168.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 (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.004032/1.108, allocations: 2.508 MB / 0.744 GB, free: 167.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007689/1.109, allocations: 463.3 kB / 0.7445 GB, free: 167.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0039/1.113, allocations: 2.701 MB / 0.7471 GB, free: 165.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-05/1.113, allocations: 19.83 kB / 0.7471 GB, free: 165.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/1.113, allocations: 8 kB / 0.7471 GB, free: 165.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/1.113, allocations: 7.688 kB / 0.7471 GB, free: 165.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/1.124, allocations: 7.57 MB / 0.7545 GB, free: 159 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/1.124, allocations: 4 kB / 0.7545 GB, free: 159 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/1.125, allocations: 303.8 kB / 0.7548 GB, free: 158.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001207/1.126, allocations: 495.5 kB / 0.7553 GB, free: 158.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/1.126, allocations: 32 kB / 0.7553 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004796/1.131, allocations: 5.677 MB / 0.7609 GB, free: 152.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.131, allocations: 11.78 kB / 0.7609 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005538/1.137, allocations: 4.963 MB / 0.7657 GB, free: 147.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/1.138, allocations: 0.5158 MB / 0.7662 GB, free: 146.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004685/1.138, allocations: 43.86 kB / 0.7663 GB, free: 146.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/1.14, allocations: 71.92 kB / 0.7663 GB, free: 146.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002371/1.14, allocations: 96.86 kB / 0.7664 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.703e-05/1.14, allocations: 44 kB / 0.7665 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0047/1.145, allocations: 3.638 MB / 0.77 GB, free: 142.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.082e-06/1.145, allocations: 4 kB / 0.77 GB, free: 142.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005541/1.15, allocations: 1.131 MB / 0.7711 GB, free: 141.8 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.005528/1.156, allocations: 5.605 MB / 0.7766 GB, free: 136.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006283/1.162, allocations: 5.183 MB / 0.7817 GB, free: 130.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.162, allocations: 0 / 0.7817 GB, free: 130.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001567/1.164, allocations: 1.484 MB / 0.7831 GB, free: 129.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003428/1.167, allocations: 0.6114 MB / 0.7837 GB, free: 128.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07377/1.241, allocations: 68.38 MB / 0.8505 GB, free: 50.95 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003415/1.244, allocations: 3.851 MB / 0.8542 GB, free: 47.06 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004587/1.249, allocations: 2.152 MB / 0.8564 GB, free: 44.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002398/1.251, allocations: 2.374 MB / 0.8587 GB, free: 42.53 MB / 0.5294 GB Notification: Performance of SimCode: time 4.81e-07/1.251, allocations: 0 / 0.8587 GB, free: 42.53 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3298/1.581, allocations: 88.66 MB / 0.9452 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/1.581, allocations: 210.6 kB / 0.9455 GB, free: 154.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.835/6.417, allocations: 7.75 kB / 0.9455 GB, free: 154.3 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 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.mat","/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