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.001794/0.001794, allocations: 106.1 kB / 16.27 MB, free: 5.934 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.002048/0.002048, allocations: 189 kB / 17.19 MB, free: 5.582 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.608/1.608, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2199/0.2199, allocations: 43.53 MB / 313.9 MB, free: 0.5312 MB / 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.001471/0.001471, allocations: 64.91 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1096, allocations: 57.79 MB / 440.6 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01125/0.1209, allocations: 11.9 MB / 452.5 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009421/0.1304, allocations: 4.187 MB / 456.7 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002319/0.1327, allocations: 67.81 kB / 456.8 MB, free: 6.602 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006113/0.1389, allocations: 2.838 MB / 459.6 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00572/0.1447, allocations: 1.879 MB / 461.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.1465, allocations: 0.698 MB / 462.2 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005427/0.152, allocations: 3.848 MB / 466 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005344/0.1574, allocations: 3.898 MB / 469.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002914/0.1603, allocations: 1.585 MB / 471.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00334/0.1637, allocations: 2.122 MB / 473.6 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009382/0.1646, allocations: 352 kB / 474 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00264/0.1673, allocations: 1.213 MB / 475.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002636/0.1699, allocations: 1.995 MB / 477.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004203/0.1742, allocations: 2.319 MB / 479.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009876/0.1841, allocations: 7.122 MB / 486.6 MB, free: 8.598 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.1841, allocations: 4 kB / 486.6 MB, free: 8.594 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1841, allocations: 0 / 486.6 MB, free: 8.594 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002493/0.1844, allocations: 0 / 486.6 MB, free: 8.594 MB / 366.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.0122/0.1966, allocations: 4.874 MB / 491.5 MB, free: 3.648 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.625e-05/0.1967, allocations: 11.89 kB / 491.5 MB, free: 3.637 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002171/0.1989, allocations: 0.7529 MB / 492.3 MB, free: 2.871 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008127/0.207, allocations: 1.945 MB / 494.2 MB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006196/0.2133, allocations: 2.712 MB / 496.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002637/0.2136, allocations: 258.5 kB / 497.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001758/0.2154, allocations: 423.6 kB / 497.6 MB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01866/0.2341, allocations: 10.42 MB / 0.4961 GB, free: 2.359 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001093/0.2342, allocations: 47.47 kB / 0.4961 GB, free: 2.312 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004366/0.2347, allocations: 159.9 kB / 0.4963 GB, free: 2.156 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002844/0.2375, allocations: 1.943 MB / 0.4982 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01795/0.2555, allocations: 8.655 MB / 0.5066 GB, free: 7.531 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3003/0.5558, allocations: 40.43 MB / 0.5461 GB, free: 59.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01006/0.5659, allocations: 3.821 MB / 0.5499 GB, free: 58.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002361/0.5683, allocations: 1.758 MB / 0.5516 GB, free: 58.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01125/0.5796, allocations: 8.236 MB / 0.5596 GB, free: 54.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.5796, allocations: 53.94 kB / 0.5597 GB, free: 54.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=153): time 4.358e-06/0.5796, allocations: 0 / 0.5597 GB, free: 54.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=160): time 0.02853/0.6082, allocations: 13.11 MB / 0.5725 GB, free: 48.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001272/0.6095, allocations: 1.707 MB / 0.5741 GB, free: 46.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005858/0.6154, allocations: 3.996 MB / 0.578 GB, free: 43.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000444/0.6159, allocations: 49.45 kB / 0.5781 GB, free: 43.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00147/0.6174, allocations: 3.208 MB / 0.5812 GB, free: 40.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006991/0.6181, allocations: 0.6433 MB / 0.5818 GB, free: 39.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001303/0.6194, allocations: 1.233 MB / 0.583 GB, free: 38.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.102e-05/0.6195, allocations: 305.2 kB / 0.5833 GB, free: 38.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00247/0.6219, allocations: 2.186 MB / 0.5855 GB, free: 36.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003666/0.6256, allocations: 5.938 MB / 0.5913 GB, free: 28.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007268/0.6329, allocations: 8.694 MB / 0.5998 GB, free: 17.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.268e-05/0.633, allocations: 36 kB / 0.5998 GB, free: 17.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=788) (initialization): time 0.0188/0.6518, allocations: 9.288 MB / 0.6089 GB, free: 8.562 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.967e-05/0.6519, allocations: 67.94 kB / 0.6089 GB, free: 8.496 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009442/0.6614, allocations: 3.551 MB / 0.6124 GB, free: 4.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009057/0.6705, allocations: 1.86 MB / 0.6142 GB, free: 3.055 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004069/0.6746, allocations: 1.405 MB / 0.6156 GB, free: 1.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008733/0.6833, allocations: 6.123 MB / 0.6216 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005445/0.6888, allocations: 423.3 kB / 0.622 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001358/0.6902, allocations: 372 kB / 0.6223 GB, free: 10.47 MB / 430.1 MB 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.004043/0.6943, allocations: 2.128 MB / 0.6244 GB, free: 8.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008759/0.6951, allocations: 343.6 kB / 0.6247 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00656/0.7017, allocations: 3.169 MB / 0.6278 GB, free: 4.812 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005458/0.7072, allocations: 2.689 MB / 0.6305 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.035e-05/0.7072, allocations: 4 kB / 0.6305 GB, free: 2.102 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-05/0.7073, allocations: 7.969 kB / 0.6305 GB, free: 2.094 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01746/0.7247, allocations: 9.165 MB / 0.6394 GB, free: 8.867 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/0.7248, allocations: 8.031 kB / 0.6394 GB, free: 8.859 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/0.7261, allocations: 271.6 kB / 0.6397 GB, free: 8.594 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003114/0.7292, allocations: 1.037 MB / 0.6407 GB, free: 7.543 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001754/0.7294, allocations: 39.97 kB / 0.6407 GB, free: 7.504 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005874/0.7353, allocations: 5.329 MB / 0.6459 GB, free: 1.906 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001173/0.7365, allocations: 1.574 MB / 0.6475 GB, free: 184 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008862/0.7454, allocations: 5.571 MB / 0.6529 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001441/0.7469, allocations: 400.5 kB / 0.6533 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001042/0.7479, allocations: 31.98 kB / 0.6533 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00216/0.7501, allocations: 139.8 kB / 0.6535 GB, free: 9.984 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004457/0.7506, allocations: 96.84 kB / 0.6536 GB, free: 9.887 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002124/0.7508, allocations: 55.86 kB / 0.6536 GB, free: 9.832 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004904/0.7557, allocations: 2.485 MB / 0.656 GB, free: 7.367 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7558, allocations: 3.938 kB / 0.656 GB, free: 7.363 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006518/0.7623, allocations: 1.088 MB / 0.6571 GB, free: 6.281 MB / 462.1 MB 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.01032/0.7726, allocations: 6.214 MB / 0.6632 GB, free: 32 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01257/0.7852, allocations: 6.551 MB / 0.6696 GB, free: 9.449 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/0.7853, allocations: 0.75 kB / 0.6696 GB, free: 9.449 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004449/0.7897, allocations: 2.256 MB / 0.6718 GB, free: 7.125 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00317/0.7929, allocations: 455.1 kB / 0.6722 GB, free: 6.691 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3023/1.095, allocations: 53.85 MB / 0.7248 GB, free: 180.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003549/1.099, allocations: 3.297 MB / 0.728 GB, free: 179.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004417/1.103, allocations: 1.897 MB / 0.7299 GB, free: 179.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002146/1.105, allocations: 1.892 MB / 0.7317 GB, free: 179.8 MB / 0.5137 GB Notification: Performance of SimCode: time 1.062e-06/1.105, allocations: 0 / 0.7317 GB, free: 179.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1338/1.239, allocations: 74.34 MB / 0.8043 GB, free: 117.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/15.07, allocations: 11.83 kB / 0.8043 GB, free: 117.2 MB / 0.5137 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)