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.001451/0.001451, allocations: 106.2 kB / 15.98 MB, free: 6.34 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.001253/0.001253, allocations: 191.5 kB / 16.91 MB, free: 6.18 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.691/1.691, allocations: 205.1 MB / 222.8 MB, free: 4.715 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.4088/0.4088, allocations: 43.5 MB / 313.6 MB, free: 8.504 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.001662/0.001662, allocations: 68.47 kB / 382.3 MB, free: 8.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1539, allocations: 57.78 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.3345/0.4885, allocations: 50.35 MB / 490.4 MB, free: 19.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02957/0.5181, allocations: 10.55 MB / 0.4893 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01431/0.5325, allocations: 211.5 kB / 0.4895 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005553/0.5381, allocations: 2.723 MB / 0.4921 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005874/0.544, allocations: 1.757 MB / 0.4938 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.5458, allocations: 0.6474 MB / 0.4945 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00664/0.5525, allocations: 3.888 MB / 0.4983 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006615/0.5591, allocations: 4.098 MB / 0.5023 GB, free: 7.008 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004185/0.5633, allocations: 1.614 MB / 0.5038 GB, free: 6.309 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007469/0.5708, allocations: 2.354 MB / 0.5061 GB, free: 5.434 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002223/0.5731, allocations: 355.8 kB / 0.5065 GB, free: 5.434 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004186/0.5773, allocations: 1.217 MB / 0.5077 GB, free: 5.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003879/0.5812, allocations: 2.021 MB / 0.5096 GB, free: 4.453 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005447/0.5867, allocations: 2.352 MB / 0.5119 GB, free: 2.805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01508/0.6018, allocations: 7.177 MB / 0.5189 GB, free: 14.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.082e-05/0.6018, allocations: 6.562 kB / 0.5189 GB, free: 14.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.559e-06/0.6019, allocations: 7.984 kB / 0.519 GB, free: 14.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003613/0.6022, allocations: 0 / 0.519 GB, free: 14.95 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.01572/0.618, allocations: 4.861 MB / 0.5237 GB, free: 11.53 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.618, allocations: 15.89 kB / 0.5237 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001885/0.6199, allocations: 0.7607 MB / 0.5245 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007197/0.6271, allocations: 1.941 MB / 0.5264 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006173/0.6333, allocations: 2.72 MB / 0.529 GB, free: 6.012 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002278/0.6336, allocations: 254.5 kB / 0.5293 GB, free: 5.762 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001239/0.6348, allocations: 423.6 kB / 0.5297 GB, free: 5.348 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01877/0.6536, allocations: 10.41 MB / 0.5398 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000103/0.6538, allocations: 39.59 kB / 0.5399 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004307/0.6542, allocations: 175.7 kB / 0.54 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002619/0.6568, allocations: 1.939 MB / 0.5419 GB, free: 8.078 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01698/0.6738, allocations: 8.647 MB / 0.5504 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05689/0.7307, allocations: 40.44 MB / 0.5899 GB, free: 5.793 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009638/0.7404, allocations: 3.833 MB / 0.5936 GB, free: 1.812 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002552/0.743, allocations: 1.755 MB / 0.5953 GB, free: 48 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01346/0.7565, allocations: 8.242 MB / 0.6034 GB, free: 7.375 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.206e-05/0.7566, allocations: 47.56 kB / 0.6034 GB, free: 7.32 MB / 478.1 MB Notification: Performance of pre-optimization done (n=153): time 4.399e-06/0.7566, allocations: 0 / 0.6034 GB, free: 7.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=160): time 0.03299/0.7896, allocations: 13.1 MB / 0.6162 GB, free: 10.05 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001521/0.7911, allocations: 1.711 MB / 0.6179 GB, free: 8.156 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006057/0.7972, allocations: 3.999 MB / 0.6218 GB, free: 4.176 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005278/0.7978, allocations: 45.7 kB / 0.6218 GB, free: 4.125 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002492/0.8003, allocations: 3.21 MB / 0.625 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001119/0.8014, allocations: 0.6481 MB / 0.6256 GB, free: 216 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2646/1.066, allocations: 1.22 MB / 0.6268 GB, free: 143.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.528e-05/1.066, allocations: 301.1 kB / 0.6271 GB, free: 143.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002983/1.069, allocations: 2.188 MB / 0.6292 GB, free: 143.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004547/1.074, allocations: 5.931 MB / 0.635 GB, free: 138 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009147/1.083, allocations: 8.714 MB / 0.6435 GB, free: 130.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001571/1.083, allocations: 38.25 kB / 0.6436 GB, free: 130.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02142/1.104, allocations: 9.283 MB / 0.6526 GB, free: 127.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003157/1.105, allocations: 66.69 kB / 0.6527 GB, free: 127.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01241/1.117, allocations: 3.551 MB / 0.6561 GB, free: 127 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009286/1.127, allocations: 1.856 MB / 0.658 GB, free: 126.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005744/1.132, allocations: 1.392 MB / 0.6593 GB, free: 126.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009994/1.142, allocations: 6.122 MB / 0.6653 GB, free: 122.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007342/1.15, allocations: 426.3 kB / 0.6657 GB, free: 122.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001988/1.152, allocations: 374.7 kB / 0.6661 GB, free: 122.6 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.007595/1.159, allocations: 2.118 MB / 0.6681 GB, free: 121.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00132/1.161, allocations: 342 kB / 0.6685 GB, free: 121.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008769/1.17, allocations: 3.167 MB / 0.6716 GB, free: 120.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005965/1.176, allocations: 2.694 MB / 0.6742 GB, free: 119.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.567e-05/1.176, allocations: 2.75 kB / 0.6742 GB, free: 119.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.689e-05/1.176, allocations: 8.219 kB / 0.6742 GB, free: 119.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0215/1.197, allocations: 9.176 MB / 0.6832 GB, free: 116.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.898e-05/1.197, allocations: 0 / 0.6832 GB, free: 116.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/1.198, allocations: 271.1 kB / 0.6834 GB, free: 116.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002905/1.201, allocations: 1.039 MB / 0.6844 GB, free: 116.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003345/1.202, allocations: 39 kB / 0.6845 GB, free: 116.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005508/1.207, allocations: 5.333 MB / 0.6897 GB, free: 112.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009103/1.208, allocations: 1.565 MB / 0.6912 GB, free: 111 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008908/1.217, allocations: 5.59 MB / 0.6967 GB, free: 107.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001649/1.219, allocations: 394.1 kB / 0.697 GB, free: 107 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00108/1.22, allocations: 35.38 kB / 0.6971 GB, free: 107 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002363/1.222, allocations: 145 kB / 0.6972 GB, free: 106.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003697/1.223, allocations: 98.16 kB / 0.6973 GB, free: 106.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001649/1.223, allocations: 46.94 kB / 0.6973 GB, free: 106.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005536/1.228, allocations: 2.483 MB / 0.6998 GB, free: 104.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.92e-07/1.228, allocations: 0 / 0.6998 GB, free: 104.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008367/1.237, allocations: 1.089 MB / 0.7008 GB, free: 103.4 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.009304/1.246, allocations: 6.225 MB / 0.7069 GB, free: 97.14 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01107/1.257, allocations: 6.559 MB / 0.7133 GB, free: 90.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.257, allocations: 4 kB / 0.7133 GB, free: 90.56 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003861/1.261, allocations: 2.26 MB / 0.7155 GB, free: 88.24 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004183/1.265, allocations: 443.6 kB / 0.716 GB, free: 87.84 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1056/1.371, allocations: 55.74 MB / 0.7704 GB, free: 24.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006006/1.377, allocations: 3.298 MB / 0.7736 GB, free: 20.91 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004767/1.382, allocations: 1.906 MB / 0.7755 GB, free: 19 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002722/1.385, allocations: 1.89 MB / 0.7773 GB, free: 17.11 MB / 494.1 MB Notification: Performance of SimCode: time 1.102e-06/1.385, allocations: 0 / 0.7773 GB, free: 17.11 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4931/1.878, allocations: 74.39 MB / 0.85 GB, free: 147.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/1.878, allocations: 235.7 kB / 0.8502 GB, free: 147.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.038/5.916, allocations: 3.938 kB / 0.8502 GB, free: 147.2 MB / 0.4981 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)