Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.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.Forces.Force2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force2",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.001555/0.001555, allocations: 185.2 kB / 8.52 MB, free: 1.824 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.162/1.162, allocations: 221.4 MB / 230.3 MB, free: 7.625 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.000976/0.000976, allocations: 88.69 kB / 281.2 MB, free: 5.438 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.1586/0.1586, allocations: 44.15 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1879/0.3466, allocations: 68.03 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09673/0.4433, allocations: 61.91 MB / 0.4942 GB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2772/0.7206, allocations: 111.5 MB / 0.6031 GB, free: 1.223 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.7209, allocations: 71.95 kB / 0.6032 GB, free: 1.152 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: 4009 * Number of variables: 4009 Notification: Performance of Generate backend data structure: time 0.6715/1.392, allocations: 226.7 MB / 0.8246 GB, free: 53.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/1.393, allocations: 11.94 kB / 0.8246 GB, free: 53.27 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04523/1.438, allocations: 12.19 MB / 0.8365 GB, free: 41.05 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02702/1.465, allocations: 12.31 MB / 0.8485 GB, free: 28.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003891/1.465, allocations: 380 kB / 0.8489 GB, free: 28.39 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003376/1.469, allocations: 0.6872 MB / 0.8495 GB, free: 27.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02574/1.494, allocations: 16.41 MB / 0.8656 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04346/1.538, allocations: 24.36 MB / 0.8893 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000481/1.538, allocations: 146.6 kB / 0.8895 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001706/1.54, allocations: 64 kB / 0.8895 GB, free: 0.6328 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3108/1.851, allocations: 2.738 MB / 0.8922 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1094/1.96, allocations: 117 MB / 1.007 GB, free: 55.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01109/1.972, allocations: 10.57 MB / 1.017 GB, free: 50.72 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007552/1.979, allocations: 7.506 MB / 1.024 GB, free: 47.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02834/2.007, allocations: 20.07 MB / 1.044 GB, free: 38.14 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.972e-05/2.008, allocations: 85.81 kB / 1.044 GB, free: 38.07 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=427): time 1.019e-05/2.008, allocations: 0 / 1.044 GB, free: 38.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=511): time 0.2904/2.298, allocations: 53.41 MB / 1.096 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.647e-05/2.298, allocations: 363.5 kB / 1.096 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0116/2.31, allocations: 7.667 MB / 1.104 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001316/2.311, allocations: 28.73 kB / 1.104 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003596/2.315, allocations: 7.12 MB / 1.111 GB, free: 115 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002445/2.317, allocations: 1.856 MB / 1.113 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007512/2.318, allocations: 0 / 1.113 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005385/2.318, allocations: 0.9042 MB / 1.114 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007294/2.326, allocations: 5.702 MB / 1.119 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01079/2.337, allocations: 13.58 MB / 1.132 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01167/2.348, allocations: 8.725 MB / 1.141 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001777/2.348, allocations: 77.88 kB / 1.141 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1834) (initialization): time 0.03564/2.384, allocations: 20.24 MB / 1.161 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/2.384, allocations: 7.594 kB / 1.161 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007441/2.385, allocations: 276.7 kB / 1.161 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008002/2.393, allocations: 3.097 MB / 1.164 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0125/2.405, allocations: 3.308 MB / 1.167 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02396/2.429, allocations: 20.34 MB / 1.187 GB, free: 90.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01086/2.44, allocations: 457.9 kB / 1.188 GB, free: 90.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002701/2.443, allocations: 0.826 MB / 1.188 GB, free: 90.63 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1276 * Number of states: 0 () * Number of discrete variables: 138 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueArrow.arrowLine.twoHeadedArrow,force4.torqueArrow.headAtOrigin,force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceArrow.arrowLine.twoHeadedArrow,force4.forceArrow.headAtOrigin,force4.forceArrow.color[3],force4.forceArrow.color[2],force4.forceArrow.color[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueArrow.arrowLine.twoHeadedArrow,force3.torqueArrow.headAtOrigin,force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceArrow.arrowLine.twoHeadedArrow,force3.forceArrow.headAtOrigin,force3.forceArrow.color[3],force3.forceArrow.color[2],force3.forceArrow.color[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (1716): * Single equations (assignments): 1709 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 20,(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00341/2.446, allocations: 0.8393 MB / 1.189 GB, free: 89.96 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001855/2.448, allocations: 0.8314 MB / 1.19 GB, free: 89.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02025/2.469, allocations: 11.81 MB / 1.202 GB, free: 85.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.803e-05/2.469, allocations: 47.88 kB / 1.202 GB, free: 85.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.174e-05/2.469, allocations: 17.56 kB / 1.202 GB, free: 85.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.57e-05/2.469, allocations: 24.47 kB / 1.202 GB, free: 85.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04228/2.511, allocations: 24.34 MB / 1.225 GB, free: 70.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.87e-05/2.511, allocations: 4 kB / 1.225 GB, free: 70.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005252/2.516, allocations: 0.8976 MB / 1.226 GB, free: 69.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006962/2.523, allocations: 2.616 MB / 1.229 GB, free: 67.88 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006711/2.524, allocations: 11.52 kB / 1.229 GB, free: 67.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02216/2.546, allocations: 19.12 MB / 1.248 GB, free: 50.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/2.546, allocations: 4 kB / 1.248 GB, free: 50.6 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0257/2.572, allocations: 19 MB / 1.266 GB, free: 33.94 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2066/2.779, allocations: 26.14 MB / 1.292 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002291/2.781, allocations: 0.817 MB / 1.292 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001721/2.783, allocations: 5.75 kB / 1.292 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004018/2.787, allocations: 177.3 kB / 1.293 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007012/2.787, allocations: 233.8 kB / 1.293 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004342/2.788, allocations: 130.2 kB / 1.293 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.008357/2.796, allocations: 5.207 MB / 1.298 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01312/2.809, allocations: 2.363 MB / 1.3 GB, free: 102.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (421): * Single equations (assignments): 414 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 17,(4,75.0%) 17,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001014/2.81, allocations: 177.2 kB / 1.3 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01987/2.83, allocations: 14.19 MB / 1.314 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/2.83, allocations: 0 / 1.314 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008879/2.839, allocations: 5.768 MB / 1.32 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005299/2.845, allocations: 0.9647 MB / 1.321 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04306/2.888, allocations: 22.58 MB / 1.343 GB, free: 94.26 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01336/2.901, allocations: 8.799 MB / 1.352 GB, free: 91.89 MB / 0.5105 GB Notification: Performance of SimCode: time 9.31e-07/2.901, allocations: 0.8438 kB / 1.352 GB, free: 91.89 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1)