Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques",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.001121/0.001121, 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.001204/0.001204, 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.346/1.346, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2094/0.2094, allocations: 44.17 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 68.84 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1206, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01582/0.1365, allocations: 12.87 MB / 482.2 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01191/0.1485, allocations: 4.516 MB / 486.7 MB, free: 12.81 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002759/0.1513, allocations: 87.75 kB / 486.8 MB, free: 12.72 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007551/0.1589, allocations: 3.734 MB / 490.6 MB, free: 8.977 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007032/0.166, allocations: 2.264 MB / 492.8 MB, free: 6.703 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002503/0.1685, allocations: 0.9943 MB / 493.8 MB, free: 5.707 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00829/0.1768, allocations: 6.04 MB / 499.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006498/0.1833, allocations: 4.608 MB / 0.4927 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004283/0.1877, allocations: 1.994 MB / 0.4946 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004864/0.1925, allocations: 2.652 MB / 0.4972 GB, free: 6.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001912/0.1945, allocations: 416 kB / 0.4976 GB, free: 5.914 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004747/0.1993, allocations: 1.467 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00405/0.2033, allocations: 2.486 MB / 0.5014 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2694/0.4727, allocations: 2.862 MB / 0.5042 GB, free: 20.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01671/0.4895, allocations: 8.752 MB / 0.5128 GB, free: 20.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.4896, allocations: 0 / 0.5128 GB, free: 20.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4896, allocations: 0 / 0.5128 GB, free: 20.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003943/0.49, allocations: 1.062 kB / 0.5128 GB, free: 20.3 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: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.02403/0.514, allocations: 6.323 MB / 0.519 GB, free: 17.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.5141, allocations: 10.22 kB / 0.519 GB, free: 17.88 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003738/0.5178, allocations: 0.8491 MB / 0.5198 GB, free: 17.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04024/0.5581, allocations: 6.074 MB / 0.5257 GB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01089/0.569, allocations: 4.329 MB / 0.53 GB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002552/0.5693, allocations: 284.7 kB / 0.5302 GB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001914/0.5712, allocations: 389.5 kB / 0.5306 GB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02514/0.5964, allocations: 11.85 MB / 0.5422 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002889/0.5967, allocations: 63.83 kB / 0.5422 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00198/0.5987, allocations: 187.4 kB / 0.5424 GB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004276/0.603, allocations: 2.271 MB / 0.5446 GB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0229/0.626, allocations: 9.674 MB / 0.5541 GB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.066/0.692, allocations: 46.31 MB / 0.5993 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/0.7026, allocations: 3.781 MB / 0.603 GB, free: 9.715 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002686/0.7053, allocations: 2.019 MB / 0.605 GB, free: 7.684 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01051/0.7159, allocations: 5.661 MB / 0.6105 GB, free: 1.961 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.447e-05/0.7159, allocations: 54.67 kB / 0.6106 GB, free: 1.902 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 3.938e-06/0.716, allocations: 0 / 0.6106 GB, free: 1.902 MB / 446.1 MB Notification: Performance of matching and sorting (n=162): time 0.04464/0.7606, allocations: 15.72 MB / 0.6259 GB, free: 2.016 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/0.7608, allocations: 230.2 kB / 0.6261 GB, free: 1.742 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009267/0.7701, allocations: 5.688 MB / 0.6317 GB, free: 12.08 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003572/0.7705, allocations: 45.7 kB / 0.6317 GB, free: 12.03 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002843/0.7733, allocations: 3.851 MB / 0.6355 GB, free: 8.18 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008676/0.7742, allocations: 0.6528 MB / 0.6361 GB, free: 7.531 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001815/0.776, allocations: 1.35 MB / 0.6374 GB, free: 6.176 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.7762, allocations: 305.1 kB / 0.6377 GB, free: 5.875 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003141/0.7793, allocations: 2.09 MB / 0.6398 GB, free: 3.781 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00606/0.7854, allocations: 6.361 MB / 0.646 GB, free: 11.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01032/0.7958, allocations: 9.195 MB / 0.655 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001261/0.7959, allocations: 43.98 kB / 0.655 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of matching and sorting (n=866) (initialization): time 0.01613/0.8121, allocations: 8.648 MB / 0.6634 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.8122, allocations: 70.66 kB / 0.6635 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001741/0.8124, allocations: 152 kB / 0.6637 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001809/0.8142, allocations: 0.725 MB / 0.6644 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004658/0.8189, allocations: 1.517 MB / 0.6659 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007721/0.8266, allocations: 6.99 MB / 0.6727 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005787/0.8324, allocations: 343.5 kB / 0.673 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001011/0.8335, allocations: 420 kB / 0.6734 GB, free: 13.79 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 (frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (804): * Single equations (assignments): 797 * 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,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005059/0.8385, allocations: 2.51 MB / 0.6759 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009382/0.8395, allocations: 465.9 kB / 0.6763 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004599/0.8441, allocations: 2.659 MB / 0.6789 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-05/0.8442, allocations: 19.98 kB / 0.6789 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.655e-05/0.8442, allocations: 8 kB / 0.6789 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.677e-05/0.8442, allocations: 11.97 kB / 0.6789 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01568/0.8599, allocations: 7.583 MB / 0.6863 GB, free: 448 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/0.86, allocations: 8.062 kB / 0.6863 GB, free: 440 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/0.8613, allocations: 251.6 kB / 0.6866 GB, free: 188 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001449/0.8628, allocations: 0.4972 MB / 0.6871 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001589/0.8629, allocations: 31.98 kB / 0.6871 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006888/0.8698, allocations: 6.28 MB / 0.6932 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.8699, allocations: 7.938 kB / 0.6932 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007336/0.8772, allocations: 4.949 MB / 0.6981 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001704/0.879, allocations: 0.5223 MB / 0.6986 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005695/0.8795, allocations: 28 kB / 0.6986 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/0.8811, allocations: 75.91 kB / 0.6987 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002603/0.8814, allocations: 96.94 kB / 0.6988 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/0.8815, allocations: 51.28 kB / 0.6988 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.2589/1.14, allocations: 3.646 MB / 0.7024 GB, free: 183.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.22e-07/1.141, allocations: 0.8438 kB / 0.7024 GB, free: 183.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008289/1.149, allocations: 1.115 MB / 0.7035 GB, free: 183.7 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (120): * Single equations (assignments): 115 * 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,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008411/1.157, allocations: 5.588 MB / 0.7089 GB, free: 182.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009011/1.166, allocations: 5.559 MB / 0.7144 GB, free: 180.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/1.166, allocations: 0 / 0.7144 GB, free: 180.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001862/1.168, allocations: 1.491 MB / 0.7158 GB, free: 180.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004339/1.173, allocations: 0.6445 MB / 0.7165 GB, free: 179.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07742/1.25, allocations: 66.3 MB / 0.7812 GB, free: 116.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005353/1.255, allocations: 3.848 MB / 0.785 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005174/1.261, allocations: 2.141 MB / 0.787 GB, free: 110.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004176/1.265, allocations: 2.378 MB / 0.7894 GB, free: 108.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.112e-06/1.265, allocations: 0 / 0.7894 GB, free: 108.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1421/1.407, allocations: 89.8 MB / 0.8771 GB, free: 18.72 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/13.36, allocations: 6.812 kB / 0.8771 GB, free: 18.72 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques_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_FrameTorques.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches