Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001144/0.001143, allocations: 184.4 kB / 7.801 MB, free: 2.5 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.524/1.524, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.000931/0.000931, allocations: 79.47 kB / 261.4 MB, free: 13.62 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.2055/0.2055, allocations: 43.49 MB / 352.8 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2578/0.4634, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.8507, allocations: 58.84 MB / 476.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1526/1.003, allocations: 108.5 MB / 0.5714 GB, free: 6.414 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/1.004, allocations: 83.95 kB / 0.5715 GB, free: 6.332 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: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.488/1.492, allocations: 100.8 MB / 0.6699 GB, free: 104.8 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/1.492, allocations: 10.78 kB / 0.6699 GB, free: 104.8 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01021/1.502, allocations: 1.934 MB / 0.6718 GB, free: 104.5 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01348/1.515, allocations: 5.03 MB / 0.6767 GB, free: 103.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002657/1.516, allocations: 166.4 kB / 0.6769 GB, free: 103.8 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002497/1.518, allocations: 319.9 kB / 0.6772 GB, free: 103.8 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01504/1.533, allocations: 8.043 MB / 0.685 GB, free: 102.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02515/1.559, allocations: 11.71 MB / 0.6965 GB, free: 96.23 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000255/1.559, allocations: 63.7 kB / 0.6965 GB, free: 96.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009471/1.56, allocations: 32.03 kB / 0.6966 GB, free: 96.2 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001912/1.562, allocations: 1.286 MB / 0.6978 GB, free: 95.97 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07065/1.632, allocations: 54.37 MB / 0.7509 GB, free: 51.18 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005214/1.638, allocations: 4.561 MB / 0.7554 GB, free: 46.47 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003332/1.641, allocations: 3.422 MB / 0.7587 GB, free: 43.04 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0153/1.656, allocations: 10.62 MB / 0.7691 GB, free: 32.16 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.884e-05/1.656, allocations: 63.86 kB / 0.7691 GB, free: 32.09 MB / 474.7 MB Notification: Performance of pre-optimization done (n=218): time 7.013e-06/1.656, allocations: 0 / 0.7691 GB, free: 32.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=249): time 0.04408/1.701, allocations: 22.8 MB / 0.7914 GB, free: 9.195 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/1.701, allocations: 158.5 kB / 0.7916 GB, free: 9.012 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004389/1.705, allocations: 3.348 MB / 0.7948 GB, free: 5.684 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006336/1.706, allocations: 25.7 kB / 0.7949 GB, free: 5.652 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001438/1.707, allocations: 3.378 MB / 0.7982 GB, free: 2.223 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009611/1.708, allocations: 0.9135 MB / 0.799 GB, free: 1.297 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003031/1.708, allocations: 0 / 0.799 GB, free: 1.297 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002778/1.709, allocations: 0.6035 MB / 0.7996 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004078/1.713, allocations: 2.966 MB / 0.8025 GB, free: 13.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006735/1.72, allocations: 7.029 MB / 0.8094 GB, free: 4.645 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007086/1.727, allocations: 4.501 MB / 0.8138 GB, free: 148 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-05/1.727, allocations: 44 kB / 0.8138 GB, free: 104 kB / 490.7 MB Notification: Performance of matching and sorting (n=918) (initialization): time 0.02041/1.747, allocations: 10 MB / 0.8236 GB, free: 6.094 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/1.747, allocations: 4 kB / 0.8236 GB, free: 6.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001586/1.747, allocations: 144 kB / 0.8237 GB, free: 5.949 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002902/1.75, allocations: 1.067 MB / 0.8248 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006923/1.757, allocations: 1.715 MB / 0.8265 GB, free: 3.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2699/2.027, allocations: 5.522 MB / 0.8319 GB, free: 169.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01149/2.039, allocations: 241.7 kB / 0.8321 GB, free: 169.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002576/2.041, allocations: 440.1 kB / 0.8325 GB, free: 169.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 662 * Number of states: 0 () * Number of discrete variables: 42 (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.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 (879): * Single equations (assignments): 875 * 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.003463/2.045, allocations: 479.7 kB / 0.833 GB, free: 169.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001951/2.047, allocations: 364.9 kB / 0.8333 GB, free: 169.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01972/2.067, allocations: 5.428 MB / 0.8386 GB, free: 169.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001291/2.067, allocations: 28.19 kB / 0.8386 GB, free: 169.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-05/2.067, allocations: 7.781 kB / 0.8386 GB, free: 169.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.51e-05/2.067, allocations: 13.64 kB / 0.8387 GB, free: 169.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04261/2.11, allocations: 10.92 MB / 0.8493 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.363e-05/2.11, allocations: 6.188 kB / 0.8493 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006489/2.116, allocations: 470.6 kB / 0.8498 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005226/2.122, allocations: 0.8628 MB / 0.8506 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007603/2.122, allocations: 17.09 kB / 0.8506 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009708/2.132, allocations: 5.244 MB / 0.8558 GB, free: 167.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/2.132, allocations: 2.625 kB / 0.8558 GB, free: 167.2 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01471/2.147, allocations: 9.692 MB / 0.8652 GB, free: 163.4 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01681/2.164, allocations: 13.54 MB / 0.8784 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00261/2.166, allocations: 0.8492 MB / 0.8793 GB, free: 157.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001381/2.168, allocations: 7.531 kB / 0.8793 GB, free: 157.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002856/2.171, allocations: 103.7 kB / 0.8794 GB, free: 157.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004809/2.171, allocations: 129.4 kB / 0.8795 GB, free: 157.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002767/2.171, allocations: 71.3 kB / 0.8796 GB, free: 157.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.005022/2.176, allocations: 2.238 MB / 0.8818 GB, free: 156.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009651/2.186, allocations: 1.084 MB / 0.8828 GB, free: 156.5 MB / 0.4948 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 (222): * Single equations (assignments): 218 * 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.0009489/2.187, allocations: 162.8 kB / 0.883 GB, free: 156.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01355/2.201, allocations: 7.016 MB / 0.8898 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/2.201, allocations: 3.75 kB / 0.8898 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00524/2.206, allocations: 2.678 MB / 0.8924 GB, free: 153.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003509/2.21, allocations: 340.2 kB / 0.8928 GB, free: 153.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02656/2.236, allocations: 10.09 MB / 0.9026 GB, free: 147.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009404/2.246, allocations: 4.253 MB / 0.9068 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of SimCode: time 1.723e-06/2.246, allocations: 0 / 0.9068 GB, free: 144.6 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1)