Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies.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.Parts.FreeBodies,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FreeBodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FreeBodies",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.001169/0.00117, allocations: 192.2 kB / 7.808 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.2 MB / 213.4 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 84.84 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2046/0.2046, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2213/0.426, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.7644, allocations: 58.84 MB / 476.6 MB, free: 5.293 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1487/0.9131, allocations: 105.7 MB / 0.5687 GB, free: 9.211 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/0.9135, allocations: 83.45 kB / 0.5688 GB, free: 9.133 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2624 * Number of variables: 2624 Notification: Performance of Generate backend data structure: time 0.6631/1.577, allocations: 149.7 MB / 0.715 GB, free: 90.22 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.58e-05/1.577, allocations: 8.625 kB / 0.715 GB, free: 90.22 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03552/1.612, allocations: 7.216 MB / 0.7221 GB, free: 83.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02945/1.642, allocations: 11.1 MB / 0.7329 GB, free: 72.61 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004825/1.642, allocations: 256 kB / 0.7331 GB, free: 72.36 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004029/1.646, allocations: 467.8 kB / 0.7336 GB, free: 71.91 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02141/1.668, allocations: 10.93 MB / 0.7443 GB, free: 60.97 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03413/1.702, allocations: 16.08 MB / 0.76 GB, free: 43.37 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004152/1.702, allocations: 111 kB / 0.7601 GB, free: 43.26 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003041/1.706, allocations: 44 kB / 0.7601 GB, free: 43.22 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002877/1.708, allocations: 1.804 MB / 0.7619 GB, free: 41.41 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4937/2.202, allocations: 81.78 MB / 0.8417 GB, free: 116.6 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006927/2.209, allocations: 4.798 MB / 0.8464 GB, free: 115.9 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005838/2.215, allocations: 3.826 MB / 0.8502 GB, free: 115.9 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02468/2.24, allocations: 13.18 MB / 0.863 GB, free: 112.1 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.317e-05/2.24, allocations: 69.95 kB / 0.8631 GB, free: 112.1 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=301): time 8.627e-06/2.24, allocations: 0 / 0.8631 GB, free: 112.1 MB / 0.4949 GB Notification: Performance of matching and sorting (n=329): time 0.05806/2.298, allocations: 23.04 MB / 0.8856 GB, free: 107.6 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.542e-05/2.298, allocations: 235.1 kB / 0.8858 GB, free: 107.4 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01182/2.31, allocations: 5.255 MB / 0.891 GB, free: 105.4 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0009245/2.311, allocations: 25.7 kB / 0.891 GB, free: 105.3 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003225/2.314, allocations: 4.831 MB / 0.8957 GB, free: 101.6 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002344/2.317, allocations: 1.287 MB / 0.897 GB, free: 100.7 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001037/2.318, allocations: 3.188 kB / 0.897 GB, free: 100.7 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0005415/2.318, allocations: 0.7401 MB / 0.8977 GB, free: 100.2 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006112/2.324, allocations: 3.884 MB / 0.9015 GB, free: 98.87 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01134/2.336, allocations: 9.801 MB / 0.911 GB, free: 89.58 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01054/2.346, allocations: 6.249 MB / 0.9172 GB, free: 87.75 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000246/2.346, allocations: 60.44 kB / 0.9172 GB, free: 87.75 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1340) (initialization): time 0.03787/2.384, allocations: 15.2 MB / 0.932 GB, free: 80.29 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/2.384, allocations: 6.953 kB / 0.9321 GB, free: 80.28 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0193/2.404, allocations: 7.714 MB / 0.9396 GB, free: 74.02 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01589/2.42, allocations: 3.438 MB / 0.9429 GB, free: 71.57 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009115/2.429, allocations: 2.385 MB / 0.9453 GB, free: 69.49 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0128/2.442, allocations: 12.67 MB / 0.9576 GB, free: 57.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01074/2.452, allocations: 0.5263 MB / 0.9582 GB, free: 57 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002471/2.455, allocations: 0.6157 MB / 0.9588 GB, free: 56.41 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 960 * Number of states: 0 () * Number of discrete variables: 78 (spring6.color[3],spring6.color[2],spring6.color[1],spring6.massColor[3],spring6.massColor[2],spring6.massColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],spring5.color[3],spring5.color[2],spring5.color[1],spring5.massColor[3],spring5.massColor[2],spring5.massColor[1],spring4.color[3],spring4.color[2],spring4.color[1],spring4.massColor[3],spring4.massColor[2],spring4.massColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.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 (1264): * Single equations (assignments): 1239 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002238/2.457, allocations: 0.6419 MB / 0.9594 GB, free: 55.77 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00144/2.459, allocations: 0.5669 MB / 0.9599 GB, free: 55.2 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01613/2.475, allocations: 7.722 MB / 0.9675 GB, free: 49.03 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01443/2.489, allocations: 6.902 MB / 0.9742 GB, free: 43.45 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.502e-05/2.489, allocations: 11.94 kB / 0.9742 GB, free: 43.43 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.45e-05/2.49, allocations: 15.52 kB / 0.9742 GB, free: 43.43 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04233/2.532, allocations: 18.25 MB / 0.9921 GB, free: 27.45 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.403e-05/2.532, allocations: 4 kB / 0.9921 GB, free: 27.45 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003806/2.536, allocations: 0.6241 MB / 0.9927 GB, free: 26.82 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009474/2.545, allocations: 2.962 MB / 0.9956 GB, free: 23.82 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001058/2.546, allocations: 67.91 kB / 0.9956 GB, free: 23.75 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01274/2.559, allocations: 13.48 MB / 1.009 GB, free: 9.613 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002698/2.562, allocations: 5.653 MB / 1.014 GB, free: 3.473 MB / 0.4949 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2514/2.813, allocations: 12.77 MB / 1.027 GB, free: 141.7 MB / 0.4949 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02698/2.84, allocations: 17.04 MB / 1.043 GB, free: 139.7 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003333/2.844, allocations: 0.6192 MB / 1.044 GB, free: 139.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00328/2.847, allocations: 39.59 kB / 1.044 GB, free: 139.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00487/2.852, allocations: 219.3 kB / 1.044 GB, free: 139.6 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001032/2.853, allocations: 169.6 kB / 1.044 GB, free: 139.6 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004013/2.854, allocations: 108.1 kB / 1.045 GB, free: 139.6 MB / 0.4949 GB Notification: Performance of sort global known variables: time 0.00772/2.861, allocations: 3.54 MB / 1.048 GB, free: 139.4 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01373/2.875, allocations: 1.937 MB / 1.05 GB, free: 139.4 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyShape.r_0[1],bodyShape.r_0[2],bodyShape.r_0[3],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],body.r_0[1],body.r_0[2],body.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],bodyBox.r_0[1],bodyBox.r_0[2],bodyBox.r_0[3],bodyBox.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.r_0[1],bodyCylinder.r_0[2],bodyCylinder.r_0[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.body.w_a[3],pointMass.r_0[1],pointMass.r_0[2],pointMass.r_0[3],pointMass.v_0[1],pointMass.v_0[2],pointMass.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (269): * Single equations (assignments): 252 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00138/2.876, allocations: 216.8 kB / 1.05 GB, free: 139.3 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02258/2.899, allocations: 11.17 MB / 1.061 GB, free: 136.7 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/2.899, allocations: 0 / 1.061 GB, free: 136.7 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.009772/2.909, allocations: 5.218 MB / 1.066 GB, free: 134.2 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005257/2.914, allocations: 0.706 MB / 1.067 GB, free: 133.9 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04247/2.957, allocations: 17.03 MB / 1.083 GB, free: 127.6 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01299/2.97, allocations: 6.186 MB / 1.089 GB, free: 125.8 MB / 0.4949 GB Notification: Performance of SimCode: time 1.292e-06/2.97, allocations: 3.844 kB / 1.089 GB, free: 125.8 MB / 0.4949 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FreeBodies_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FreeBodies.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies.pipe 2>&1)