Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies2.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.FreeBodies2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FreeBodies2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FreeBodies2",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.00144/0.00144, allocations: 190 kB / 7.804 MB, free: 2.445 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.292/1.292, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.0009367/0.0009368, allocations: 97.41 kB / 261.4 MB, free: 13.56 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.2449/0.2449, allocations: 43.49 MB / 352.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2191/0.4641, allocations: 64.96 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.7297, allocations: 58.84 MB / 476.6 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1461/0.8759, allocations: 105.8 MB / 0.5688 GB, free: 9.133 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.8761, allocations: 75.95 kB / 0.5688 GB, free: 9.059 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.6663/1.542, allocations: 149.7 MB / 0.7151 GB, free: 90 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/1.543, allocations: 9.469 kB / 0.7151 GB, free: 90 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03116/1.574, allocations: 7.218 MB / 0.7221 GB, free: 83.57 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02882/1.603, allocations: 11.09 MB / 0.7329 GB, free: 72.5 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004946/1.603, allocations: 252 kB / 0.7332 GB, free: 72.25 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003636/1.607, allocations: 479.8 kB / 0.7336 GB, free: 71.79 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02136/1.628, allocations: 10.94 MB / 0.7443 GB, free: 60.84 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0362/1.664, allocations: 16.08 MB / 0.76 GB, free: 43.25 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000755/1.665, allocations: 107 kB / 0.7601 GB, free: 43.14 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003969/1.669, allocations: 48 kB / 0.7602 GB, free: 43.09 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002591/1.672, allocations: 1.796 MB / 0.7619 GB, free: 41.3 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4898/2.162, allocations: 81.79 MB / 0.8418 GB, free: 116.1 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006545/2.168, allocations: 4.805 MB / 0.8465 GB, free: 115.4 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004541/2.173, allocations: 3.82 MB / 0.8502 GB, free: 115.4 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02082/2.194, allocations: 13.17 MB / 0.8631 GB, free: 111.7 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.406e-05/2.194, allocations: 69.97 kB / 0.8632 GB, free: 111.6 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=301): time 6.422e-06/2.194, allocations: 0 / 0.8632 GB, free: 111.6 MB / 0.4949 GB Notification: Performance of matching and sorting (n=329): time 0.05631/2.25, allocations: 23.04 MB / 0.8856 GB, free: 107.2 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.481e-05/2.25, allocations: 237.2 kB / 0.8859 GB, free: 107 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009417/2.26, allocations: 5.252 MB / 0.891 GB, free: 105.1 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.000979/2.261, allocations: 29.67 kB / 0.891 GB, free: 105.1 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003036/2.264, allocations: 4.839 MB / 0.8958 GB, free: 101.4 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.00205/2.266, allocations: 1.283 MB / 0.897 GB, free: 100.4 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005533/2.266, allocations: 0 / 0.897 GB, free: 100.4 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0004654/2.267, allocations: 0.7378 MB / 0.8977 GB, free: 99.94 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005587/2.272, allocations: 3.889 MB / 0.9015 GB, free: 98.61 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008231/2.281, allocations: 9.798 MB / 0.9111 GB, free: 89.32 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009488/2.29, allocations: 6.254 MB / 0.9172 GB, free: 87.48 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002785/2.29, allocations: 60.78 kB / 0.9173 GB, free: 87.48 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1340) (initialization): time 0.03906/2.329, allocations: 15.2 MB / 0.9321 GB, free: 80.05 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/2.33, allocations: 8 kB / 0.9321 GB, free: 80.04 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02115/2.351, allocations: 7.708 MB / 0.9396 GB, free: 73.79 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01621/2.367, allocations: 3.442 MB / 0.943 GB, free: 71.33 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009124/2.376, allocations: 2.376 MB / 0.9453 GB, free: 69.26 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0135/2.39, allocations: 12.67 MB / 0.9577 GB, free: 57.17 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01164/2.401, allocations: 0.5213 MB / 0.9582 GB, free: 56.77 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00298/2.404, allocations: 0.618 MB / 0.9588 GB, free: 56.18 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.004072/2.408, allocations: 0.6458 MB / 0.9594 GB, free: 55.54 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002054/2.411, allocations: 0.5669 MB / 0.96 GB, free: 54.96 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01896/2.43, allocations: 7.723 MB / 0.9675 GB, free: 48.8 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01558/2.445, allocations: 6.906 MB / 0.9743 GB, free: 43.21 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.746e-05/2.445, allocations: 12 kB / 0.9743 GB, free: 43.2 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001079/2.445, allocations: 15.52 kB / 0.9743 GB, free: 43.2 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04787/2.493, allocations: 18.25 MB / 0.9921 GB, free: 27.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-05/2.493, allocations: 4 kB / 0.9921 GB, free: 27.4 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003781/2.497, allocations: 0.628 MB / 0.9927 GB, free: 26.77 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009519/2.507, allocations: 2.95 MB / 0.9956 GB, free: 23.77 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001027/2.508, allocations: 73.97 kB / 0.9957 GB, free: 23.7 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01387/2.522, allocations: 13.48 MB / 1.009 GB, free: 9.562 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003206/2.525, allocations: 5.661 MB / 1.014 GB, free: 3.414 MB / 0.4949 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2682/2.793, allocations: 12.76 MB / 1.027 GB, free: 141.5 MB / 0.4949 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02493/2.818, allocations: 17.05 MB / 1.043 GB, free: 139.5 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002155/2.82, allocations: 0.6155 MB / 1.044 GB, free: 139.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001239/2.822, allocations: 39.12 kB / 1.044 GB, free: 139.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003458/2.825, allocations: 220.9 kB / 1.044 GB, free: 139.4 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004704/2.826, allocations: 170.5 kB / 1.045 GB, free: 139.4 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004208/2.826, allocations: 110.4 kB / 1.045 GB, free: 139.4 MB / 0.4949 GB Notification: Performance of sort global known variables: time 0.008451/2.834, allocations: 3.539 MB / 1.048 GB, free: 139.2 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01448/2.849, allocations: 1.938 MB / 1.05 GB, free: 139.2 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.0009935/2.85, allocations: 212.9 kB / 1.05 GB, free: 139.1 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01964/2.87, allocations: 11.17 MB / 1.061 GB, free: 136.6 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/2.87, allocations: 3.281 kB / 1.061 GB, free: 136.6 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.01003/2.88, allocations: 5.21 MB / 1.066 GB, free: 134.1 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006463/2.886, allocations: 0.703 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.04906/2.935, allocations: 17.03 MB / 1.083 GB, free: 127.5 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01609/2.952, allocations: 6.183 MB / 1.09 GB, free: 125.8 MB / 0.4949 GB Notification: Performance of SimCode: time 2.245e-06/2.952, allocations: 1.031 kB / 1.09 GB, free: 125.8 MB / 0.4949 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FreeBodies2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FreeBodies2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe 2>&1)