Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_3_2_3_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.001456/0.001457, allocations: 105.7 kB / 16.4 MB, free: 6.461 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.001463/0.001463, allocations: 189 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2221/0.2221, allocations: 43.53 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003022/0.003022, allocations: 73.95 kB / 441.4 MB, free: 6.082 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.154, allocations: 57.78 MB / 499.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01341/0.1675, allocations: 11.9 MB / 0.4991 GB, free: 280 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009368/0.1769, allocations: 4.187 MB / 0.5032 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001854/0.1787, allocations: 67.81 kB / 0.5032 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005603/0.1844, allocations: 2.842 MB / 0.506 GB, free: 9.156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005533/0.19, allocations: 1.883 MB / 0.5079 GB, free: 7.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001815/0.1918, allocations: 0.6941 MB / 0.5085 GB, free: 6.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006251/0.1981, allocations: 3.852 MB / 0.5123 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005488/0.2036, allocations: 3.883 MB / 0.5161 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002787/0.2064, allocations: 1.596 MB / 0.5176 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003304/0.2097, allocations: 2.114 MB / 0.5197 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000875/0.2106, allocations: 356 kB / 0.5201 GB, free: 10.69 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002501/0.2131, allocations: 1.217 MB / 0.5212 GB, free: 9.469 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002189/0.2153, allocations: 1.983 MB / 0.5232 GB, free: 7.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002732/0.2181, allocations: 2.319 MB / 0.5254 GB, free: 5.148 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2573/0.4754, allocations: 7.404 MB / 0.5327 GB, free: 14.06 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.4755, allocations: 0.9375 kB / 0.5327 GB, free: 14.06 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4755, allocations: 0 / 0.5327 GB, free: 14.06 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002632/0.4757, allocations: 1.156 kB / 0.5327 GB, free: 14.06 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.01339/0.4891, allocations: 5 MB / 0.5376 GB, free: 11.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.4892, allocations: 13.73 kB / 0.5376 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001409/0.4906, allocations: 0.7548 MB / 0.5383 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00784/0.4985, allocations: 1.969 MB / 0.5402 GB, free: 11.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00693/0.5054, allocations: 2.763 MB / 0.5429 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003242/0.5058, allocations: 258.3 kB / 0.5432 GB, free: 10.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001839/0.5076, allocations: 425.1 kB / 0.5436 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02194/0.5296, allocations: 10.42 MB / 0.5538 GB, free: 8.492 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001433/0.5298, allocations: 40.09 kB / 0.5538 GB, free: 8.488 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000561/0.5304, allocations: 166.3 kB / 0.554 GB, free: 8.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002994/0.5334, allocations: 1.933 MB / 0.5558 GB, free: 8.074 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01707/0.5504, allocations: 8.661 MB / 0.5643 GB, free: 5.566 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05539/0.6059, allocations: 40.32 MB / 0.6037 GB, free: 15.44 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01025/0.6162, allocations: 3.812 MB / 0.6074 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002706/0.6189, allocations: 1.761 MB / 0.6091 GB, free: 9.73 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01339/0.6323, allocations: 8.248 MB / 0.6172 GB, free: 1.129 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.466e-05/0.6324, allocations: 54.64 kB / 0.6172 GB, free: 1.07 MB / 462.1 MB Notification: Performance of pre-optimization done (n=153): time 6.382e-06/0.6325, allocations: 3.75 kB / 0.6172 GB, free: 1.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.03346/0.6659, allocations: 13.33 MB / 0.6302 GB, free: 3.637 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001823/0.6678, allocations: 1.717 MB / 0.6319 GB, free: 1.75 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006939/0.6748, allocations: 4.005 MB / 0.6358 GB, free: 13.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005945/0.6754, allocations: 45.7 kB / 0.6359 GB, free: 13.72 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00321/0.6786, allocations: 3.343 MB / 0.6391 GB, free: 10.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00113/0.6797, allocations: 0.6732 MB / 0.6398 GB, free: 9.746 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00185/0.6816, allocations: 1.234 MB / 0.641 GB, free: 8.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.6817, allocations: 301.1 kB / 0.6413 GB, free: 8.203 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003417/0.6852, allocations: 2.19 MB / 0.6434 GB, free: 6.008 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007256/0.6924, allocations: 5.935 MB / 0.6492 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01198/0.7044, allocations: 8.704 MB / 0.6577 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001071/0.7046, allocations: 40 kB / 0.6578 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02489/0.7295, allocations: 9.298 MB / 0.6668 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.7296, allocations: 64 kB / 0.6669 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01094/0.7406, allocations: 3.557 MB / 0.6704 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009676/0.7503, allocations: 1.856 MB / 0.6722 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005297/0.7556, allocations: 1.388 MB / 0.6735 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009598/0.7653, allocations: 6.124 MB / 0.6795 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005731/0.771, allocations: 427.4 kB / 0.6799 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/0.7721, allocations: 372 kB / 0.6803 GB, free: 13.12 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 39 (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 (750): * Single equations (assignments): 741 * 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.003788/0.7759, allocations: 2.121 MB / 0.6824 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008557/0.7768, allocations: 361.5 kB / 0.6827 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006579/0.7833, allocations: 3.169 MB / 0.6858 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005306/0.7887, allocations: 2.691 MB / 0.6884 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.7887, allocations: 4 kB / 0.6884 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-05/0.7887, allocations: 7.969 kB / 0.6884 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01807/0.8068, allocations: 9.164 MB / 0.6974 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/0.8069, allocations: 6.25 kB / 0.6974 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/0.8082, allocations: 267.6 kB / 0.6977 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003204/0.8114, allocations: 1.036 MB / 0.6987 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001745/0.8116, allocations: 39.97 kB / 0.6987 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00655/0.8182, allocations: 5.337 MB / 0.7039 GB, free: 4.547 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001252/0.8194, allocations: 1.573 MB / 0.7054 GB, free: 2.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009518/0.829, allocations: 5.583 MB / 0.7109 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00143/0.8304, allocations: 418.6 kB / 0.7113 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004268/0.8309, allocations: 35.98 kB / 0.7113 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001526/0.8324, allocations: 151.5 kB / 0.7115 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003197/0.8327, allocations: 96.8 kB / 0.7116 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/0.8329, allocations: 47.98 kB / 0.7116 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004189/0.8371, allocations: 2.477 MB / 0.714 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8371, allocations: 4 kB / 0.714 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005784/0.8429, allocations: 1.09 MB / 0.7151 GB, free: 8.891 MB / 0.5606 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 (126): * Single equations (assignments): 119 * 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.01005/0.8529, allocations: 6.244 MB / 0.7212 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01262/0.8656, allocations: 5.854 MB / 0.7269 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/0.8657, allocations: 4 kB / 0.7269 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004708/0.8704, allocations: 2.266 MB / 0.7291 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003354/0.8738, allocations: 443.2 kB / 0.7296 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3427/1.217, allocations: 48.21 MB / 0.7766 GB, free: 197.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003787/1.22, allocations: 3.3 MB / 0.7799 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.003763/1.224, allocations: 1.893 MB / 0.7817 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002288/1.226, allocations: 1.89 MB / 0.7836 GB, free: 194.7 MB / 0.5919 GB Notification: Performance of SimCode: time 2.504e-06/1.226, allocations: 0 / 0.7836 GB, free: 194.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1113/1.338, allocations: 70.61 MB / 0.8525 GB, free: 132.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.61/23.95, allocations: 7.938 kB / 0.8525 GB, free: 132.8 MB / 0.5919 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Frames_AngularVelocity_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Frames_AngularVelocity.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1)