Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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_2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",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.0016/0.0016, allocations: 183.4 kB / 7.799 MB, free: 128 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.2 MB / 213.4 MB, free: 2.207 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008389/0.0008388, allocations: 85.7 kB / 261.4 MB, free: 1.402 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2275/0.2275, allocations: 43.5 MB / 352.9 MB, free: 5.809 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.2781/0.5057, allocations: 64.96 MB / 417.8 MB, free: 62.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.6132, allocations: 58.85 MB / 476.7 MB, free: 3.781 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4506/1.064, allocations: 108.1 MB / 0.5711 GB, free: 11.12 MB / 398.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003571/1.064, allocations: 81.08 kB / 0.5712 GB, free: 11.09 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.2525/1.317, allocations: 86.77 MB / 0.6559 GB, free: 11.88 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/1.317, allocations: 8 kB / 0.6559 GB, free: 11.87 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01088/1.328, allocations: 1.827 MB / 0.6577 GB, free: 10.03 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0159/1.344, allocations: 4.571 MB / 0.6622 GB, free: 5.395 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002851/1.344, allocations: 136 kB / 0.6623 GB, free: 5.262 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002734/1.347, allocations: 255.8 kB / 0.6625 GB, free: 5.012 MB / 478.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01473/1.362, allocations: 6.607 MB / 0.669 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02231/1.384, allocations: 9.817 MB / 0.6786 GB, free: 3.582 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001912/1.384, allocations: 63.39 kB / 0.6786 GB, free: 3.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006327/1.385, allocations: 28 kB / 0.6787 GB, free: 3.492 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001505/1.386, allocations: 1.076 MB / 0.6797 GB, free: 2.414 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2893/1.676, allocations: 46.21 MB / 0.7248 GB, free: 140.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004135/1.68, allocations: 3.328 MB / 0.7281 GB, free: 139.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002368/1.682, allocations: 1.936 MB / 0.73 GB, free: 139.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01005/1.692, allocations: 6.311 MB / 0.7361 GB, free: 137.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/1.692, allocations: 50.94 kB / 0.7362 GB, free: 137.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=142): time 7.414e-06/1.692, allocations: 0 / 0.7362 GB, free: 137.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=149): time 0.02689/1.719, allocations: 11.33 MB / 0.7473 GB, free: 133.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.28e-05/1.72, allocations: 146.6 kB / 0.7474 GB, free: 133 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008675/1.728, allocations: 3.13 MB / 0.7504 GB, free: 131.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006054/1.729, allocations: 29.64 kB / 0.7505 GB, free: 131.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003112/1.732, allocations: 3.011 MB / 0.7534 GB, free: 129.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001355/1.733, allocations: 0.5836 MB / 0.754 GB, free: 129.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004296/1.734, allocations: 0 / 0.754 GB, free: 129.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004596/1.734, allocations: 0.5601 MB / 0.7545 GB, free: 128.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004657/1.739, allocations: 1.893 MB / 0.7564 GB, free: 128.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007283/1.746, allocations: 5.727 MB / 0.762 GB, free: 122.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007564/1.754, allocations: 3.287 MB / 0.7652 GB, free: 121.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002061/1.754, allocations: 41.53 kB / 0.7652 GB, free: 121.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=784) (initialization): time 0.02658/1.781, allocations: 7.3 MB / 0.7724 GB, free: 119.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.555e-05/1.781, allocations: 8.5 kB / 0.7724 GB, free: 119.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004387/1.781, allocations: 142.4 kB / 0.7725 GB, free: 119.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004553/1.786, allocations: 0.8647 MB / 0.7733 GB, free: 119 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009056/1.795, allocations: 1.4 MB / 0.7747 GB, free: 118.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/1.805, allocations: 4.484 MB / 0.7791 GB, free: 115.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01002/1.815, allocations: 196.9 kB / 0.7793 GB, free: 115.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002041/1.818, allocations: 385.6 kB / 0.7796 GB, free: 115 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 631 * Number of states: 0 () * Number of discrete variables: 36 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (745): * Single equations (assignments): 741 * 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.001675/1.819, allocations: 451.7 kB / 0.7801 GB, free: 114.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/1.82, allocations: 308 kB / 0.7804 GB, free: 114.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008295/1.829, allocations: 2.713 MB / 0.783 GB, free: 112.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.477e-05/1.829, allocations: 15.56 kB / 0.783 GB, free: 112.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-05/1.829, allocations: 7.906 kB / 0.783 GB, free: 112.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-05/1.829, allocations: 6.797 kB / 0.783 GB, free: 112.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01856/1.848, allocations: 6.226 MB / 0.7891 GB, free: 107.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.915e-05/1.848, allocations: 3.938 kB / 0.7891 GB, free: 107.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002006/1.85, allocations: 236.6 kB / 0.7894 GB, free: 106.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003423/1.853, allocations: 0.6351 MB / 0.79 GB, free: 106.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003117/1.853, allocations: 11.94 kB / 0.79 GB, free: 106.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006173/1.86, allocations: 4.112 MB / 0.794 GB, free: 102.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.832e-06/1.86, allocations: 0 / 0.794 GB, free: 102.7 MB / 494.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007147/1.867, allocations: 5.109 MB / 0.799 GB, free: 98.28 MB / 494.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00889/1.876, allocations: 7.153 MB / 0.806 GB, free: 91.95 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001575/1.877, allocations: 0.5662 MB / 0.8065 GB, free: 91.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005177/1.878, allocations: 11.38 kB / 0.8065 GB, free: 91.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/1.879, allocations: 56.06 kB / 0.8066 GB, free: 91.37 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002122/1.879, allocations: 68.56 kB / 0.8067 GB, free: 91.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/1.88, allocations: 43.52 kB / 0.8067 GB, free: 91.29 MB / 494.1 MB Notification: Performance of sort global known variables: time 0.003308/1.883, allocations: 2.091 MB / 0.8087 GB, free: 89.47 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007674/1.891, allocations: 0.8216 MB / 0.8095 GB, free: 88.66 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 114 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005427/1.891, allocations: 140.3 kB / 0.8097 GB, free: 88.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007644/1.899, allocations: 4.507 MB / 0.8141 GB, free: 84.46 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/1.899, allocations: 0 / 0.8141 GB, free: 84.46 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001681/1.901, allocations: 1.335 MB / 0.8154 GB, free: 83.24 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/1.903, allocations: 312 kB / 0.8157 GB, free: 82.98 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01462/1.917, allocations: 7.256 MB / 0.8228 GB, free: 76.47 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004371/1.922, allocations: 3.588 MB / 0.8263 GB, free: 73.69 MB / 494.1 MB Notification: Performance of SimCode: time 1.352e-06/1.922, allocations: 0 / 0.8263 GB, free: 73.69 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1)