Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.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.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",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.001709/0.001709, allocations: 198.4 kB / 8.54 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 225.5 MB / 234.4 MB, free: 3.438 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008989/0.000899, allocations: 89.97 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.179/0.179, allocations: 45.14 MB / 383.4 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1932/0.3721, allocations: 69.36 MB / 452.7 MB, free: 76.14 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08472/0.4569, allocations: 63.24 MB / 0.5039 GB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2706/0.7276, allocations: 107.5 MB / 0.6088 GB, free: 11.64 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001661/0.7278, allocations: 74.53 kB / 0.6089 GB, free: 11.6 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: 3105 * Number of variables: 3105 Notification: Performance of Generate backend data structure: time 0.6145/1.342, allocations: 185 MB / 0.7895 GB, free: 94.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/1.342, allocations: 7.062 kB / 0.7895 GB, free: 94.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0155/1.358, allocations: 3.14 MB / 0.7926 GB, free: 94.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01789/1.376, allocations: 8.619 MB / 0.801 GB, free: 93.27 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003146/1.376, allocations: 299.2 kB / 0.8013 GB, free: 93.27 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002632/1.379, allocations: 0.5392 MB / 0.8018 GB, free: 93.26 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01938/1.398, allocations: 12.79 MB / 0.8143 GB, free: 93.21 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02757/1.426, allocations: 18.31 MB / 0.8322 GB, free: 89.02 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000238/1.426, allocations: 85.84 kB / 0.8323 GB, free: 89.01 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001028/1.427, allocations: 46.56 kB / 0.8323 GB, free: 89.01 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002332/1.429, allocations: 1.984 MB / 0.8343 GB, free: 88.75 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08474/1.514, allocations: 85.96 MB / 0.9182 GB, free: 19.57 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003117/1.517, allocations: 2.827 MB / 0.921 GB, free: 16.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/1.519, allocations: 1.5 MB / 0.9224 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01187/1.531, allocations: 7.612 MB / 0.9299 GB, free: 8.973 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/1.531, allocations: 63.44 kB / 0.9299 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=164): time 4.328e-06/1.531, allocations: 0 / 0.9299 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of matching and sorting (n=164): time 0.01521/1.546, allocations: 4.797 MB / 0.9346 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/1.546, allocations: 141.5 kB / 0.9347 GB, free: 5.238 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006742/1.553, allocations: 5.352 MB / 0.94 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001436/1.553, allocations: 29.7 kB / 0.94 GB, free: 0.5156 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00343/1.557, allocations: 5.663 MB / 0.9455 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006429/1.557, allocations: 0.6814 MB / 0.9462 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002518/1.557, allocations: 0 / 0.9462 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000502/1.558, allocations: 0.6752 MB / 0.9469 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00309/1.561, allocations: 2.178 MB / 0.949 GB, free: 8.324 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2722/1.833, allocations: 8.057 MB / 0.9568 GB, free: 148.9 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005059/1.838, allocations: 4.15 MB / 0.9609 GB, free: 148.9 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.723e-05/1.838, allocations: 60.66 kB / 0.961 GB, free: 148.9 MB / 0.5418 GB Notification: Performance of matching and sorting (n=1153) (initialization): time 0.01298/1.851, allocations: 8.766 MB / 0.9695 GB, free: 148.9 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/1.852, allocations: 6.766 kB / 0.9695 GB, free: 148.9 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001668/1.852, allocations: 216.3 kB / 0.9697 GB, free: 148.9 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002362/1.852, allocations: 311.3 kB / 0.97 GB, free: 148.9 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006377/1.858, allocations: 2.139 MB / 0.9721 GB, free: 148.7 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002192/1.859, allocations: 421.5 kB / 0.9725 GB, free: 148.6 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006915/1.865, allocations: 1.133 MB / 0.9736 GB, free: 148.6 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006585/1.866, allocations: 0.5551 MB / 0.9742 GB, free: 148.6 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 975 * Number of states: 0 () * Number of discrete variables: 88 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueArrow.arrowLine.twoHeadedArrow,cutForce2b.torqueArrow.headAtOrigin,cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueArrow.arrowLine.twoHeadedArrow,cutForce2a.torqueArrow.headAtOrigin,cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueArrow.arrowLine.twoHeadedArrow,cutForce1b.torqueArrow.headAtOrigin,cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueArrow.arrowLine.twoHeadedArrow,cutForce1a.torqueArrow.headAtOrigin,cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1129): * Single equations (assignments): 1126 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007859/1.867, allocations: 0.6368 MB / 0.9748 GB, free: 148.3 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006039/1.868, allocations: 0.5327 MB / 0.9753 GB, free: 148.3 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/1.869, allocations: 0.618 MB / 0.9759 GB, free: 148.2 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.258e-05/1.869, allocations: 18.25 kB / 0.9759 GB, free: 148.2 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/1.869, allocations: 6.75 kB / 0.9759 GB, free: 148.2 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/1.869, allocations: 6.703 kB / 0.9759 GB, free: 148.2 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02423/1.893, allocations: 19.95 MB / 0.9954 GB, free: 146.8 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-05/1.893, allocations: 27.19 kB / 0.9955 GB, free: 146.8 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/1.894, allocations: 280 kB / 0.9957 GB, free: 146.8 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.787e-05/1.894, allocations: 34.25 kB / 0.9958 GB, free: 146.8 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001312/1.894, allocations: 42.62 kB / 0.9958 GB, free: 146.8 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.503e-05/1.894, allocations: 52.08 kB / 0.9958 GB, free: 146.8 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.695e-05/1.894, allocations: 40.03 kB / 0.9959 GB, free: 146.8 MB / 0.5418 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003869/1.898, allocations: 7.684 MB / 1.003 GB, free: 140.3 MB / 0.5418 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003857/1.902, allocations: 8.144 MB / 1.011 GB, free: 133.4 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009731/1.903, allocations: 0.5911 MB / 1.012 GB, free: 133 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006616/1.904, allocations: 37.38 kB / 1.012 GB, free: 133 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002184/1.906, allocations: 151.3 kB / 1.012 GB, free: 133 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/1.906, allocations: 152.6 kB / 1.012 GB, free: 133 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/1.906, allocations: 84.53 kB / 1.012 GB, free: 133 MB / 0.5418 GB Notification: Performance of sort global known variables: time 0.004581/1.911, allocations: 3.58 MB / 1.016 GB, free: 132.8 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.007697/1.919, allocations: 2.069 MB / 1.018 GB, free: 132.5 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 137 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003768/1.919, allocations: 182 kB / 1.018 GB, free: 132.4 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.006264/1.925, allocations: 5.099 MB / 1.023 GB, free: 131.9 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/1.925, allocations: 7.219 kB / 1.023 GB, free: 131.9 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.001144/1.927, allocations: 1.034 MB / 1.024 GB, free: 131.8 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003202/1.93, allocations: 0.7527 MB / 1.025 GB, free: 131.8 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02239/1.952, allocations: 13.46 MB / 1.038 GB, free: 128.1 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007733/1.96, allocations: 6.565 MB / 1.044 GB, free: 127.2 MB / 0.5418 GB Notification: Performance of SimCode: time 7.01e-07/1.96, allocations: 3.688 kB / 1.044 GB, free: 127.2 MB / 0.5418 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1)