Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",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.00189/0.00189, allocations: 205.6 kB / 8.54 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.223/1.223, allocations: 225.5 MB / 234.4 MB, free: 3.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009451/0.0009451, allocations: 90.28 kB / 286.3 MB, free: 5.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1714/0.1714, allocations: 45.15 MB / 383.3 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1824/0.3538, allocations: 69.37 MB / 452.7 MB, free: 76.14 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09911/0.4529, allocations: 63.24 MB / 0.5039 GB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2596/0.7126, allocations: 110.5 MB / 0.6118 GB, free: 8.902 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000196/0.7128, allocations: 87.28 kB / 0.6119 GB, free: 8.859 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.2669/0.9797, allocations: 98.67 MB / 0.7083 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.9798, allocations: 8 kB / 0.7083 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01454/0.9943, allocations: 1.939 MB / 0.7102 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01464/1.009, allocations: 4.24 MB / 0.7143 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003414/1.009, allocations: 160 kB / 0.7144 GB, free: 7.691 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002077/1.011, allocations: 291.9 kB / 0.7147 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01381/1.025, allocations: 7.708 MB / 0.7223 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01668/1.042, allocations: 11.27 MB / 0.7333 GB, free: 3.375 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001652/1.042, allocations: 71.23 kB / 0.7333 GB, free: 3.305 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007128/1.043, allocations: 32 kB / 0.7334 GB, free: 3.273 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001578/1.044, allocations: 1.215 MB / 0.7345 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1831/1.228, allocations: 52.89 MB / 0.7862 GB, free: 157.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004263/1.232, allocations: 4.369 MB / 0.7905 GB, free: 156.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003015/1.235, allocations: 3.265 MB / 0.7937 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01345/1.248, allocations: 10.16 MB / 0.8036 GB, free: 154.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/1.248, allocations: 56.12 kB / 0.8036 GB, free: 154.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=197): time 4.729e-06/1.248, allocations: 0 / 0.8036 GB, free: 154.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=228): time 0.04191/1.29, allocations: 21.84 MB / 0.825 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/1.29, allocations: 154.9 kB / 0.8251 GB, free: 149 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003647/1.294, allocations: 3.248 MB / 0.8283 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002228/1.294, allocations: 25.7 kB / 0.8283 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001115/1.295, allocations: 3.261 MB / 0.8315 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005691/1.296, allocations: 0.8398 MB / 0.8323 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003092/1.296, allocations: 0 / 0.8323 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002623/1.297, allocations: 0.5892 MB / 0.8329 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003182/1.3, allocations: 2.797 MB / 0.8356 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004323/1.304, allocations: 6.711 MB / 0.8422 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004519/1.309, allocations: 4.282 MB / 0.8463 GB, free: 136 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.079e-05/1.309, allocations: 42.34 kB / 0.8464 GB, free: 136 MB / 0.5261 GB Notification: Performance of matching and sorting (n=874) (initialization): time 0.0146/1.323, allocations: 9.534 MB / 0.8557 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/1.323, allocations: 4 kB / 0.8557 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.052e-05/1.323, allocations: 140 kB / 0.8558 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002631/1.326, allocations: 1.064 MB / 0.8569 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005361/1.331, allocations: 1.624 MB / 0.8585 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006068/1.338, allocations: 5.529 MB / 0.8639 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004401/1.342, allocations: 230.2 kB / 0.8641 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000559/1.343, allocations: 419 kB / 0.8645 GB, free: 124.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 639 * Number of states: 0 () * Number of discrete variables: 44 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (835): * Single equations (assignments): 831 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007224/1.343, allocations: 469.8 kB / 0.8649 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004757/1.344, allocations: 351.2 kB / 0.8653 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00783/1.352, allocations: 5.08 MB / 0.8702 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.442e-05/1.352, allocations: 26.95 kB / 0.8702 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/1.352, allocations: 4 kB / 0.8702 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.752e-05/1.352, allocations: 9.938 kB / 0.8703 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01531/1.367, allocations: 10.27 MB / 0.8803 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/1.367, allocations: 0 / 0.8803 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002538/1.37, allocations: 425 kB / 0.8807 GB, free: 111 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002456/1.372, allocations: 0.8664 MB / 0.8815 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000261/1.372, allocations: 15.66 kB / 0.8816 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005864/1.378, allocations: 5.246 MB / 0.8867 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.768e-06/1.378, allocations: 4 kB / 0.8867 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01083/1.389, allocations: 9.103 MB / 0.8956 GB, free: 97.65 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01353/1.403, allocations: 12.72 MB / 0.908 GB, free: 86.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001491/1.404, allocations: 0.7964 MB / 0.9088 GB, free: 85.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005759/1.405, allocations: 4 kB / 0.9088 GB, free: 85.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00189/1.407, allocations: 97.22 kB / 0.9089 GB, free: 85.51 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003474/1.407, allocations: 118.7 kB / 0.909 GB, free: 85.44 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002432/1.407, allocations: 60 kB / 0.909 GB, free: 85.38 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002669/1.41, allocations: 2.178 MB / 0.9112 GB, free: 83.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005001/1.415, allocations: 1.036 MB / 0.9122 GB, free: 82.47 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (200): * Single equations (assignments): 196 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004042/1.415, allocations: 164.1 kB / 0.9123 GB, free: 82.31 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007441/1.423, allocations: 6.614 MB / 0.9188 GB, free: 76.39 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.423, allocations: 4 kB / 0.9188 GB, free: 76.38 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002962/1.426, allocations: 2.502 MB / 0.9212 GB, free: 74.14 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/1.427, allocations: 339.7 kB / 0.9216 GB, free: 73.86 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0154/1.443, allocations: 9.611 MB / 0.931 GB, free: 65.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004709/1.447, allocations: 4.089 MB / 0.9349 GB, free: 61.35 MB / 0.5261 GB Notification: Performance of SimCode: time 5.41e-07/1.447, allocations: 0 / 0.9349 GB, free: 61.35 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1)