Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.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.Forces.Spring2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring2",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.001152/0.001152, allocations: 190.4 kB / 7.803 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.444/1.444, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.0009446/0.0009447, allocations: 87.39 kB / 261.4 MB, free: 13.48 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.1944/0.1944, allocations: 43.49 MB / 352.8 MB, free: 1.895 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2369/0.4313, allocations: 64.96 MB / 417.8 MB, free: 40.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.7922, allocations: 58.84 MB / 476.7 MB, free: 5.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.151/0.9433, allocations: 102.2 MB / 0.5653 GB, free: 12.66 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/0.9436, allocations: 71.97 kB / 0.5653 GB, free: 12.59 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: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.6083/1.552, allocations: 100.9 MB / 0.6639 GB, free: 83.77 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/1.552, allocations: 12.84 kB / 0.6639 GB, free: 83.77 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0143/1.566, allocations: 2.348 MB / 0.6662 GB, free: 83.41 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02264/1.589, allocations: 7.294 MB / 0.6733 GB, free: 82.71 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004406/1.59, allocations: 155 kB / 0.6735 GB, free: 82.71 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003024/1.593, allocations: 301.1 kB / 0.6737 GB, free: 82.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01611/1.609, allocations: 7.635 MB / 0.6812 GB, free: 82.67 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03186/1.641, allocations: 11.22 MB / 0.6922 GB, free: 79.36 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005603/1.641, allocations: 76.23 kB / 0.6922 GB, free: 79.35 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002923/1.644, allocations: 40.69 kB / 0.6923 GB, free: 79.35 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003089/1.647, allocations: 1.322 MB / 0.6936 GB, free: 79.33 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07367/1.721, allocations: 58.72 MB / 0.7509 GB, free: 34.34 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004865/1.726, allocations: 3.716 MB / 0.7545 GB, free: 30.66 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003864/1.73, allocations: 2.805 MB / 0.7573 GB, free: 27.84 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02008/1.75, allocations: 9.956 MB / 0.767 GB, free: 17.45 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.819e-05/1.75, allocations: 67.8 kB / 0.7671 GB, free: 17.37 MB / 474.7 MB Notification: Performance of pre-optimization done (n=214): time 6.712e-06/1.75, allocations: 0 / 0.7671 GB, free: 17.37 MB / 474.7 MB Notification: Performance of matching and sorting (n=243): time 0.04783/1.798, allocations: 19.71 MB / 0.7863 GB, free: 13.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/1.798, allocations: 201.9 kB / 0.7865 GB, free: 13.28 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006602/1.805, allocations: 3.55 MB / 0.79 GB, free: 9.707 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008959/1.806, allocations: 25.7 kB / 0.79 GB, free: 9.676 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003032/1.809, allocations: 3.327 MB / 0.7932 GB, free: 6.297 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002115/1.811, allocations: 0.9484 MB / 0.7942 GB, free: 5.336 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005208/1.811, allocations: 0 / 0.7942 GB, free: 5.336 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005698/1.812, allocations: 0.6323 MB / 0.7948 GB, free: 4.699 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005212/1.817, allocations: 3.049 MB / 0.7978 GB, free: 1.648 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00881/1.826, allocations: 7.406 MB / 0.805 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009725/1.836, allocations: 4.864 MB / 0.8097 GB, free: 3.203 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001561/1.836, allocations: 44 kB / 0.8098 GB, free: 3.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=997) (initialization): time 0.03146/1.867, allocations: 12.15 MB / 0.8216 GB, free: 6.988 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/1.868, allocations: 7.984 kB / 0.8217 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01614/1.884, allocations: 6.384 MB / 0.8279 GB, free: 0.5742 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2395/2.123, allocations: 3.093 MB / 0.8309 GB, free: 185.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006412/2.13, allocations: 1.723 MB / 0.8326 GB, free: 185.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01939/2.149, allocations: 15.31 MB / 0.8475 GB, free: 178 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009338/2.159, allocations: 498.3 kB / 0.848 GB, free: 178 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002654/2.161, allocations: 472.6 kB / 0.8485 GB, free: 178 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 708 * Number of states: 0 () * Number of discrete variables: 45 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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 (920): * Single equations (assignments): 900 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 11,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002916/2.164, allocations: 0.4975 MB / 0.849 GB, free: 177.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001349/2.166, allocations: 385.6 kB / 0.8493 GB, free: 177.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01679/2.182, allocations: 6.803 MB / 0.856 GB, free: 177.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01498/2.197, allocations: 6.194 MB / 0.862 GB, free: 177.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-05/2.197, allocations: 10.06 kB / 0.862 GB, free: 177.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.174e-05/2.198, allocations: 14.11 kB / 0.862 GB, free: 177.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0339/2.231, allocations: 14.26 MB / 0.876 GB, free: 175.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.72e-05/2.232, allocations: 3.469 kB / 0.876 GB, free: 175.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002351/2.234, allocations: 382 kB / 0.8763 GB, free: 175.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01071/2.245, allocations: 3.124 MB / 0.8794 GB, free: 174.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007515/2.245, allocations: 46.3 kB / 0.8794 GB, free: 174.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01992/2.265, allocations: 16.41 MB / 0.8954 GB, free: 165.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002425/2.268, allocations: 4.158 MB / 0.8995 GB, free: 161.4 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02473/2.293, allocations: 10.7 MB / 0.91 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02344/2.316, allocations: 14.21 MB / 0.9238 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00157/2.318, allocations: 449.4 kB / 0.9243 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001019/2.319, allocations: 34.59 kB / 0.9243 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002872/2.322, allocations: 202.4 kB / 0.9245 GB, free: 145.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003619/2.322, allocations: 120.6 kB / 0.9246 GB, free: 145.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002431/2.322, allocations: 78.41 kB / 0.9247 GB, free: 145.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.003589/2.326, allocations: 2.362 MB / 0.927 GB, free: 143.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008484/2.334, allocations: 1.397 MB / 0.9283 GB, free: 142 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 36 ($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],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],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 165 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 10,(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.0007507/2.335, allocations: 195.1 kB / 0.9285 GB, free: 141.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01491/2.35, allocations: 8.86 MB / 0.9372 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/2.35, allocations: 0 / 0.9372 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008775/2.359, allocations: 4.283 MB / 0.9414 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00292/2.362, allocations: 410.6 kB / 0.9418 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02386/2.386, allocations: 11.44 MB / 0.9529 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005645/2.392, allocations: 4.208 MB / 0.957 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.573e-06/2.392, allocations: 0 / 0.957 GB, free: 115.7 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring2_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.pipe 2>&1)