Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") [: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.2+maint.om/package.mo): time 0.002815/0.002815, allocations: 187.2 kB / 7.46 MB, free: 2.242 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.102/1.102, allocations: 194.2 MB / 202.1 MB, free: 8.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001609/0.001609, allocations: 124.4 kB / 247.1 MB, free: 6.348 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1478/0.1478, allocations: 39.94 MB / 331.9 MB, free: 4.883 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.426e-06/8.456e-06, allocations: 0 / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09482/0.09485, allocations: 54.88 MB / 447.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3077/0.4026, allocations: 101.9 MB / 0.5367 GB, free: 14.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/0.4029, allocations: 83.31 kB / 0.5368 GB, free: 14.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.2412/0.6441, allocations: 94.1 MB / 0.6287 GB, free: 8.352 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001824/0.6443, allocations: 96 kB / 0.6288 GB, free: 8.258 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.01841/0.6627, allocations: 5.452 MB / 0.6341 GB, free: 2.738 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.6628, allocations: 16.03 kB / 0.6341 GB, free: 2.723 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009554/0.6723, allocations: 1.919 MB / 0.636 GB, free: 0.793 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01325/0.6856, allocations: 5.023 MB / 0.6409 GB, free: 11.71 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002141/0.6859, allocations: 168 kB / 0.641 GB, free: 11.54 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001807/0.6877, allocations: 307.9 kB / 0.6413 GB, free: 11.24 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01386/0.7016, allocations: 8.041 MB / 0.6492 GB, free: 3.191 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02345/0.7251, allocations: 11.69 MB / 0.6606 GB, free: 6.441 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003203/0.7254, allocations: 71.41 kB / 0.6607 GB, free: 6.371 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001955/0.7274, allocations: 32 kB / 0.6607 GB, free: 6.34 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001954/0.7294, allocations: 1.274 MB / 0.6619 GB, free: 5.059 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2411/0.9705, allocations: 54.27 MB / 0.7149 GB, free: 127.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005216/0.9758, allocations: 4.562 MB / 0.7194 GB, free: 126.6 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003607/0.9794, allocations: 3.423 MB / 0.7227 GB, free: 126.6 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01535/0.9948, allocations: 10.61 MB / 0.7331 GB, free: 122.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.9949, allocations: 60.98 kB / 0.7332 GB, free: 122.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=218): time 5.811e-06/0.9949, allocations: 0 / 0.7332 GB, free: 122.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=249): time 0.04416/1.039, allocations: 22.79 MB / 0.7554 GB, free: 114.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.939e-05/1.039, allocations: 158 kB / 0.7556 GB, free: 113.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004959/1.044, allocations: 3.319 MB / 0.7588 GB, free: 112.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006775/1.045, allocations: 29.52 kB / 0.7588 GB, free: 112.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001808/1.047, allocations: 3.374 MB / 0.7621 GB, free: 110.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001356/1.048, allocations: 0.9169 MB / 0.763 GB, free: 109.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003138/1.048, allocations: 0 / 0.763 GB, free: 109.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004139/1.049, allocations: 0.598 MB / 0.7636 GB, free: 109.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003719/1.053, allocations: 2.966 MB / 0.7665 GB, free: 106.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005057/1.058, allocations: 7.004 MB / 0.7734 GB, free: 98.33 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005215/1.063, allocations: 4.507 MB / 0.7778 GB, free: 94.79 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.737e-05/1.063, allocations: 44 kB / 0.7778 GB, free: 94.74 MB / 474.7 MB Notification: Performance of matching and sorting (n=915) (initialization): time 0.01478/1.078, allocations: 9.985 MB / 0.7875 GB, free: 86.29 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/1.078, allocations: 4 kB / 0.7876 GB, free: 86.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001129/1.078, allocations: 144 kB / 0.7877 GB, free: 86.15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002506/1.08, allocations: 1.071 MB / 0.7887 GB, free: 85.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006026/1.086, allocations: 1.698 MB / 0.7904 GB, free: 83.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006182/1.093, allocations: 5.527 MB / 0.7958 GB, free: 78.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006677/1.099, allocations: 243.5 kB / 0.796 GB, free: 78.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001244/1.101, allocations: 444.3 kB / 0.7964 GB, free: 78.35 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 39 (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.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 (876): * Single equations (assignments): 872 * 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.001156/1.102, allocations: 476.8 kB / 0.7969 GB, free: 77.88 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008566/1.103, allocations: 363.3 kB / 0.7972 GB, free: 77.52 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008194/1.111, allocations: 5.428 MB / 0.8025 GB, free: 73.11 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.868e-05/1.111, allocations: 23.91 kB / 0.8026 GB, free: 73.08 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/1.111, allocations: 4 kB / 0.8026 GB, free: 73.08 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.291e-05/1.111, allocations: 14.88 kB / 0.8026 GB, free: 73.07 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01709/1.128, allocations: 10.89 MB / 0.8132 GB, free: 64.19 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/1.128, allocations: 4 kB / 0.8132 GB, free: 64.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002629/1.131, allocations: 476 kB / 0.8137 GB, free: 63.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002349/1.133, allocations: 0.8639 MB / 0.8145 GB, free: 63.18 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002524/1.133, allocations: 15.89 kB / 0.8145 GB, free: 63.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005573/1.139, allocations: 5.244 MB / 0.8197 GB, free: 58.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/1.139, allocations: 6.875 kB / 0.8197 GB, free: 58.49 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01095/1.15, allocations: 9.692 MB / 0.8291 GB, free: 49.86 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001864/1.152, allocations: 0.8381 MB / 0.83 GB, free: 49.08 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005779/1.152, allocations: 4 kB / 0.83 GB, free: 49.08 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001937/1.154, allocations: 107.6 kB / 0.8301 GB, free: 49.01 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003821/1.155, allocations: 127.2 kB / 0.8302 GB, free: 48.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002145/1.155, allocations: 73.53 kB / 0.8303 GB, free: 48.87 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.002932/1.158, allocations: 2.23 MB / 0.8324 GB, free: 46.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005031/1.163, allocations: 1.08 MB / 0.8335 GB, free: 45.62 MB / 474.7 MB 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.000455/1.163, allocations: 147.3 kB / 0.8336 GB, free: 45.48 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008923/1.172, allocations: 6.997 MB / 0.8405 GB, free: 38.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.172, allocations: 0 / 0.8405 GB, free: 38.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003184/1.176, allocations: 2.688 MB / 0.8431 GB, free: 35.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002203/1.178, allocations: 346.1 kB / 0.8434 GB, free: 35.48 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01908/1.197, allocations: 10.05 MB / 0.8532 GB, free: 25.36 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006421/1.203, allocations: 4.232 MB / 0.8574 GB, free: 21.11 MB / 474.7 MB Notification: Performance of SimCode: time 8.51e-07/1.203, allocations: 0 / 0.8574 GB, free: 21.11 MB / 474.7 MB Notification: Performance of Templates: time 0.24/1.443, allocations: 48.49 MB / 0.9047 GB, free: 141 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1)