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.00124/0.00124, allocations: 113.8 kB / 17.78 MB, free: 5.277 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.00122/0.00122, allocations: 179.9 kB / 18.71 MB, free: 4.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.439/1.439, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.2177/0.2177, allocations: 44.18 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 64.03 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3279, allocations: 60.82 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01421/0.3421, allocations: 12.88 MB / 0.531 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01056/0.3528, allocations: 4.509 MB / 0.5354 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002525/0.3553, allocations: 91.44 kB / 0.5355 GB, free: 6.672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007441/0.3628, allocations: 3.745 MB / 0.5392 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00662/0.3695, allocations: 2.246 MB / 0.5414 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002766/0.3723, allocations: 0.9999 MB / 0.5423 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009965/0.3822, allocations: 6.046 MB / 0.5482 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006448/0.3887, allocations: 4.601 MB / 0.5527 GB, free: 8.863 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003999/0.3928, allocations: 1.994 MB / 0.5547 GB, free: 6.863 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004425/0.3972, allocations: 2.66 MB / 0.5573 GB, free: 4.195 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001358/0.3986, allocations: 416 kB / 0.5577 GB, free: 3.789 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003636/0.4023, allocations: 1.459 MB / 0.5591 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003195/0.4055, allocations: 2.49 MB / 0.5615 GB, free: 15.83 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004408/0.4099, allocations: 2.855 MB / 0.5643 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01182/0.4217, allocations: 9.066 MB / 0.5732 GB, free: 3.859 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.182e-05/0.4218, allocations: 8 kB / 0.5732 GB, free: 3.852 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.228e-06/0.4218, allocations: 0 / 0.5732 GB, free: 3.852 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005526/0.4224, allocations: 0 / 0.5732 GB, free: 3.852 MB / 430.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.01709/0.4395, allocations: 6.484 MB / 0.5795 GB, free: 13.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.4396, allocations: 8.031 kB / 0.5795 GB, free: 13.28 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002061/0.4417, allocations: 0.8476 MB / 0.5803 GB, free: 12.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04054/0.4822, allocations: 6.117 MB / 0.5863 GB, free: 6.293 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01149/0.4937, allocations: 4.404 MB / 0.5906 GB, free: 1.836 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003519/0.4941, allocations: 295.3 kB / 0.5909 GB, free: 1.547 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001708/0.4959, allocations: 391.7 kB / 0.5913 GB, free: 1.164 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02605/0.5219, allocations: 11.86 MB / 0.6028 GB, free: 4.457 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002871/0.5223, allocations: 55.58 kB / 0.6029 GB, free: 4.402 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001361/0.5236, allocations: 179.8 kB / 0.6031 GB, free: 4.227 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004497/0.5282, allocations: 2.272 MB / 0.6053 GB, free: 1.953 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02168/0.5499, allocations: 9.689 MB / 0.6148 GB, free: 8.25 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06668/0.6166, allocations: 46.18 MB / 0.6599 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01118/0.6278, allocations: 3.792 MB / 0.6636 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003096/0.631, allocations: 2.014 MB / 0.6655 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01098/0.642, allocations: 5.678 MB / 0.6711 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/0.642, allocations: 48.05 kB / 0.6711 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=150): time 9.128e-06/0.6421, allocations: 3.984 kB / 0.6711 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162): time 0.04746/0.6895, allocations: 16.08 MB / 0.6868 GB, free: 12.7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001734/0.6897, allocations: 230.1 kB / 0.687 GB, free: 12.42 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01164/0.7014, allocations: 5.705 MB / 0.6926 GB, free: 6.742 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003593/0.7018, allocations: 45.7 kB / 0.6927 GB, free: 6.691 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003984/0.7058, allocations: 3.994 MB / 0.6966 GB, free: 2.66 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001027/0.7068, allocations: 0.6825 MB / 0.6972 GB, free: 1.973 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003196/0.7101, allocations: 1.357 MB / 0.6985 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.7102, allocations: 309.1 kB / 0.6988 GB, free: 308 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003735/0.7139, allocations: 2.078 MB / 0.7009 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007773/0.7217, allocations: 6.366 MB / 0.7071 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01203/0.7338, allocations: 9.193 MB / 0.7161 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001295/0.734, allocations: 44 kB / 0.7161 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.01675/0.7507, allocations: 8.676 MB / 0.7246 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001693/0.7509, allocations: 68 kB / 0.7246 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002258/0.7512, allocations: 152 kB / 0.7248 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001968/0.7531, allocations: 0.7268 MB / 0.7255 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2511/1.004, allocations: 1.51 MB / 0.727 GB, free: 177 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008456/1.013, allocations: 6.973 MB / 0.7338 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005437/1.018, allocations: 345.2 kB / 0.7341 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001317/1.02, allocations: 416.9 kB / 0.7345 GB, free: 173.4 MB / 0.5762 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.005333/1.025, allocations: 2.507 MB / 0.737 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001132/1.026, allocations: 494.7 kB / 0.7374 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00487/1.031, allocations: 2.658 MB / 0.74 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-05/1.031, allocations: 22.44 kB / 0.74 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.712e-05/1.031, allocations: 8.875 kB / 0.7401 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.93e-05/1.031, allocations: 8.688 kB / 0.7401 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01496/1.046, allocations: 7.572 MB / 0.7475 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-05/1.046, allocations: 5.594 kB / 0.7475 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/1.047, allocations: 252.6 kB / 0.7477 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001279/1.049, allocations: 0.4978 MB / 0.7482 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001648/1.049, allocations: 32.5 kB / 0.7482 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005729/1.055, allocations: 6.29 MB / 0.7544 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.055, allocations: 3.938 kB / 0.7544 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006192/1.061, allocations: 4.961 MB / 0.7592 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/1.062, allocations: 0.5563 MB / 0.7598 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007375/1.063, allocations: 31.47 kB / 0.7598 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001682/1.065, allocations: 70.36 kB / 0.7599 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002996/1.065, allocations: 100.2 kB / 0.76 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/1.065, allocations: 45 kB / 0.76 GB, free: 162 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006198/1.071, allocations: 3.65 MB / 0.7636 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.52e-07/1.071, allocations: 0 / 0.7636 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006205/1.078, allocations: 1.124 MB / 0.7647 GB, free: 160.5 MB / 0.5762 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.005729/1.083, allocations: 5.617 MB / 0.7701 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006954/1.09, allocations: 5.183 MB / 0.7752 GB, free: 150 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/1.09, allocations: 0 / 0.7752 GB, free: 150 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001842/1.092, allocations: 1.492 MB / 0.7767 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00398/1.096, allocations: 0.6485 MB / 0.7773 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07213/1.168, allocations: 54.64 MB / 0.8307 GB, free: 86.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005492/1.174, allocations: 3.854 MB / 0.8344 GB, free: 82.62 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004658/1.179, allocations: 2.133 MB / 0.8365 GB, free: 80.48 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002936/1.182, allocations: 2.374 MB / 0.8388 GB, free: 78.11 MB / 0.5762 GB Notification: Performance of SimCode: time 8.01e-07/1.182, allocations: 0 / 0.8388 GB, free: 78.11 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1374/1.319, allocations: 85.11 MB / 0.9219 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.26/33.58, allocations: 20.88 kB / 0.922 GB, free: 9.488 MB / 0.5919 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