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.006038/0.006038, allocations: 100.8 kB / 15.87 MB, free: 6.309 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.001551/0.001551, allocations: 195.8 kB / 16.79 MB, free: 6.238 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.498/1.498, allocations: 205.1 MB / 222.6 MB, free: 4.957 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3218/0.3218, allocations: 43.5 MB / 313.5 MB, free: 8.625 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.001558/0.001558, allocations: 63.91 kB / 382.1 MB, free: 8.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1241, allocations: 57.79 MB / 439.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.2367/0.3608, allocations: 50.36 MB / 490.3 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01942/0.3803, allocations: 10.64 MB / 0.4892 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00928/0.3896, allocations: 220.2 kB / 0.4894 GB, free: 12.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004941/0.3946, allocations: 2.819 MB / 0.4921 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004492/0.3991, allocations: 1.766 MB / 0.4939 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.4006, allocations: 0.6269 MB / 0.4945 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007549/0.4082, allocations: 5.691 MB / 0.5 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005375/0.4136, allocations: 3.85 MB / 0.5038 GB, free: 7.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002521/0.4162, allocations: 1.398 MB / 0.5052 GB, free: 6.855 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004621/0.4208, allocations: 2.264 MB / 0.5074 GB, free: 6.062 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00167/0.4225, allocations: 247.6 kB / 0.5076 GB, free: 6.062 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003584/0.4261, allocations: 1.175 MB / 0.5087 GB, free: 5.789 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00229/0.4284, allocations: 1.909 MB / 0.5106 GB, free: 5.164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002411/0.4308, allocations: 2.229 MB / 0.5128 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007786/0.4386, allocations: 7.046 MB / 0.5197 GB, free: 15.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.4387, allocations: 0 / 0.5197 GB, free: 15.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.689e-06/0.4387, allocations: 0 / 0.5197 GB, free: 15.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003359/0.439, allocations: 3.938 kB / 0.5197 GB, free: 15.04 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: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.0134/0.4524, allocations: 4.868 MB / 0.5244 GB, free: 10.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.4525, allocations: 8.031 kB / 0.5244 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00115/0.4537, allocations: 0.7607 MB / 0.5252 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006438/0.4601, allocations: 1.945 MB / 0.5271 GB, free: 8.133 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005226/0.4654, allocations: 2.712 MB / 0.5297 GB, free: 5.359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/0.4655, allocations: 258.5 kB / 0.53 GB, free: 5.105 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008837/0.4664, allocations: 427.7 kB / 0.5304 GB, free: 4.688 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02159/0.488, allocations: 10.42 MB / 0.5405 GB, free: 9.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001605/0.4882, allocations: 39.59 kB / 0.5406 GB, free: 9.531 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000755/0.489, allocations: 171.8 kB / 0.5408 GB, free: 9.363 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004294/0.4933, allocations: 1.943 MB / 0.5426 GB, free: 7.414 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02224/0.5156, allocations: 8.647 MB / 0.5511 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0598/0.5754, allocations: 40.45 MB / 0.5906 GB, free: 5.125 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009471/0.585, allocations: 3.814 MB / 0.5943 GB, free: 1.16 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002726/0.5877, allocations: 1.759 MB / 0.596 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01475/0.6025, allocations: 8.247 MB / 0.6041 GB, free: 6.715 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.14e-05/0.6026, allocations: 51.5 kB / 0.6041 GB, free: 6.656 MB / 478.1 MB Notification: Performance of pre-optimization done (n=153): time 7.874e-06/0.6027, allocations: 0 / 0.6041 GB, free: 6.656 MB / 478.1 MB Notification: Performance of matching and sorting (n=160): time 0.03507/0.6377, allocations: 13.1 MB / 0.6169 GB, free: 9.383 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001501/0.6393, allocations: 1.624 MB / 0.6185 GB, free: 7.586 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008529/0.6478, allocations: 3.991 MB / 0.6224 GB, free: 3.613 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005026/0.6484, allocations: 49.8 kB / 0.6225 GB, free: 3.559 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003088/0.6515, allocations: 3.206 MB / 0.6256 GB, free: 312 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2662/0.9177, allocations: 0.6407 MB / 0.6262 GB, free: 106 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001909/0.9197, allocations: 1.227 MB / 0.6274 GB, free: 106 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.001e-05/0.9197, allocations: 305.3 kB / 0.6277 GB, free: 105.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002698/0.9224, allocations: 2.188 MB / 0.6298 GB, free: 105.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004007/0.9264, allocations: 5.931 MB / 0.6356 GB, free: 100.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00771/0.9342, allocations: 8.702 MB / 0.6441 GB, free: 95.85 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001157/0.9343, allocations: 39.28 kB / 0.6442 GB, free: 95.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=788) (initialization): time 0.01945/0.9538, allocations: 9.292 MB / 0.6532 GB, free: 94.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001259/0.9539, allocations: 65.66 kB / 0.6533 GB, free: 94.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01012/0.964, allocations: 3.554 MB / 0.6568 GB, free: 93.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008929/0.973, allocations: 1.858 MB / 0.6586 GB, free: 93.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004924/0.9779, allocations: 1.393 MB / 0.66 GB, free: 93.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007861/0.9858, allocations: 5.757 MB / 0.6656 GB, free: 89.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005612/0.9914, allocations: 418.5 kB / 0.666 GB, free: 89.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009327/0.9924, allocations: 377 kB / 0.6663 GB, free: 89.69 MB / 494.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.00415/0.9965, allocations: 2.124 MB / 0.6684 GB, free: 88.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007003/0.9973, allocations: 338.1 kB / 0.6687 GB, free: 88.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005158/1.002, allocations: 3.167 MB / 0.6718 GB, free: 87.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003981/1.006, allocations: 2.693 MB / 0.6745 GB, free: 86.88 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/1.006, allocations: 4.438 kB / 0.6745 GB, free: 86.88 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/1.006, allocations: 7.594 kB / 0.6745 GB, free: 86.88 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01513/1.022, allocations: 9.168 MB / 0.6834 GB, free: 82.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/1.022, allocations: 5.953 kB / 0.6834 GB, free: 82.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/1.023, allocations: 277.6 kB / 0.6837 GB, free: 82.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002547/1.025, allocations: 1.037 MB / 0.6847 GB, free: 81.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001416/1.025, allocations: 46.16 kB / 0.6847 GB, free: 81.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004138/1.03, allocations: 5.004 MB / 0.6896 GB, free: 76.44 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007107/1.03, allocations: 1.478 MB / 0.6911 GB, free: 74.83 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007368/1.038, allocations: 5.58 MB / 0.6965 GB, free: 69.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/1.039, allocations: 392.6 kB / 0.6969 GB, free: 68.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003742/1.039, allocations: 37.52 kB / 0.6969 GB, free: 68.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/1.041, allocations: 147.7 kB / 0.6971 GB, free: 68.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002809/1.041, allocations: 95.67 kB / 0.6972 GB, free: 68.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/1.041, allocations: 51.97 kB / 0.6972 GB, free: 68.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003179/1.044, allocations: 2.481 MB / 0.6996 GB, free: 66.04 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.9e-07/1.044, allocations: 0 / 0.6996 GB, free: 66.04 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005124/1.049, allocations: 1.084 MB / 0.7007 GB, free: 64.96 MB / 494.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.00682/1.056, allocations: 6.225 MB / 0.7068 GB, free: 58.72 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008531/1.065, allocations: 5.827 MB / 0.7125 GB, free: 53.21 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/1.065, allocations: 2.5 kB / 0.7125 GB, free: 53.21 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003227/1.068, allocations: 2.253 MB / 0.7147 GB, free: 50.93 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002648/1.071, allocations: 423.9 kB / 0.7151 GB, free: 50.53 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07947/1.15, allocations: 55.75 MB / 0.7695 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003493/1.154, allocations: 3.292 MB / 0.7727 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004772/1.158, allocations: 1.898 MB / 0.7746 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00283/1.161, allocations: 1.901 MB / 0.7764 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of SimCode: time 1.132e-06/1.161, allocations: 0 / 0.7764 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3324/1.494, allocations: 72.83 MB / 0.8476 GB, free: 207.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/1.494, allocations: 234.9 kB / 0.8478 GB, free: 207.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.368/4.862, allocations: 3.094 kB / 0.8478 GB, free: 207.5 MB / 0.5606 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)