Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.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.Forces.WorldForceAndTorque,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",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.00172/0.00172, allocations: 202.3 kB / 8.54 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 225.5 MB / 234.4 MB, free: 3.328 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009992/0.0009992, allocations: 90.16 kB / 286.3 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1722/0.1722, allocations: 45.15 MB / 383.4 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1931/0.3653, allocations: 69.37 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08207/0.4474, allocations: 63.24 MB / 0.5039 GB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2699/0.7174, allocations: 108.4 MB / 0.6097 GB, free: 10.93 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001953/0.7176, allocations: 76.08 kB / 0.6098 GB, free: 10.89 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: 2857 * Number of variables: 2857 Notification: Performance of Generate backend data structure: time 0.5768/1.294, allocations: 168.5 MB / 0.7744 GB, free: 95.76 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/1.294, allocations: 7.312 kB / 0.7744 GB, free: 95.76 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03571/1.33, allocations: 9.275 MB / 0.7834 GB, free: 95.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01851/1.349, allocations: 8.233 MB / 0.7915 GB, free: 94.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002913/1.349, allocations: 266.9 kB / 0.7917 GB, free: 94.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002301/1.351, allocations: 497.3 kB / 0.7922 GB, free: 94.23 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01649/1.368, allocations: 11.65 MB / 0.8036 GB, free: 94.18 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02427/1.392, allocations: 17.43 MB / 0.8206 GB, free: 89.99 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000274/1.392, allocations: 108.4 kB / 0.8207 GB, free: 89.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000977/1.393, allocations: 50.84 kB / 0.8207 GB, free: 89.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00175/1.395, allocations: 1.9 MB / 0.8226 GB, free: 89.96 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07369/1.469, allocations: 81.64 MB / 0.9023 GB, free: 31.93 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006841/1.476, allocations: 7.101 MB / 0.9093 GB, free: 25.38 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004629/1.48, allocations: 5.1 MB / 0.9142 GB, free: 20.71 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01653/1.497, allocations: 12.71 MB / 0.9266 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/1.497, allocations: 68.47 kB / 0.9267 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=295): time 6.302e-06/1.497, allocations: 0 / 0.9267 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of matching and sorting (n=361): time 0.3271/1.824, allocations: 34.22 MB / 0.9601 GB, free: 162.2 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/1.824, allocations: 278.4 kB / 0.9604 GB, free: 161.9 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006413/1.831, allocations: 5.153 MB / 0.9654 GB, free: 161.6 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0005693/1.831, allocations: 28.98 kB / 0.9655 GB, free: 161.6 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001884/1.833, allocations: 5.051 MB / 0.9704 GB, free: 160 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.001182/1.834, allocations: 1.308 MB / 0.9717 GB, free: 159.2 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004473/1.835, allocations: 3.25 kB / 0.9717 GB, free: 159.2 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0003963/1.835, allocations: 0.7286 MB / 0.9724 GB, free: 158.9 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004918/1.84, allocations: 4.021 MB / 0.9763 GB, free: 158.8 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00757/1.848, allocations: 9.625 MB / 0.9857 GB, free: 151.6 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007414/1.855, allocations: 6.171 MB / 0.9917 GB, free: 151.6 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.038e-05/1.855, allocations: 59.5 kB / 0.9918 GB, free: 151.6 MB / 0.5418 GB Notification: Performance of matching and sorting (n=1284) (initialization): time 0.02295/1.878, allocations: 14.39 MB / 1.006 GB, free: 151.1 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/1.878, allocations: 10.34 kB / 1.006 GB, free: 151.1 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001733/1.878, allocations: 202.2 kB / 1.006 GB, free: 151.1 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005672/1.884, allocations: 2.331 MB / 1.008 GB, free: 151.1 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007761/1.892, allocations: 2.27 MB / 1.011 GB, free: 150.9 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01874/1.911, allocations: 15.46 MB / 1.026 GB, free: 146.6 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007768/1.919, allocations: 321.9 kB / 1.026 GB, free: 146.6 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001509/1.92, allocations: 0.586 MB / 1.027 GB, free: 146.5 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 909 * Number of states: 0 () * Number of discrete variables: 87 (forceAndTorque2.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque1.torqueArrow.headAtOrigin,forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque1.forceArrow.headAtOrigin,forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.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 (1188): * Single equations (assignments): 1182 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001438/1.921, allocations: 0.6196 MB / 1.027 GB, free: 146 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009996/1.922, allocations: 0.5601 MB / 1.028 GB, free: 145.7 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01324/1.936, allocations: 8.368 MB / 1.036 GB, free: 143 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.282e-05/1.936, allocations: 34.22 kB / 1.036 GB, free: 143 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.961e-05/1.936, allocations: 15.22 kB / 1.036 GB, free: 143 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.804e-05/1.936, allocations: 15.61 kB / 1.036 GB, free: 143 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02763/1.964, allocations: 17.11 MB / 1.053 GB, free: 137.2 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/1.964, allocations: 0 / 1.053 GB, free: 137.2 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003466/1.967, allocations: 0.5817 MB / 1.053 GB, free: 137.2 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005366/1.972, allocations: 1.978 MB / 1.055 GB, free: 136.8 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004387/1.973, allocations: 7.938 kB / 1.055 GB, free: 136.8 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01812/1.991, allocations: 14.41 MB / 1.069 GB, free: 127.3 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/1.991, allocations: 4 kB / 1.069 GB, free: 127.3 MB / 0.5418 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01733/2.008, allocations: 13.54 MB / 1.082 GB, free: 115.5 MB / 0.5418 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02156/2.03, allocations: 18.7 MB / 1.101 GB, free: 99.01 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/2.031, allocations: 0.5708 MB / 1.101 GB, free: 98.43 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009473/2.032, allocations: 4 kB / 1.101 GB, free: 98.42 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002811/2.035, allocations: 152.4 kB / 1.101 GB, free: 98.33 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004499/2.035, allocations: 164.3 kB / 1.102 GB, free: 98.24 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003502/2.036, allocations: 91.94 kB / 1.102 GB, free: 98.15 MB / 0.5418 GB Notification: Performance of sort global known variables: time 0.004425/2.04, allocations: 3.482 MB / 1.105 GB, free: 95.11 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.007855/2.048, allocations: 1.679 MB / 1.107 GB, free: 93.44 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 280 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(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.0005352/2.049, allocations: 171.6 kB / 1.107 GB, free: 93.29 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.01281/2.061, allocations: 10.17 MB / 1.117 GB, free: 84.19 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/2.061, allocations: 0 / 1.117 GB, free: 84.19 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.005955/2.067, allocations: 4.167 MB / 1.121 GB, free: 80.45 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003318/2.071, allocations: 0.6791 MB / 1.121 GB, free: 79.88 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02547/2.096, allocations: 15.81 MB / 1.137 GB, free: 65.72 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007906/2.104, allocations: 6.381 MB / 1.143 GB, free: 60.95 MB / 0.5418 GB Notification: Performance of SimCode: time 8.91e-07/2.104, allocations: 0 / 1.143 GB, free: 60.95 MB / 0.5418 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForceAndTorque_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForceAndTorque.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1)