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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002104/0.002104, allocations: 187.4 kB / 7.802 MB, free: 1.18 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.2 MB / 213.4 MB, free: 3.812 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 93.5 kB / 261.4 MB, free: 4.297 MB / 210.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4072/0.4072, allocations: 43.48 MB / 352.8 MB, free: 50.27 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 0.151/0.5583, allocations: 64.97 MB / 417.8 MB, free: 5.035 MB / 306.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.7103, allocations: 58.84 MB / 476.6 MB, free: 10.08 MB / 370.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4019/1.112, allocations: 106.7 MB / 0.5697 GB, free: 7.312 MB / 402.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/1.113, allocations: 75.95 kB / 0.5697 GB, free: 7.238 MB / 402.8 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.2428/1.355, allocations: 85.82 MB / 0.6535 GB, free: 0.8242 MB / 482.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/1.355, allocations: 8 kB / 0.6535 GB, free: 0.8164 MB / 482.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2309/1.586, allocations: 1.882 MB / 0.6554 GB, free: 147.2 MB / 482.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01319/1.6, allocations: 4.84 MB / 0.6601 GB, free: 146.9 MB / 482.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002324/1.6, allocations: 151.2 kB / 0.6603 GB, free: 146.9 MB / 482.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001885/1.602, allocations: 271 kB / 0.6605 GB, free: 146.9 MB / 482.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01026/1.612, allocations: 6.446 MB / 0.6668 GB, free: 146.8 MB / 482.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01623/1.628, allocations: 9.842 MB / 0.6764 GB, free: 144 MB / 482.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001856/1.629, allocations: 54.28 kB / 0.6765 GB, free: 144 MB / 482.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006784/1.629, allocations: 34.78 kB / 0.6765 GB, free: 144 MB / 482.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001426/1.631, allocations: 1.103 MB / 0.6776 GB, free: 144 MB / 482.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05049/1.681, allocations: 49.41 MB / 0.7258 GB, free: 110.3 MB / 482.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00344/1.685, allocations: 2.668 MB / 0.7284 GB, free: 108.8 MB / 482.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002/1.687, allocations: 1.808 MB / 0.7302 GB, free: 108.1 MB / 482.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00934/1.696, allocations: 6.369 MB / 0.7364 GB, free: 104.5 MB / 482.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/1.696, allocations: 54.28 kB / 0.7365 GB, free: 104.4 MB / 482.8 MB Notification: Performance of pre-optimization done (n=153): time 4.879e-06/1.696, allocations: 3.594 kB / 0.7365 GB, free: 104.4 MB / 482.8 MB Notification: Performance of matching and sorting (n=160): time 0.02289/1.719, allocations: 10.22 MB / 0.7465 GB, free: 100 MB / 482.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/1.719, allocations: 146.5 kB / 0.7466 GB, free: 99.86 MB / 482.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005018/1.724, allocations: 3.101 MB / 0.7496 GB, free: 98.64 MB / 482.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003973/1.725, allocations: 29.14 kB / 0.7497 GB, free: 98.61 MB / 482.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001437/1.726, allocations: 3.082 MB / 0.7527 GB, free: 96.22 MB / 482.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007345/1.727, allocations: 0.634 MB / 0.7533 GB, free: 95.76 MB / 482.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/1.727, allocations: 0 / 0.7533 GB, free: 95.76 MB / 482.8 MB Notification: Performance of setup shared object (initialization): time 0.0002632/1.727, allocations: 0.5738 MB / 0.7538 GB, free: 95.34 MB / 482.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002437/1.73, allocations: 2.113 MB / 0.7559 GB, free: 94.62 MB / 482.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003965/1.734, allocations: 5.988 MB / 0.7618 GB, free: 88.45 MB / 482.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004311/1.738, allocations: 3.531 MB / 0.7652 GB, free: 87.16 MB / 482.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.132e-05/1.738, allocations: 40.56 kB / 0.7652 GB, free: 87.16 MB / 482.8 MB Notification: Performance of matching and sorting (n=820) (initialization): time 0.02162/1.76, allocations: 8.325 MB / 0.7734 GB, free: 84.48 MB / 482.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/1.76, allocations: 6.719 kB / 0.7734 GB, free: 84.47 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0099/1.77, allocations: 3.279 MB / 0.7766 GB, free: 81.86 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009231/1.779, allocations: 1.586 MB / 0.7781 GB, free: 80.75 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005936/1.785, allocations: 1.433 MB / 0.7795 GB, free: 79.48 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007091/1.792, allocations: 5.363 MB / 0.7848 GB, free: 74.54 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006125/1.798, allocations: 245.8 kB / 0.785 GB, free: 74.34 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001617/1.8, allocations: 394.6 kB / 0.7854 GB, free: 73.96 MB / 482.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (782): * Single equations (assignments): 773 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00115/1.801, allocations: 443 kB / 0.7858 GB, free: 73.52 MB / 482.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007944/1.802, allocations: 323.8 kB / 0.7861 GB, free: 73.2 MB / 482.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005446/1.808, allocations: 3.029 MB / 0.7891 GB, free: 70.75 MB / 482.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004258/1.812, allocations: 2.578 MB / 0.7916 GB, free: 68.64 MB / 482.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.611e-05/1.812, allocations: 4.75 kB / 0.7916 GB, free: 68.64 MB / 482.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.744e-05/1.812, allocations: 10.09 kB / 0.7916 GB, free: 68.64 MB / 482.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01636/1.828, allocations: 8.429 MB / 0.7998 GB, free: 61.96 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-05/1.828, allocations: 4 kB / 0.7998 GB, free: 61.96 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/1.83, allocations: 253.1 kB / 0.8001 GB, free: 61.76 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002988/1.833, allocations: 0.9536 MB / 0.801 GB, free: 61.09 MB / 482.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002923/1.833, allocations: 22.75 kB / 0.801 GB, free: 61.07 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00498/1.838, allocations: 4.834 MB / 0.8057 GB, free: 56.57 MB / 482.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007363/1.839, allocations: 1.377 MB / 0.8071 GB, free: 55.12 MB / 482.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007847/1.847, allocations: 5.616 MB / 0.8126 GB, free: 50.16 MB / 482.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00934/1.856, allocations: 7.837 MB / 0.8202 GB, free: 43.18 MB / 482.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001224/1.857, allocations: 376.1 kB / 0.8206 GB, free: 42.8 MB / 482.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004863/1.858, allocations: 14.3 kB / 0.8206 GB, free: 42.79 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001559/1.859, allocations: 74.42 kB / 0.8207 GB, free: 42.75 MB / 482.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000233/1.86, allocations: 78.84 kB / 0.8207 GB, free: 42.7 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/1.86, allocations: 44.83 kB / 0.8208 GB, free: 42.66 MB / 482.8 MB Notification: Performance of sort global known variables: time 0.003159/1.863, allocations: 2.049 MB / 0.8228 GB, free: 40.88 MB / 482.8 MB Notification: Performance of remove unused functions: time 0.006993/1.87, allocations: 0.9912 MB / 0.8238 GB, free: 39.89 MB / 482.8 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 () * 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 (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005218/1.871, allocations: 162.4 kB / 0.8239 GB, free: 39.75 MB / 482.8 MB Notification: Performance of simCode: created initialization part: time 0.01049/1.881, allocations: 5.57 MB / 0.8294 GB, free: 34.7 MB / 482.8 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/1.881, allocations: 4.062 kB / 0.8294 GB, free: 34.7 MB / 482.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003495/1.885, allocations: 2.116 MB / 0.8314 GB, free: 32.56 MB / 482.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00199/1.887, allocations: 333 kB / 0.8317 GB, free: 32.24 MB / 482.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01609/1.903, allocations: 8.209 MB / 0.8398 GB, free: 23.98 MB / 482.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004587/1.907, allocations: 3.705 MB / 0.8434 GB, free: 20.27 MB / 482.8 MB Notification: Performance of SimCode: time 1.072e-06/1.907, allocations: 0 / 0.8434 GB, free: 20.27 MB / 482.8 MB (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/linux/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)