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.001102/0.001102, allocations: 104.2 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.001096/0.001096, allocations: 191.9 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.315/1.315, 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.203/0.203, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.67 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.12, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.0144/0.1345, allocations: 12.84 MB / 482.2 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.1454, allocations: 4.524 MB / 486.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002602/0.1481, allocations: 87.75 kB / 486.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008417/0.1565, allocations: 3.73 MB / 490.5 MB, free: 9 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00744/0.1641, allocations: 2.256 MB / 492.8 MB, free: 6.738 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002819/0.167, allocations: 0.9942 MB / 493.8 MB, free: 5.742 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009647/0.1766, allocations: 6.028 MB / 499.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00745/0.1841, allocations: 4.604 MB / 0.4926 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004991/0.1892, allocations: 1.986 MB / 0.4945 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004858/0.1941, allocations: 2.648 MB / 0.4971 GB, free: 6.383 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001699/0.1958, allocations: 419.9 kB / 0.4975 GB, free: 5.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003777/0.1996, allocations: 1.459 MB / 0.499 GB, free: 4.512 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003684/0.2033, allocations: 2.494 MB / 0.5014 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2207/0.4241, allocations: 2.844 MB / 0.5042 GB, free: 20.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01703/0.4412, allocations: 8.743 MB / 0.5127 GB, free: 20.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.4413, allocations: 0 / 0.5127 GB, free: 20.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4413, allocations: 0 / 0.5127 GB, free: 20.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000305/0.4416, allocations: 0 / 0.5127 GB, free: 20.37 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.01826/0.4599, allocations: 6.31 MB / 0.5189 GB, free: 17.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.4599, allocations: 8.75 kB / 0.5189 GB, free: 17.95 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002223/0.4622, allocations: 0.8461 MB / 0.5197 GB, free: 17.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03875/0.5009, allocations: 6.077 MB / 0.5256 GB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00951/0.5105, allocations: 4.319 MB / 0.5299 GB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002679/0.5108, allocations: 288 kB / 0.5301 GB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001869/0.5127, allocations: 383.6 kB / 0.5305 GB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02176/0.5344, allocations: 11.84 MB / 0.5421 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001561/0.5346, allocations: 64.73 kB / 0.5421 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004963/0.5351, allocations: 179.9 kB / 0.5423 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003161/0.5383, allocations: 2.271 MB / 0.5445 GB, free: 6.258 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0173/0.5556, allocations: 9.675 MB / 0.554 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0552/0.6108, allocations: 46.22 MB / 0.5991 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01121/0.6221, allocations: 3.802 MB / 0.6028 GB, free: 9.969 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003294/0.6255, allocations: 2.044 MB / 0.6048 GB, free: 7.918 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01297/0.6385, allocations: 6.258 MB / 0.6109 GB, free: 1.605 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/0.6386, allocations: 55.55 kB / 0.611 GB, free: 1.543 MB / 446.1 MB Notification: Performance of pre-optimization done (n=154): time 5.21e-06/0.6386, allocations: 0 / 0.611 GB, free: 1.543 MB / 446.1 MB Notification: Performance of matching and sorting (n=166): time 0.04542/0.684, allocations: 14.83 MB / 0.6254 GB, free: 2.625 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.6842, allocations: 200.9 kB / 0.6256 GB, free: 2.387 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01237/0.6965, allocations: 5.671 MB / 0.6312 GB, free: 12.74 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004535/0.697, allocations: 47.97 kB / 0.6312 GB, free: 12.69 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003847/0.7009, allocations: 3.829 MB / 0.635 GB, free: 8.863 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001155/0.7021, allocations: 0.6646 MB / 0.6356 GB, free: 8.203 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003679/0.7058, allocations: 1.352 MB / 0.6369 GB, free: 6.844 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.404e-05/0.7059, allocations: 301.1 kB / 0.6372 GB, free: 6.547 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003993/0.7099, allocations: 2.109 MB / 0.6393 GB, free: 4.434 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006656/0.7166, allocations: 6.387 MB / 0.6455 GB, free: 11.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009782/0.7264, allocations: 9.253 MB / 0.6546 GB, free: 1.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001251/0.7265, allocations: 44 kB / 0.6546 GB, free: 1.188 MB / 494.1 MB Notification: Performance of matching and sorting (n=870) (initialization): time 0.01742/0.744, allocations: 8.686 MB / 0.6631 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002117/0.7442, allocations: 68 kB / 0.6631 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002716/0.7445, allocations: 155.9 kB / 0.6633 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002003/0.7465, allocations: 0.7089 MB / 0.664 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004971/0.7515, allocations: 1.524 MB / 0.6655 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007531/0.7591, allocations: 6.836 MB / 0.6721 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005122/0.7642, allocations: 347.5 kB / 0.6725 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001065/0.7653, allocations: 423.3 kB / 0.6729 GB, free: 14.49 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.004782/0.7701, allocations: 2.51 MB / 0.6753 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009995/0.7711, allocations: 465.9 kB / 0.6758 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005136/0.7763, allocations: 2.7 MB / 0.6784 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.044e-05/0.7763, allocations: 16 kB / 0.6784 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/0.7763, allocations: 11.94 kB / 0.6784 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.59e-05/0.7764, allocations: 3.984 kB / 0.6784 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01842/0.7948, allocations: 7.573 MB / 0.6858 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.948e-05/0.7948, allocations: 4 kB / 0.6858 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001525/0.7964, allocations: 299.5 kB / 0.6861 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001467/0.7979, allocations: 493.3 kB / 0.6866 GB, free: 348 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000226/0.7981, allocations: 27.98 kB / 0.6866 GB, free: 320 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007133/0.8053, allocations: 6.199 MB / 0.6927 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/0.8053, allocations: 15.81 kB / 0.6927 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007201/0.8125, allocations: 4.957 MB / 0.6975 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/0.8139, allocations: 0.5261 MB / 0.6981 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009598/0.8149, allocations: 24 kB / 0.6981 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001862/0.8167, allocations: 75.91 kB / 0.6981 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002753/0.817, allocations: 104.8 kB / 0.6982 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/0.8172, allocations: 43.98 kB / 0.6983 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006468/0.8236, allocations: 3.638 MB / 0.7018 GB, free: 420 kB / 0.5294 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8236, allocations: 0 / 0.7018 GB, free: 420 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.2267/1.05, allocations: 1.123 MB / 0.7029 GB, free: 185.4 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.00769/1.058, allocations: 5.608 MB / 0.7084 GB, free: 184.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00884/1.067, allocations: 5.913 MB / 0.7142 GB, free: 182.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/1.067, allocations: 0 / 0.7142 GB, free: 182.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001651/1.069, allocations: 1.496 MB / 0.7156 GB, free: 182.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004802/1.073, allocations: 0.6481 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.07405/1.148, allocations: 66.31 MB / 0.781 GB, free: 117.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003663/1.151, allocations: 3.849 MB / 0.7848 GB, free: 113.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00465/1.156, allocations: 2.16 MB / 0.7869 GB, free: 111.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002723/1.159, allocations: 2.378 MB / 0.7892 GB, free: 108.8 MB / 0.5294 GB Notification: Performance of SimCode: time 1.072e-06/1.159, allocations: 0 / 0.7892 GB, free: 108.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2731/1.432, allocations: 90.5 MB / 0.8776 GB, free: 18.74 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.27/15.7, allocations: 13.78 kB / 0.8776 GB, free: 18.73 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