Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_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.001268/0.001268, allocations: 103.1 kB / 16.27 MB, free: 6.41 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.001273/0.001273, allocations: 188.6 kB / 17.19 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.505/1.505, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.207/0.207, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 73.34 kB / 382.8 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09863/0.1004, allocations: 57.78 MB / 440.6 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01188/0.1123, allocations: 13.72 MB / 454.3 MB, free: 8.996 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008896/0.1213, allocations: 4.603 MB / 458.9 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002222/0.1235, allocations: 91.75 kB / 459 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006877/0.1304, allocations: 3.753 MB / 462.8 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006638/0.1371, allocations: 2.362 MB / 465.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002445/0.1396, allocations: 1.006 MB / 466.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008131/0.1478, allocations: 5.905 MB / 472.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006804/0.1546, allocations: 4.706 MB / 476.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003737/0.1584, allocations: 2.079 MB / 478.8 MB, free: 376 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004068/0.1625, allocations: 2.831 MB / 481.7 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001365/0.1639, allocations: 444 kB / 482.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003374/0.1673, allocations: 1.463 MB / 483.6 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003234/0.1705, allocations: 2.622 MB / 486.2 MB, free: 9 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004708/0.1753, allocations: 3.002 MB / 489.2 MB, free: 5.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01071/0.186, allocations: 9.233 MB / 498.4 MB, free: 12.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.186, allocations: 4 kB / 498.4 MB, free: 12.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1861, allocations: 4 kB / 498.4 MB, free: 12.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002814/0.1863, allocations: 0 / 498.4 MB, free: 12.71 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01565/0.202, allocations: 6.576 MB / 0.4932 GB, free: 6.059 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.2021, allocations: 15.88 kB / 0.4932 GB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001885/0.204, allocations: 0.8932 MB / 0.4941 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03975/0.2437, allocations: 6.121 MB / 0.5 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009776/0.2535, allocations: 4.719 MB / 0.5047 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002811/0.2538, allocations: 303.7 kB / 0.5049 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001548/0.2554, allocations: 407.6 kB / 0.5053 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02398/0.2794, allocations: 12.48 MB / 0.5175 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002405/0.2797, allocations: 63.38 kB / 0.5176 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001397/0.2811, allocations: 191.8 kB / 0.5178 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004265/0.2854, allocations: 2.409 MB / 0.5201 GB, free: 9.531 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2126/0.498, allocations: 10.28 MB / 0.5301 GB, free: 79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05909/0.5572, allocations: 48.38 MB / 0.5774 GB, free: 45.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01104/0.5683, allocations: 4.67 MB / 0.582 GB, free: 43.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003001/0.5713, allocations: 2.312 MB / 0.5842 GB, free: 41.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01111/0.5824, allocations: 6.895 MB / 0.5909 GB, free: 35.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.5825, allocations: 59.81 kB / 0.591 GB, free: 35.1 MB / 414.1 MB Notification: Performance of pre-optimization done (n=181): time 3.857e-06/0.5825, allocations: 0 / 0.591 GB, free: 35.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=193): time 0.04224/0.6248, allocations: 16.18 MB / 0.6068 GB, free: 18.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.255e-05/0.6249, allocations: 197.2 kB / 0.607 GB, free: 18.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00798/0.6329, allocations: 5.852 MB / 0.6127 GB, free: 12.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004887/0.6334, allocations: 57.7 kB / 0.6128 GB, free: 12.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002268/0.6357, allocations: 4.009 MB / 0.6167 GB, free: 8.684 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007977/0.6365, allocations: 0.7542 MB / 0.6174 GB, free: 7.934 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001462/0.638, allocations: 1.438 MB / 0.6188 GB, free: 6.488 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.697e-05/0.638, allocations: 305.1 kB / 0.6191 GB, free: 6.188 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002826/0.6409, allocations: 2.38 MB / 0.6214 GB, free: 3.805 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005739/0.6466, allocations: 6.806 MB / 0.6281 GB, free: 10.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01191/0.6586, allocations: 9.956 MB / 0.6378 GB, free: 14.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001262/0.6587, allocations: 44 kB / 0.6378 GB, free: 14.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=926) (initialization): time 0.01835/0.6771, allocations: 9.422 MB / 0.647 GB, free: 5.176 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.6772, allocations: 74.06 kB / 0.6471 GB, free: 5.105 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001721/0.6774, allocations: 156 kB / 0.6473 GB, free: 4.953 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00175/0.6792, allocations: 0.7193 MB / 0.648 GB, free: 4.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005515/0.6847, allocations: 1.641 MB / 0.6496 GB, free: 2.586 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00742/0.6922, allocations: 6.849 MB / 0.6563 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005546/0.6977, allocations: 383.4 kB / 0.6566 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001079/0.6988, allocations: 442.1 kB / 0.657 GB, free: 10.68 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (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 (866): * Single equations (assignments): 859 * 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.004192/0.703, allocations: 2.619 MB / 0.6596 GB, free: 8.051 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000894/0.7039, allocations: 489.6 kB / 0.6601 GB, free: 7.566 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005405/0.7094, allocations: 3.234 MB / 0.6632 GB, free: 4.309 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.478e-05/0.7094, allocations: 26.09 kB / 0.6633 GB, free: 4.285 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.7094, allocations: 4 kB / 0.6633 GB, free: 4.281 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.021e-05/0.7095, allocations: 15.97 kB / 0.6633 GB, free: 4.266 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01615/0.7256, allocations: 8.584 MB / 0.6717 GB, free: 11.62 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/0.7257, allocations: 4 kB / 0.6717 GB, free: 11.62 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001792/0.7275, allocations: 355.8 kB / 0.672 GB, free: 11.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001447/0.7289, allocations: 497.2 kB / 0.6725 GB, free: 10.78 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002109/0.7292, allocations: 39.98 kB / 0.6725 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006531/0.7357, allocations: 6.191 MB / 0.6786 GB, free: 4.266 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.7357, allocations: 8 kB / 0.6786 GB, free: 4.258 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00868/0.7444, allocations: 5.829 MB / 0.6843 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002046/0.7465, allocations: 0.7993 MB / 0.685 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001174/0.7477, allocations: 35.83 kB / 0.6851 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002263/0.75, allocations: 95.88 kB / 0.6852 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003586/0.7504, allocations: 121 kB / 0.6853 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000154/0.7505, allocations: 52 kB / 0.6853 GB, free: 13.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008864/0.7594, allocations: 3.759 MB / 0.689 GB, free: 9.52 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.415e-06/0.7595, allocations: 0 / 0.689 GB, free: 9.52 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008868/0.7684, allocations: 1.202 MB / 0.6902 GB, free: 8.32 MB / 494.1 MB 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 (154): * Single equations (assignments): 149 * 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.01048/0.7789, allocations: 6.484 MB / 0.6965 GB, free: 1.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01123/0.7901, allocations: 6.912 MB / 0.7033 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/0.7902, allocations: 0 / 0.7033 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002422/0.7926, allocations: 1.762 MB / 0.705 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004484/0.7971, allocations: 0.6594 MB / 0.7056 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2857/1.083, allocations: 71.19 MB / 0.7751 GB, free: 145.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003613/1.086, allocations: 4.026 MB / 0.7791 GB, free: 142.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004773/1.091, allocations: 2.281 MB / 0.7813 GB, free: 140 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002866/1.094, allocations: 2.51 MB / 0.7838 GB, free: 137.4 MB / 0.5137 GB Notification: Performance of SimCode: time 7.22e-07/1.094, allocations: 0 / 0.7838 GB, free: 137.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1286/1.223, allocations: 95.03 MB / 0.8766 GB, free: 42.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.88, allocations: 0 / 0.8766 GB, free: 42.4 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches