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.001227/0.001227, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001444/0.001444, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2195/0.2195, allocations: 46.11 MB / 344.1 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001704, allocations: 80.14 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.131, allocations: 62.45 MB / 480.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01408/0.1451, allocations: 11.11 MB / 491.2 MB, free: 9.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01042/0.1556, allocations: 4.104 MB / 495.3 MB, free: 5.863 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003354/0.159, allocations: 71.75 kB / 495.4 MB, free: 5.793 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006323/0.1654, allocations: 2.803 MB / 498.2 MB, free: 2.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005851/0.1713, allocations: 1.754 MB / 500 MB, free: 1.223 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001977/0.1733, allocations: 0.698 MB / 0.4889 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005699/0.1791, allocations: 3.666 MB / 0.4925 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005116/0.1842, allocations: 3.789 MB / 0.4962 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00253/0.1868, allocations: 1.511 MB / 0.4977 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003293/0.1901, allocations: 1.974 MB / 0.4996 GB, free: 5.496 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001588/0.1917, allocations: 332 kB / 0.4999 GB, free: 5.172 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003113/0.1948, allocations: 1.174 MB / 0.5011 GB, free: 3.996 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002763/0.1976, allocations: 1.851 MB / 0.5029 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.253/0.4506, allocations: 2.158 MB / 0.505 GB, free: 18.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01178/0.4624, allocations: 6.604 MB / 0.5114 GB, free: 18.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.4625, allocations: 1.844 kB / 0.5114 GB, free: 18.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4625, allocations: 0 / 0.5114 GB, free: 18.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003666/0.4628, allocations: 0 / 0.5114 GB, free: 18.31 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: 1475 * Number of variables: 1475 Notification: Performance of Generate backend data structure: time 0.01885/0.4817, allocations: 4.576 MB / 0.5159 GB, free: 16.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.4818, allocations: 9.031 kB / 0.5159 GB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00266/0.4844, allocations: 0.7052 MB / 0.5166 GB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007875/0.4923, allocations: 1.944 MB / 0.5185 GB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009207/0.5016, allocations: 2.353 MB / 0.5208 GB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006329/0.5022, allocations: 237.9 kB / 0.521 GB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003376/0.5057, allocations: 416.9 kB / 0.5214 GB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0222/0.5279, allocations: 9.739 MB / 0.5309 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001083/0.528, allocations: 42.06 kB / 0.531 GB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000465/0.5285, allocations: 159.5 kB / 0.5311 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002292/0.5308, allocations: 1.765 MB / 0.5329 GB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01473/0.5455, allocations: 8.078 MB / 0.5407 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04766/0.5932, allocations: 38.35 MB / 0.5782 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009778/0.6031, allocations: 3.716 MB / 0.5818 GB, free: 12.69 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002214/0.6053, allocations: 1.627 MB / 0.5834 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0111/0.6164, allocations: 7.881 MB / 0.5911 GB, free: 2.781 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/0.6165, allocations: 54.95 kB / 0.5912 GB, free: 2.723 MB / 430.1 MB Notification: Performance of pre-optimization done (n=141): time 5.099e-06/0.6165, allocations: 4 kB / 0.5912 GB, free: 2.719 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.03751/0.654, allocations: 12.34 MB / 0.6032 GB, free: 6.238 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001409/0.6555, allocations: 1.701 MB / 0.6049 GB, free: 4.363 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007224/0.6627, allocations: 3.804 MB / 0.6086 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005017/0.6633, allocations: 52.08 kB / 0.6086 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002848/0.6661, allocations: 3.001 MB / 0.6116 GB, free: 13.51 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001194/0.6673, allocations: 0.599 MB / 0.6122 GB, free: 12.92 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003158/0.6705, allocations: 1.166 MB / 0.6133 GB, free: 11.74 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.6706, allocations: 305.1 kB / 0.6136 GB, free: 11.44 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00354/0.6742, allocations: 2.033 MB / 0.6156 GB, free: 9.402 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008306/0.6825, allocations: 5.654 MB / 0.6211 GB, free: 2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01076/0.6933, allocations: 8.255 MB / 0.6292 GB, free: 8.473 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000148/0.6935, allocations: 36 kB / 0.6292 GB, free: 8.438 MB / 478.1 MB Notification: Performance of matching and sorting (n=747) (initialization): time 0.02554/0.7191, allocations: 8.898 MB / 0.6379 GB, free: 15.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002058/0.7193, allocations: 60 kB / 0.6379 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01177/0.7311, allocations: 3.339 MB / 0.6412 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009781/0.741, allocations: 1.942 MB / 0.6431 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00452/0.7455, allocations: 1.322 MB / 0.6444 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009214/0.7548, allocations: 6.137 MB / 0.6504 GB, free: 2.648 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005595/0.7604, allocations: 403.4 kB / 0.6508 GB, free: 2.254 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001417/0.7619, allocations: 360 kB / 0.6511 GB, free: 1.902 MB / 494.1 MB 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.005164/0.7671, allocations: 1.997 MB / 0.6531 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000988/0.7681, allocations: 327.7 kB / 0.6534 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.7696, allocations: 444 kB / 0.6538 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005485/0.7751, allocations: 2.504 MB / 0.6562 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/0.7752, allocations: 0 / 0.6562 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.069e-05/0.7752, allocations: 7.984 kB / 0.6562 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01976/0.795, allocations: 8.453 MB / 0.6645 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.493e-05/0.7951, allocations: 4 kB / 0.6645 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00137/0.7964, allocations: 251.6 kB / 0.6647 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003177/0.7996, allocations: 1.037 MB / 0.6658 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002997/0.8, allocations: 42.88 kB / 0.6658 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005847/0.8058, allocations: 5.337 MB / 0.671 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001046/0.8069, allocations: 1.576 MB / 0.6725 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008683/0.8156, allocations: 5.204 MB / 0.6776 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/0.8168, allocations: 384.8 kB / 0.678 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004677/0.8173, allocations: 27.98 kB / 0.678 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001513/0.8188, allocations: 135.8 kB / 0.6782 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002936/0.8191, allocations: 95.31 kB / 0.6782 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/0.8192, allocations: 43.98 kB / 0.6783 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003935/0.8231, allocations: 2.356 MB / 0.6806 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8232, allocations: 0 / 0.6806 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005738/0.8289, allocations: 1.012 MB / 0.6816 GB, free: 2.102 MB / 0.5137 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.008773/0.8377, allocations: 5.849 MB / 0.6873 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01168/0.8494, allocations: 6.072 MB / 0.6932 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/0.8495, allocations: 4.156 kB / 0.6932 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004503/0.854, allocations: 2.159 MB / 0.6953 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002909/0.8569, allocations: 438 kB / 0.6957 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3023/1.159, allocations: 50.76 MB / 0.7453 GB, free: 179.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002849/1.162, allocations: 3.118 MB / 0.7484 GB, free: 177.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004212/1.166, allocations: 1.798 MB / 0.7501 GB, free: 176.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002128/1.168, allocations: 1.76 MB / 0.7518 GB, free: 175 MB / 0.545 GB Notification: Performance of SimCode: time 8.72e-07/1.168, allocations: 0 / 0.7518 GB, free: 175 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1058/1.274, allocations: 70.58 MB / 0.8208 GB, free: 104.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/14.7, allocations: 10.62 kB / 0.8208 GB, free: 104.9 MB / 0.545 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