Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.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.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Frames_AngularVelocity",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.00112/0.00112, allocations: 104 kB / 17.32 MB, free: 5.988 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.001185/0.001186, allocations: 193.3 kB / 18.25 MB, free: 5.07 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.371/1.371, allocations: 222.9 MB / 241.9 MB, free: 13.78 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.2259/0.2259, allocations: 44.17 MB / 336.2 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001439, allocations: 65.38 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.123, allocations: 60.83 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.3115/0.4345, allocations: 49.7 MB / 0.5064 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03377/0.4683, allocations: 10.46 MB / 0.5166 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01345/0.4819, allocations: 214.2 kB / 0.5168 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006521/0.4884, allocations: 2.709 MB / 0.5194 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00599/0.4945, allocations: 1.693 MB / 0.5211 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.4966, allocations: 0.6416 MB / 0.5217 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006821/0.5035, allocations: 3.723 MB / 0.5254 GB, free: 6.852 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00685/0.5103, allocations: 4.02 MB / 0.5293 GB, free: 5.262 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003262/0.5136, allocations: 1.552 MB / 0.5308 GB, free: 4.516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003389/0.5171, allocations: 2.235 MB / 0.533 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001293/0.5184, allocations: 334 kB / 0.5333 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003698/0.5221, allocations: 1.214 MB / 0.5345 GB, free: 2.883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002548/0.5247, allocations: 1.922 MB / 0.5364 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002737/0.5274, allocations: 2.228 MB / 0.5385 GB, free: 112 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008391/0.5358, allocations: 6.804 MB / 0.5452 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.828e-06/0.5359, allocations: 0 / 0.5452 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.5359, allocations: 3.938 kB / 0.5452 GB, free: 11.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002556/0.5362, allocations: 4 kB / 0.5452 GB, free: 11.22 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1504 * Number of variables: 1504 Notification: Performance of Generate backend data structure: time 0.01092/0.5471, allocations: 4.662 MB / 0.5497 GB, free: 6.586 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.5472, allocations: 8.031 kB / 0.5498 GB, free: 6.578 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001174/0.5483, allocations: 0.7159 MB / 0.5505 GB, free: 5.887 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006866/0.5552, allocations: 1.913 MB / 0.5523 GB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0056/0.5608, allocations: 2.488 MB / 0.5547 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002048/0.5611, allocations: 258.3 kB / 0.555 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001284/0.5624, allocations: 409.7 kB / 0.5554 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01911/0.5815, allocations: 9.903 MB / 0.5651 GB, free: 6.414 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001273/0.5817, allocations: 47.58 kB / 0.5651 GB, free: 6.367 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004532/0.5821, allocations: 153.2 kB / 0.5652 GB, free: 6.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00282/0.585, allocations: 1.828 MB / 0.567 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01792/0.6029, allocations: 8.203 MB / 0.575 GB, free: 12.2 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05748/0.6604, allocations: 38.77 MB / 0.6129 GB, free: 4.449 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01022/0.6707, allocations: 3.677 MB / 0.6165 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002595/0.6734, allocations: 1.623 MB / 0.6181 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01339/0.6868, allocations: 7.814 MB / 0.6257 GB, free: 6.801 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/0.6868, allocations: 51.5 kB / 0.6258 GB, free: 6.742 MB / 478.1 MB Notification: Performance of pre-optimization done (n=141): time 4.027e-06/0.6869, allocations: 0 / 0.6258 GB, free: 6.742 MB / 478.1 MB Notification: Performance of matching and sorting (n=148): time 0.03223/0.7191, allocations: 12.33 MB / 0.6378 GB, free: 10.24 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00159/0.7207, allocations: 1.703 MB / 0.6395 GB, free: 8.359 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007829/0.7286, allocations: 3.845 MB / 0.6432 GB, free: 4.527 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003467/0.7289, allocations: 49.64 kB / 0.6433 GB, free: 4.473 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002669/0.7316, allocations: 3.046 MB / 0.6462 GB, free: 1.426 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009245/0.7326, allocations: 0.6035 MB / 0.6468 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002357/0.735, allocations: 1.164 MB / 0.648 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.7351, allocations: 309.1 kB / 0.6483 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003071/0.7382, allocations: 2.022 MB / 0.6502 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0052/0.7434, allocations: 5.664 MB / 0.6558 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009393/0.7528, allocations: 8.27 MB / 0.6639 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000138/0.7529, allocations: 36 kB / 0.6639 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=750) (initialization): time 0.02333/0.7763, allocations: 8.843 MB / 0.6725 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002172/0.7766, allocations: 60 kB / 0.6726 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01101/0.7876, allocations: 3.255 MB / 0.6758 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009522/0.7972, allocations: 1.852 MB / 0.6776 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004277/0.8015, allocations: 1.322 MB / 0.6789 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00847/0.81, allocations: 6.112 MB / 0.6848 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004568/0.8146, allocations: 403.2 kB / 0.6852 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009657/0.8156, allocations: 364 kB / 0.6856 GB, free: 5.188 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * Number of states: 0 () * Number of discrete variables: 41 (FrameTorque1.arrow.arrowLine.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 (712): * Single equations (assignments): 703 * 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.004468/0.82, allocations: 2.024 MB / 0.6875 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008089/0.8209, allocations: 327.7 kB / 0.6878 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005955/0.8268, allocations: 2.944 MB / 0.6907 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004709/0.8316, allocations: 2.488 MB / 0.6932 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/0.8316, allocations: 0 / 0.6932 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.219e-05/0.8316, allocations: 7.984 kB / 0.6932 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01715/0.8488, allocations: 8.547 MB / 0.7015 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/0.8488, allocations: 0 / 0.7015 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/0.85, allocations: 251.7 kB / 0.7017 GB, free: 4.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003135/0.8532, allocations: 1.033 MB / 0.7028 GB, free: 3.434 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002027/0.8534, allocations: 42.62 kB / 0.7028 GB, free: 3.395 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2655/1.119, allocations: 5.32 MB / 0.708 GB, free: 200.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001074/1.12, allocations: 1.574 MB / 0.7095 GB, free: 198.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01044/1.131, allocations: 5.183 MB / 0.7146 GB, free: 197.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001226/1.132, allocations: 387 kB / 0.715 GB, free: 197.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004393/1.132, allocations: 28.22 kB / 0.715 GB, free: 197.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/1.134, allocations: 135.9 kB / 0.7151 GB, free: 197.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003132/1.134, allocations: 96.97 kB / 0.7152 GB, free: 197.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/1.134, allocations: 44.34 kB / 0.7153 GB, free: 197.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005003/1.139, allocations: 2.381 MB / 0.7176 GB, free: 196.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.52e-07/1.139, allocations: 0 / 0.7176 GB, free: 196.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006974/1.146, allocations: 1.031 MB / 0.7186 GB, free: 196.4 MB / 0.545 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.009674/1.156, allocations: 5.837 MB / 0.7243 GB, free: 194 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01097/1.167, allocations: 6.066 MB / 0.7302 GB, free: 192 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/1.167, allocations: 0 / 0.7302 GB, free: 192 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00385/1.171, allocations: 2.151 MB / 0.7323 GB, free: 191.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004146/1.175, allocations: 437.1 kB / 0.7327 GB, free: 190.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09015/1.265, allocations: 52.77 MB / 0.7843 GB, free: 138.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005423/1.271, allocations: 3.166 MB / 0.7873 GB, free: 135.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005535/1.276, allocations: 1.806 MB / 0.7891 GB, free: 133.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003461/1.28, allocations: 1.784 MB / 0.7909 GB, free: 131.6 MB / 0.545 GB Notification: Performance of SimCode: time 3.938e-06/1.28, allocations: 0 / 0.7909 GB, free: 131.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1228/1.403, allocations: 71.34 MB / 0.8605 GB, free: 60.7 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/1.403, allocations: 235.6 kB / 0.8607 GB, free: 60.45 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.955/5.358, allocations: 4 kB / 0.8607 GB, free: 60.45 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Frames_AngularVelocity_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Frames_AngularVelocity.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1)