Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FreeBodiesEnforceStatesFalse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FreeBodiesEnforceStatesFalse",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 trunk/package.mo): time 0.001586/0.001586, allocations: 197.8 kB / 8.54 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.26/1.26, allocations: 225.5 MB / 234.4 MB, free: 3.383 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009428/0.000943, allocations: 91.53 kB / 286.3 MB, free: 5.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1751/0.1751, allocations: 45.15 MB / 383.4 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1844/0.3595, allocations: 69.36 MB / 452.7 MB, free: 76.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07917/0.4387, allocations: 63.24 MB / 0.5039 GB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.262/0.7007, allocations: 108.9 MB / 0.6102 GB, free: 10.22 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001888/0.7009, allocations: 76.2 kB / 0.6102 GB, free: 10.18 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.5788/1.28, allocations: 157.2 MB / 0.7637 GB, free: 99.26 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/1.28, allocations: 11.72 kB / 0.7637 GB, free: 99.26 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03028/1.31, allocations: 7.418 MB / 0.771 GB, free: 98.74 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02188/1.332, allocations: 9.559 MB / 0.7803 GB, free: 97.81 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/1.332, allocations: 252 kB / 0.7805 GB, free: 97.81 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00147/1.334, allocations: 485.4 kB / 0.781 GB, free: 97.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01483/1.349, allocations: 10.95 MB / 0.7917 GB, free: 97.76 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01882/1.367, allocations: 16.07 MB / 0.8074 GB, free: 93.65 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002407/1.368, allocations: 107.5 kB / 0.8075 GB, free: 93.64 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008068/1.368, allocations: 43.41 kB / 0.8075 GB, free: 93.64 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002099/1.371, allocations: 1.807 MB / 0.8093 GB, free: 93.62 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07473/1.445, allocations: 81.78 MB / 0.8892 GB, free: 38.67 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006352/1.452, allocations: 4.837 MB / 0.8939 GB, free: 36.27 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004333/1.456, allocations: 3.847 MB / 0.8976 GB, free: 33.32 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01756/1.474, allocations: 13.24 MB / 0.9106 GB, free: 21.62 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/1.474, allocations: 75.44 kB / 0.9106 GB, free: 21.54 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=301): time 5.12e-06/1.474, allocations: 0 / 0.9106 GB, free: 21.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=329): time 0.04884/1.523, allocations: 22.88 MB / 0.933 GB, free: 1.988 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/1.523, allocations: 243.5 kB / 0.9332 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01289/1.536, allocations: 5.687 MB / 0.9388 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000521/1.536, allocations: 33.58 kB / 0.9388 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.002643/1.539, allocations: 4.831 MB / 0.9435 GB, free: 9.984 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001432/1.54, allocations: 1.285 MB / 0.9448 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004307/1.541, allocations: 0 / 0.9448 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0005084/1.541, allocations: 0.7343 MB / 0.9455 GB, free: 8.211 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005629/1.547, allocations: 3.911 MB / 0.9493 GB, free: 4.715 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2606/1.807, allocations: 9.823 MB / 0.9589 GB, free: 156.6 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007957/1.815, allocations: 6.283 MB / 0.965 GB, free: 156.6 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.606e-05/1.815, allocations: 59.12 kB / 0.9651 GB, free: 156.6 MB / 0.5418 GB Notification: Performance of matching and sorting (n=1340) (initialization): time 0.03197/1.847, allocations: 15.22 MB / 0.98 GB, free: 156.1 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/1.848, allocations: 8.5 kB / 0.98 GB, free: 156.1 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01898/1.866, allocations: 7.735 MB / 0.9875 GB, free: 155.9 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01653/1.883, allocations: 3.426 MB / 0.9909 GB, free: 155.8 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00812/1.891, allocations: 2.376 MB / 0.9932 GB, free: 155.6 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01266/1.904, allocations: 12.67 MB / 1.006 GB, free: 148.1 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008493/1.912, allocations: 0.524 MB / 1.006 GB, free: 148.1 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009917/1.913, allocations: 0.6186 MB / 1.007 GB, free: 148.1 MB / 0.5418 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.001252/1.915, allocations: 0.6484 MB / 1.007 GB, free: 147.8 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009191/1.916, allocations: 0.5632 MB / 1.008 GB, free: 147.8 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01519/1.931, allocations: 7.749 MB / 1.015 GB, free: 147.5 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01341/1.944, allocations: 6.924 MB / 1.022 GB, free: 147.2 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-05/1.944, allocations: 9.5 kB / 1.022 GB, free: 147.2 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.083e-05/1.944, allocations: 17.27 kB / 1.022 GB, free: 147.2 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03132/1.976, allocations: 18.35 MB / 1.04 GB, free: 143.9 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/1.976, allocations: 3.875 kB / 1.04 GB, free: 143.9 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00356/1.979, allocations: 0.6273 MB / 1.041 GB, free: 143.9 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009702/1.989, allocations: 2.965 MB / 1.044 GB, free: 143.3 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003934/1.989, allocations: 70.75 kB / 1.044 GB, free: 143.2 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01343/2.003, allocations: 13.48 MB / 1.057 GB, free: 134.4 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002624/2.005, allocations: 5.662 MB / 1.062 GB, free: 129 MB / 0.5418 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01925/2.025, allocations: 12.8 MB / 1.075 GB, free: 121.3 MB / 0.5418 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02208/2.047, allocations: 17.09 MB / 1.092 GB, free: 106.1 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001414/2.048, allocations: 0.6145 MB / 1.092 GB, free: 105.5 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009504/2.049, allocations: 44.41 kB / 1.092 GB, free: 105.5 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003239/2.052, allocations: 215.8 kB / 1.092 GB, free: 105.3 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004313/2.053, allocations: 168.5 kB / 1.093 GB, free: 105.2 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000344/2.053, allocations: 105.2 kB / 1.093 GB, free: 105.2 MB / 0.5418 GB Notification: Performance of sort global known variables: time 0.004545/2.058, allocations: 3.496 MB / 1.096 GB, free: 102.1 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.008051/2.066, allocations: 1.939 MB / 1.098 GB, free: 100.2 MB / 0.5418 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.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.frame_a.r_0[1],bodyShape.body.frame_a.r_0[2],bodyShape.body.frame_a.r_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.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.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.frame_a.r_0[1],bodyBox.body.frame_a.r_0[2],bodyBox.body.frame_a.r_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.frame_a.r_0[1],bodyCylinder.body.frame_a.r_0[2],bodyCylinder.body.frame_a.r_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.0005859/2.066, allocations: 226.4 kB / 1.098 GB, free: 99.98 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.01606/2.083, allocations: 11.2 MB / 1.109 GB, free: 89.74 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/2.083, allocations: 1.062 kB / 1.109 GB, free: 89.74 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.008632/2.091, allocations: 5.242 MB / 1.114 GB, free: 84.89 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003724/2.095, allocations: 0.7075 MB / 1.115 GB, free: 84.3 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02622/2.121, allocations: 17.04 MB / 1.132 GB, free: 69.34 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007278/2.128, allocations: 6.169 MB / 1.138 GB, free: 63.99 MB / 0.5418 GB Notification: Performance of SimCode: time 7.11e-07/2.129, allocations: 0 / 1.138 GB, free: 63.99 MB / 0.5418 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FreeBodiesEnforceStatesFalse_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FreeBodiesEnforceStatesFalse.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.pipe 2>&1)