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.001997/0.001997, allocations: 113.4 kB / 17.78 MB, free: 5.266 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.002101/0.002101, allocations: 188.1 kB / 18.71 MB, free: 4.344 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.381/1.381, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2026/0.2026, allocations: 44.17 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 67.88 kB / 470 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3631, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01239/0.3755, allocations: 11.25 MB / 0.5294 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.3867, allocations: 4.104 MB / 0.5334 GB, free: 8.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003408/0.3901, allocations: 66.5 kB / 0.5335 GB, free: 8.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006741/0.3969, allocations: 2.816 MB / 0.5362 GB, free: 6.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006342/0.4033, allocations: 1.8 MB / 0.538 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001953/0.4053, allocations: 0.6967 MB / 0.5387 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00707/0.4124, allocations: 3.68 MB / 0.5423 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006317/0.4187, allocations: 3.835 MB / 0.546 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003402/0.4221, allocations: 1.519 MB / 0.5475 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00357/0.4257, allocations: 2.013 MB / 0.5494 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001128/0.4269, allocations: 336 kB / 0.5498 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003755/0.4306, allocations: 1.201 MB / 0.5509 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00288/0.4335, allocations: 1.917 MB / 0.5528 GB, free: 8.762 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00553/0.4391, allocations: 2.198 MB / 0.555 GB, free: 6.551 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0114/0.4505, allocations: 6.992 MB / 0.5618 GB, free: 15.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.4506, allocations: 0 / 0.5618 GB, free: 15.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4506, allocations: 7.938 kB / 0.5618 GB, free: 15.53 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003204/0.4509, allocations: 4 kB / 0.5618 GB, free: 15.52 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: 1504 * Number of variables: 1504 Notification: Performance of Generate backend data structure: time 0.0139/0.4648, allocations: 4.662 MB / 0.5664 GB, free: 10.79 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.212e-05/0.4649, allocations: 12.02 kB / 0.5664 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002371/0.4673, allocations: 0.7155 MB / 0.5671 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007095/0.4744, allocations: 1.914 MB / 0.5689 GB, free: 8.133 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006068/0.4805, allocations: 2.517 MB / 0.5714 GB, free: 5.555 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001979/0.4807, allocations: 250.1 kB / 0.5716 GB, free: 5.309 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00103/0.4817, allocations: 411.7 kB / 0.572 GB, free: 4.906 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01594/0.4977, allocations: 9.899 MB / 0.5817 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001008/0.4978, allocations: 51.53 kB / 0.5817 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000406/0.4983, allocations: 155.9 kB / 0.5819 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002586/0.5008, allocations: 1.822 MB / 0.5837 GB, free: 8.316 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01576/0.5166, allocations: 8.2 MB / 0.5917 GB, free: 100 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05072/0.5674, allocations: 38.6 MB / 0.6294 GB, free: 8.316 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009129/0.5766, allocations: 3.681 MB / 0.633 GB, free: 4.488 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002242/0.5788, allocations: 1.623 MB / 0.6345 GB, free: 2.852 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01343/0.5923, allocations: 7.813 MB / 0.6422 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.921e-05/0.5924, allocations: 51.5 kB / 0.6422 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=141): time 6.452e-06/0.5924, allocations: 0 / 0.6422 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=148): time 0.02924/0.6217, allocations: 12.34 MB / 0.6543 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001471/0.6232, allocations: 1.699 MB / 0.6559 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004879/0.6281, allocations: 3.845 MB / 0.6597 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002664/0.6284, allocations: 49.7 kB / 0.6597 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001988/0.6304, allocations: 3.039 MB / 0.6627 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000654/0.631, allocations: 0.6097 MB / 0.6633 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001436/0.6325, allocations: 1.166 MB / 0.6644 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.6326, allocations: 301.1 kB / 0.6647 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002691/0.6353, allocations: 2.026 MB / 0.6667 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005397/0.6407, allocations: 5.668 MB / 0.6722 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009111/0.6498, allocations: 8.273 MB / 0.6803 GB, free: 15.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.727e-05/0.6499, allocations: 36 kB / 0.6803 GB, free: 15.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=750) (initialization): time 0.02061/0.6706, allocations: 8.839 MB / 0.689 GB, free: 6.582 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001428/0.6707, allocations: 66.64 kB / 0.689 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01066/0.6814, allocations: 3.25 MB / 0.6922 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00933/0.6908, allocations: 1.852 MB / 0.694 GB, free: 1.391 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004213/0.695, allocations: 1.318 MB / 0.6953 GB, free: 72 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008874/0.7039, allocations: 6.12 MB / 0.7013 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004923/0.7089, allocations: 407.3 kB / 0.7017 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001179/0.7101, allocations: 360 kB / 0.702 GB, free: 8.918 MB / 0.5606 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.003938/0.714, allocations: 2.025 MB / 0.704 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008176/0.7149, allocations: 331.7 kB / 0.7043 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0062/0.7211, allocations: 2.926 MB / 0.7072 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004746/0.7258, allocations: 2.48 MB / 0.7096 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.537e-05/0.7259, allocations: 4 kB / 0.7096 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.058e-05/0.7259, allocations: 7.969 kB / 0.7096 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01635/0.7423, allocations: 8.54 MB / 0.7179 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/0.7423, allocations: 8.094 kB / 0.718 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/0.7435, allocations: 243.6 kB / 0.7182 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00299/0.7465, allocations: 1.041 MB / 0.7192 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001486/0.7466, allocations: 31.98 kB / 0.7192 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005682/0.7523, allocations: 5.341 MB / 0.7244 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2672/1.02, allocations: 1.561 MB / 0.726 GB, free: 180.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01026/1.03, allocations: 5.18 MB / 0.731 GB, free: 179.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/1.031, allocations: 382.2 kB / 0.7314 GB, free: 179.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000411/1.032, allocations: 33.91 kB / 0.7314 GB, free: 179.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/1.033, allocations: 133 kB / 0.7316 GB, free: 179.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002747/1.033, allocations: 97.16 kB / 0.7316 GB, free: 179.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001274/1.033, allocations: 44.12 kB / 0.7317 GB, free: 179.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003825/1.037, allocations: 2.383 MB / 0.734 GB, free: 178.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/1.037, allocations: 0 / 0.734 GB, free: 178.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005339/1.043, allocations: 1.03 MB / 0.735 GB, free: 178.8 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.007946/1.051, allocations: 5.835 MB / 0.7407 GB, free: 176.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008167/1.059, allocations: 5.506 MB / 0.7461 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.059, allocations: 3.781 kB / 0.7461 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003512/1.062, allocations: 2.142 MB / 0.7482 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002511/1.065, allocations: 451.2 kB / 0.7486 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06049/1.125, allocations: 45.62 MB / 0.7932 GB, free: 128.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002621/1.128, allocations: 3.162 MB / 0.7963 GB, free: 125.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003408/1.131, allocations: 1.81 MB / 0.798 GB, free: 123.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001951/1.133, allocations: 1.788 MB / 0.7998 GB, free: 121.7 MB / 0.5762 GB Notification: Performance of SimCode: time 8.71e-07/1.133, allocations: 0 / 0.7998 GB, free: 121.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09791/1.231, allocations: 68.69 MB / 0.8669 GB, free: 53.44 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.84/22.07, allocations: 22.39 kB / 0.8669 GB, free: 53.43 MB / 0.5762 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)