Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001208/0.001208, allocations: 114.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001558/0.001558, allocations: 209.2 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.216/0.216, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 75.88 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3329, allocations: 62.43 MB / 0.5305 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01134/0.3443, allocations: 11.13 MB / 0.5414 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008535/0.3528, allocations: 4.086 MB / 0.5454 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00249/0.3554, allocations: 65.94 kB / 0.5454 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005495/0.3609, allocations: 2.808 MB / 0.5482 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004976/0.3659, allocations: 1.8 MB / 0.5499 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.3678, allocations: 0.6863 MB / 0.5506 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005015/0.3728, allocations: 3.677 MB / 0.5542 GB, free: 9.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006115/0.3789, allocations: 3.803 MB / 0.5579 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003513/0.3825, allocations: 1.499 MB / 0.5594 GB, free: 4.039 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004171/0.3867, allocations: 1.986 MB / 0.5613 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001655/0.3884, allocations: 332 kB / 0.5616 GB, free: 1.723 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004277/0.3927, allocations: 1.182 MB / 0.5628 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003493/0.3962, allocations: 1.882 MB / 0.5646 GB, free: 14.65 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004727/0.4009, allocations: 2.156 MB / 0.5667 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008074/0.409, allocations: 6.857 MB / 0.5734 GB, free: 5.602 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.4091, allocations: 0 / 0.5734 GB, free: 5.602 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4091, allocations: 0 / 0.5734 GB, free: 5.602 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000181/0.4093, allocations: 0 / 0.5734 GB, free: 5.602 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: 1475 * Number of variables: 1475 Notification: Performance of Generate backend data structure: time 0.007885/0.4172, allocations: 4.694 MB / 0.578 GB, free: 0.832 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.046e-05/0.4172, allocations: 8.031 kB / 0.578 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007241/0.418, allocations: 0.7031 MB / 0.5787 GB, free: 112 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006496/0.4245, allocations: 1.974 MB / 0.5806 GB, free: 14.13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00487/0.4294, allocations: 2.414 MB / 0.583 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/0.4295, allocations: 246.2 kB / 0.5832 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008678/0.4304, allocations: 403.7 kB / 0.5836 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01533/0.4457, allocations: 9.744 MB / 0.5931 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001189/0.4459, allocations: 39.64 kB / 0.5931 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004213/0.4464, allocations: 147.9 kB / 0.5933 GB, free: 432 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002539/0.4489, allocations: 1.763 MB / 0.595 GB, free: 14.65 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01476/0.4637, allocations: 8.081 MB / 0.6029 GB, free: 6.555 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05164/0.5154, allocations: 38.24 MB / 0.6402 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009881/0.5253, allocations: 3.715 MB / 0.6439 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00226/0.5276, allocations: 1.631 MB / 0.6455 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01274/0.5404, allocations: 7.897 MB / 0.6532 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.912e-05/0.5405, allocations: 55.48 kB / 0.6532 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=141): time 4.749e-06/0.5405, allocations: 0 / 0.6532 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=148): time 0.0319/0.5724, allocations: 12.57 MB / 0.6655 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001526/0.574, allocations: 1.708 MB / 0.6672 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00695/0.581, allocations: 3.809 MB / 0.6709 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002623/0.5812, allocations: 49.73 kB / 0.6709 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002737/0.584, allocations: 3.127 MB / 0.674 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001016/0.585, allocations: 0.6242 MB / 0.6746 GB, free: 11 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002527/0.5876, allocations: 1.175 MB / 0.6758 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.632e-05/0.5877, allocations: 305.1 kB / 0.676 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003313/0.591, allocations: 2.033 MB / 0.678 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005302/0.5963, allocations: 5.65 MB / 0.6835 GB, free: 16.01 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008812/0.6052, allocations: 8.253 MB / 0.6916 GB, free: 5.961 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001205/0.6053, allocations: 36 kB / 0.6916 GB, free: 5.926 MB / 0.545 GB Notification: Performance of matching and sorting (n=747) (initialization): time 0.02109/0.6264, allocations: 8.919 MB / 0.7004 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001648/0.6266, allocations: 63.98 kB / 0.7004 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009882/0.6365, allocations: 3.335 MB / 0.7037 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008979/0.6455, allocations: 1.942 MB / 0.7056 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004283/0.6499, allocations: 1.322 MB / 0.7069 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008418/0.6583, allocations: 6.136 MB / 0.7128 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004438/0.6628, allocations: 403.3 kB / 0.7132 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00101/0.6638, allocations: 356 kB / 0.7136 GB, free: 15.13 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 585 * Number of states: 0 () * Number of discrete variables: 41 (FrameTorque1.arrow.twoHeadedArrow,FrameTorque1.arrow.headAtOrigin,FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (709): * Single equations (assignments): 700 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004352/0.6682, allocations: 2.01 MB / 0.7155 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008697/0.6691, allocations: 338.2 kB / 0.7159 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.6703, allocations: 444.2 kB / 0.7163 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005318/0.6757, allocations: 2.504 MB / 0.7187 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.722e-05/0.6757, allocations: 0 / 0.7187 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.537e-05/0.6758, allocations: 7.984 kB / 0.7187 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01953/0.6953, allocations: 8.447 MB / 0.727 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.216e-05/0.6954, allocations: 4 kB / 0.727 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00132/0.6967, allocations: 243.6 kB / 0.7272 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2744/0.9711, allocations: 1.033 MB / 0.7282 GB, free: 176.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004162/0.9715, allocations: 41.08 kB / 0.7283 GB, free: 176.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005775/0.9773, allocations: 5.337 MB / 0.7335 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007437/0.9781, allocations: 1.561 MB / 0.735 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00762/0.9857, allocations: 5.232 MB / 0.7401 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009066/0.9867, allocations: 399.2 kB / 0.7405 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003685/0.987, allocations: 30.56 kB / 0.7405 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/0.9884, allocations: 135.2 kB / 0.7407 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002494/0.9887, allocations: 96.66 kB / 0.7407 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/0.9888, allocations: 45.69 kB / 0.7408 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003345/0.9921, allocations: 2.357 MB / 0.7431 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9922, allocations: 0 / 0.7431 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004511/0.9967, allocations: 1.012 MB / 0.7441 GB, free: 169.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * 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 (114): * Single equations (assignments): 107 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007038/1.004, allocations: 5.877 MB / 0.7498 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008715/1.012, allocations: 5.502 MB / 0.7552 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.013, allocations: 0 / 0.7552 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00362/1.016, allocations: 2.168 MB / 0.7573 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002648/1.019, allocations: 435.4 kB / 0.7577 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05968/1.079, allocations: 45.66 MB / 0.8023 GB, free: 112.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002512/1.081, allocations: 3.121 MB / 0.8054 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003259/1.084, allocations: 1.806 MB / 0.8071 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001881/1.086, allocations: 1.757 MB / 0.8088 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.042e-06/1.086, allocations: 0 / 0.8088 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1008/1.187, allocations: 67.07 MB / 0.8743 GB, free: 38.98 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.6/21.79, allocations: 9.547 kB / 0.8743 GB, free: 38.97 MB / 0.5762 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity_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_trunk_ModelicaTest_MultiBody_Frames_AngularVelocity.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Frames/AngularVelocity/AngularVelocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches