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.001439/0.001439, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001767/0.001767, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2134/0.2134, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 75.88 kB / 480.8 MB, free: 4.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3392, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01204/0.3513, allocations: 11.13 MB / 0.5414 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01008/0.3614, allocations: 4.086 MB / 0.5454 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002834/0.3643, allocations: 65.72 kB / 0.5454 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006135/0.3705, allocations: 2.803 MB / 0.5482 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00527/0.3758, allocations: 1.798 MB / 0.5499 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001836/0.3777, allocations: 0.694 MB / 0.5506 GB, free: 13.17 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005211/0.3829, allocations: 3.684 MB / 0.5542 GB, free: 9.473 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004692/0.3876, allocations: 3.803 MB / 0.5579 GB, free: 5.605 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002592/0.3902, allocations: 1.499 MB / 0.5594 GB, free: 4.102 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002918/0.3931, allocations: 1.986 MB / 0.5613 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001013/0.3942, allocations: 332 kB / 0.5616 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002811/0.397, allocations: 1.178 MB / 0.5628 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0025/0.3995, allocations: 1.882 MB / 0.5646 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003471/0.403, allocations: 2.152 MB / 0.5667 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008925/0.4119, allocations: 6.857 MB / 0.5734 GB, free: 5.672 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.377e-06/0.412, allocations: 4 kB / 0.5734 GB, free: 5.668 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.412, allocations: 7.938 kB / 0.5734 GB, free: 5.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002941/0.4123, allocations: 0 / 0.5734 GB, free: 5.66 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.01105/0.4234, allocations: 4.69 MB / 0.578 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.4234, allocations: 8.031 kB / 0.578 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002046/0.4255, allocations: 0.707 MB / 0.5787 GB, free: 172 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007347/0.4328, allocations: 1.966 MB / 0.5806 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006332/0.4392, allocations: 2.41 MB / 0.583 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003389/0.4396, allocations: 246.2 kB / 0.5832 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001912/0.4415, allocations: 399.7 kB / 0.5836 GB, free: 11.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01932/0.4609, allocations: 9.74 MB / 0.5931 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001691/0.4611, allocations: 39.64 kB / 0.5931 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009798/0.4621, allocations: 151.9 kB / 0.5933 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002617/0.4647, allocations: 1.763 MB / 0.595 GB, free: 14.73 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01636/0.4811, allocations: 8.078 MB / 0.6029 GB, free: 6.629 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04968/0.5308, allocations: 38.25 MB / 0.6402 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009273/0.5401, allocations: 3.717 MB / 0.6439 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002462/0.5426, allocations: 1.623 MB / 0.6455 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01185/0.5545, allocations: 7.909 MB / 0.6532 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.313e-05/0.5546, allocations: 47.56 kB / 0.6532 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=141): time 4.799e-06/0.5546, allocations: 3.938 kB / 0.6532 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of matching and sorting (n=148): time 0.02913/0.5838, allocations: 12.56 MB / 0.6655 GB, free: 4.605 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001448/0.5852, allocations: 1.716 MB / 0.6672 GB, free: 2.711 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006513/0.5918, allocations: 3.805 MB / 0.6709 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003171/0.5921, allocations: 49.7 kB / 0.6709 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002577/0.5947, allocations: 3.131 MB / 0.674 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008579/0.5956, allocations: 0.6203 MB / 0.6746 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002174/0.5978, allocations: 1.179 MB / 0.6757 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.089e-05/0.5979, allocations: 301.2 kB / 0.676 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00319/0.6011, allocations: 2.041 MB / 0.678 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005924/0.607, allocations: 5.646 MB / 0.6835 GB, free: 84 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009173/0.6162, allocations: 8.255 MB / 0.6916 GB, free: 6.027 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001195/0.6164, allocations: 36 kB / 0.6916 GB, free: 5.992 MB / 0.545 GB Notification: Performance of matching and sorting (n=747) (initialization): time 0.01886/0.6352, allocations: 8.925 MB / 0.7004 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001308/0.6354, allocations: 60.22 kB / 0.7004 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009258/0.6447, allocations: 3.335 MB / 0.7037 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008439/0.6531, allocations: 1.934 MB / 0.7056 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004268/0.6574, allocations: 1.326 MB / 0.7068 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007985/0.6654, allocations: 6.137 MB / 0.7128 GB, free: 15.94 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004598/0.6701, allocations: 399.3 kB / 0.7132 GB, free: 15.55 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009972/0.6711, allocations: 360 kB / 0.7136 GB, free: 15.2 MB / 0.5763 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.003829/0.6749, allocations: 2.002 MB / 0.7155 GB, free: 13.18 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007451/0.6757, allocations: 341.7 kB / 0.7158 GB, free: 12.85 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.6767, allocations: 444.6 kB / 0.7163 GB, free: 12.41 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004659/0.6814, allocations: 2.504 MB / 0.7187 GB, free: 9.883 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/0.6814, allocations: 4 kB / 0.7187 GB, free: 9.879 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.988e-05/0.6815, allocations: 7.984 kB / 0.7187 GB, free: 9.871 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01562/0.6971, allocations: 8.439 MB / 0.727 GB, free: 1.328 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/0.6971, allocations: 3.938 kB / 0.727 GB, free: 1.324 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/0.6983, allocations: 255.7 kB / 0.7272 GB, free: 1.074 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002895/0.7012, allocations: 1.033 MB / 0.7282 GB, free: 28 kB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.2781/0.9794, allocations: 40.8 kB / 0.7283 GB, free: 176.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005911/0.9854, allocations: 5.334 MB / 0.7335 GB, free: 173.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007509/0.9861, allocations: 1.563 MB / 0.735 GB, free: 172.3 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008231/0.9944, allocations: 5.228 MB / 0.7401 GB, free: 170.4 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001289/0.9957, allocations: 399.9 kB / 0.7405 GB, free: 170.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003989/0.9961, allocations: 36.55 kB / 0.7405 GB, free: 170.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/0.9975, allocations: 135.9 kB / 0.7406 GB, free: 170.2 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003021/0.9978, allocations: 88.05 kB / 0.7407 GB, free: 170.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/0.9979, allocations: 52.97 kB / 0.7408 GB, free: 170.2 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.003678/1.002, allocations: 2.359 MB / 0.7431 GB, free: 169.4 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.2e-07/1.002, allocations: 0 / 0.7431 GB, free: 169.4 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.004733/1.006, allocations: 1.006 MB / 0.7441 GB, free: 169.3 MB / 0.5763 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.007138/1.014, allocations: 5.875 MB / 0.7498 GB, free: 166.9 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.008184/1.022, allocations: 5.512 MB / 0.7552 GB, free: 164.9 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/1.022, allocations: 3.969 kB / 0.7552 GB, free: 164.9 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.003364/1.025, allocations: 2.156 MB / 0.7573 GB, free: 163.9 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002666/1.028, allocations: 432.8 kB / 0.7577 GB, free: 163.6 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05962/1.087, allocations: 45.67 MB / 0.8023 GB, free: 112.6 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002463/1.09, allocations: 3.117 MB / 0.8054 GB, free: 109.4 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.003279/1.093, allocations: 1.802 MB / 0.8071 GB, free: 107.6 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00166/1.095, allocations: 1.765 MB / 0.8088 GB, free: 105.8 MB / 0.5763 GB Notification: Performance of SimCode: time 8.11e-07/1.095, allocations: 3.938 kB / 0.8088 GB, free: 105.8 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09737/1.192, allocations: 67.05 MB / 0.8743 GB, free: 39.15 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.2/21.39, allocations: 13.97 kB / 0.8743 GB, free: 39.14 MB / 0.5763 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