Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FreeBodiesEnforceStatesFalse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 178.6 kB / 8.519 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.202/1.202, allocations: 221.4 MB / 230.3 MB, free: 7.719 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009472/0.0009475, allocations: 91.72 kB / 281.2 MB, free: 5.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1633/0.1633, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1723/0.3357, allocations: 68.02 MB / 444.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08857/0.4243, allocations: 61.91 MB / 0.4942 GB, free: 1.555 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2596/0.6839, allocations: 108 MB / 0.5996 GB, free: 4.859 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001959/0.6842, allocations: 83.89 kB / 0.5997 GB, free: 4.777 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.5438/1.228, allocations: 151.4 MB / 0.7476 GB, free: 98.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/1.228, allocations: 15.34 kB / 0.7476 GB, free: 98.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02935/1.257, allocations: 7.217 MB / 0.7546 GB, free: 98.35 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02415/1.282, allocations: 10.47 MB / 0.7648 GB, free: 97.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002669/1.282, allocations: 254.3 kB / 0.7651 GB, free: 97.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00195/1.284, allocations: 487.1 kB / 0.7656 GB, free: 96.99 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01769/1.301, allocations: 10.94 MB / 0.7762 GB, free: 93.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02209/1.324, allocations: 16.08 MB / 0.7919 GB, free: 81.04 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002484/1.324, allocations: 109.6 kB / 0.792 GB, free: 80.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008108/1.325, allocations: 44 kB / 0.7921 GB, free: 80.89 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002295/1.327, allocations: 1.808 MB / 0.7938 GB, free: 79.41 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07282/1.4, allocations: 81.8 MB / 0.8737 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006388/1.406, allocations: 4.824 MB / 0.8784 GB, free: 7.867 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004643/1.411, allocations: 3.849 MB / 0.8822 GB, free: 4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01998/1.431, allocations: 13.24 MB / 0.8951 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/1.431, allocations: 68.38 kB / 0.8952 GB, free: 6.16 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=301): time 6.111e-06/1.431, allocations: 0 / 0.8952 GB, free: 6.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=329): time 0.2877/1.719, allocations: 22.89 MB / 0.9175 GB, free: 178.5 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/1.719, allocations: 241.8 kB / 0.9178 GB, free: 178.2 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006326/1.725, allocations: 5.185 MB / 0.9228 GB, free: 177.7 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0004281/1.726, allocations: 25.7 kB / 0.9229 GB, free: 177.7 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001823/1.727, allocations: 4.83 MB / 0.9276 GB, free: 174.8 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001149/1.729, allocations: 1.287 MB / 0.9288 GB, free: 174.1 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000433/1.729, allocations: 0 / 0.9288 GB, free: 174.1 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0004026/1.729, allocations: 0.7387 MB / 0.9296 GB, free: 173.8 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00464/1.734, allocations: 3.908 MB / 0.9334 GB, free: 173.7 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006307/1.74, allocations: 9.827 MB / 0.943 GB, free: 166.1 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007963/1.748, allocations: 6.28 MB / 0.9491 GB, free: 165.3 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001003/1.748, allocations: 63.16 kB / 0.9492 GB, free: 165.3 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1340) (initialization): time 0.03031/1.779, allocations: 15.25 MB / 0.9641 GB, free: 161 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/1.779, allocations: 3.938 kB / 0.9641 GB, free: 161 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01841/1.797, allocations: 7.762 MB / 0.9716 GB, free: 158.8 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01646/1.814, allocations: 3.441 MB / 0.975 GB, free: 158.2 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008666/1.822, allocations: 2.375 MB / 0.9773 GB, free: 157.9 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01302/1.836, allocations: 12.67 MB / 0.9897 GB, free: 147.3 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00912/1.845, allocations: 0.5221 MB / 0.9902 GB, free: 146.9 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001076/1.846, allocations: 0.6161 MB / 0.9908 GB, free: 146.4 MB / 0.5262 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.001278/1.847, allocations: 0.6382 MB / 0.9914 GB, free: 145.7 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007703/1.848, allocations: 0.5669 MB / 0.992 GB, free: 145.1 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01477/1.863, allocations: 7.744 MB / 0.9995 GB, free: 139 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0129/1.876, allocations: 6.932 MB / 1.006 GB, free: 133.3 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.911e-05/1.876, allocations: 7.938 kB / 1.006 GB, free: 133.3 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.522e-05/1.876, allocations: 20.73 kB / 1.006 GB, free: 133.3 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03039/1.906, allocations: 18.35 MB / 1.024 GB, free: 118.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.417e-05/1.906, allocations: 4 kB / 1.024 GB, free: 118.9 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003551/1.91, allocations: 0.6247 MB / 1.025 GB, free: 118.4 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009558/1.919, allocations: 2.962 MB / 1.028 GB, free: 116.3 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004597/1.92, allocations: 74.69 kB / 1.028 GB, free: 116.2 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01267/1.932, allocations: 13.48 MB / 1.041 GB, free: 103.7 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002544/1.935, allocations: 5.657 MB / 1.047 GB, free: 97.69 MB / 0.5262 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01882/1.954, allocations: 12.8 MB / 1.059 GB, free: 85.47 MB / 0.5262 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02193/1.976, allocations: 17.09 MB / 1.076 GB, free: 68.05 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001507/1.977, allocations: 0.6108 MB / 1.076 GB, free: 67.41 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001285/1.979, allocations: 47.97 kB / 1.076 GB, free: 67.37 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003553/1.982, allocations: 219.3 kB / 1.077 GB, free: 67.16 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004356/1.983, allocations: 173.7 kB / 1.077 GB, free: 66.98 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003171/1.983, allocations: 111.9 kB / 1.077 GB, free: 66.88 MB / 0.5262 GB Notification: Performance of sort global known variables: time 0.005185/1.988, allocations: 3.493 MB / 1.08 GB, free: 63.39 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0088/1.997, allocations: 1.934 MB / 1.082 GB, free: 61.46 MB / 0.5262 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.0006041/1.997, allocations: 219.4 kB / 1.082 GB, free: 61.25 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.01639/2.014, allocations: 11.21 MB / 1.093 GB, free: 49.84 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/2.014, allocations: 0 / 1.093 GB, free: 49.84 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.008617/2.023, allocations: 5.232 MB / 1.098 GB, free: 44.36 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003699/2.026, allocations: 0.7142 MB / 1.099 GB, free: 43.68 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02677/2.053, allocations: 17.04 MB / 1.116 GB, free: 26.71 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007485/2.061, allocations: 6.168 MB / 1.122 GB, free: 20.56 MB / 0.5262 GB Notification: Performance of SimCode: time 8.02e-07/2.061, allocations: 0 / 1.122 GB, free: 20.56 MB / 0.5262 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FreeBodiesEnforceStatesFalse_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FreeBodiesEnforceStatesFalse.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.pipe 2>&1)