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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 191.1 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4193/0.4193, allocations: 39.93 MB / 309.4 MB, free: 9.555 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002243, allocations: 63.91 kB / 377.1 MB, free: 13.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1749, allocations: 56.88 MB / 434 MB, free: 4.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.3868/0.5618, allocations: 66.26 MB / 0.4885 GB, free: 12.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03567/0.5975, allocations: 12.95 MB / 0.5012 GB, free: 3.773 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02025/0.6179, allocations: 283 kB / 0.5015 GB, free: 3.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007794/0.6258, allocations: 3.599 MB / 0.505 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00864/0.6345, allocations: 1.953 MB / 0.5069 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003475/0.6379, allocations: 0.7614 MB / 0.5076 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01133/0.6493, allocations: 4.447 MB / 0.512 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01082/0.6602, allocations: 5.212 MB / 0.517 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006278/0.6665, allocations: 1.95 MB / 0.519 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007073/0.6737, allocations: 2.869 MB / 0.5218 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002413/0.6762, allocations: 438.8 kB / 0.5222 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004547/0.6807, allocations: 1.177 MB / 0.5233 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004523/0.6853, allocations: 2.357 MB / 0.5256 GB, free: 9.941 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006138/0.6915, allocations: 2.795 MB / 0.5284 GB, free: 7.988 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01453/0.706, allocations: 8.388 MB / 0.5365 GB, free: 24 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.7061, allocations: 0 / 0.5365 GB, free: 24 kB / 398.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.7061, allocations: 0 / 0.5365 GB, free: 24 kB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003467/0.7064, allocations: 3.938 kB / 0.5365 GB, free: 20 kB / 398.1 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.02684/0.7333, allocations: 6.451 MB / 0.5428 GB, free: 9.492 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.336e-05/0.7334, allocations: 11.89 kB / 0.5429 GB, free: 9.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009206/0.7426, allocations: 1.994 MB / 0.5448 GB, free: 7.477 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007974/0.7506, allocations: 2.776 MB / 0.5475 GB, free: 4.641 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003246/0.751, allocations: 315.8 kB / 0.5478 GB, free: 4.328 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002003/0.753, allocations: 399.8 kB / 0.5482 GB, free: 3.938 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03208/0.7851, allocations: 12.89 MB / 0.5608 GB, free: 6.305 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001631/0.7853, allocations: 51.53 kB / 0.5608 GB, free: 6.254 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006078/0.7859, allocations: 187.8 kB / 0.561 GB, free: 6.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004436/0.7904, allocations: 2.378 MB / 0.5633 GB, free: 3.691 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02678/0.8172, allocations: 11.8 MB / 0.5749 GB, free: 7.875 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07789/0.8951, allocations: 48.14 MB / 0.6219 GB, free: 6.605 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02006/0.9152, allocations: 5.704 MB / 0.6275 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2876/1.203, allocations: 3.602 MB / 0.631 GB, free: 145.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/1.204, allocations: 0.6955 MB / 0.6316 GB, free: 145.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/1.204, allocations: 56.5 kB / 0.6317 GB, free: 145 MB / 494.1 MB Notification: Performance of pre-optimization done (n=224): time 5.43e-06/1.204, allocations: 0 / 0.6317 GB, free: 145 MB / 494.1 MB Notification: Performance of matching and sorting (n=255): time 0.0778/1.282, allocations: 28.49 MB / 0.6595 GB, free: 136.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.647e-05/1.282, allocations: 152.6 kB / 0.6597 GB, free: 136.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008862/1.291, allocations: 4.517 MB / 0.6641 GB, free: 134.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001003/1.292, allocations: 65.45 kB / 0.6641 GB, free: 134.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002859/1.295, allocations: 3.543 MB / 0.6676 GB, free: 131.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001827/1.297, allocations: 0.9518 MB / 0.6685 GB, free: 131 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003003/1.3, allocations: 1.474 MB / 0.67 GB, free: 130.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.732e-05/1.3, allocations: 303 kB / 0.6703 GB, free: 130 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006484/1.306, allocations: 3.452 MB / 0.6736 GB, free: 129 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009535/1.316, allocations: 7.396 MB / 0.6809 GB, free: 122.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01353/1.329, allocations: 11.68 MB / 0.6923 GB, free: 114.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001806/1.33, allocations: 42.44 kB / 0.6923 GB, free: 114.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02085/1.35, allocations: 11.78 MB / 0.7038 GB, free: 105.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002137/1.351, allocations: 64.19 kB / 0.7039 GB, free: 105.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002599/1.351, allocations: 140 kB / 0.704 GB, free: 105.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002613/1.354, allocations: 1.125 MB / 0.7051 GB, free: 104.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006558/1.36, allocations: 1.782 MB / 0.7068 GB, free: 102.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007008/1.367, allocations: 6.347 MB / 0.713 GB, free: 97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008122/1.375, allocations: 420.2 kB / 0.7134 GB, free: 96.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002515/1.378, allocations: 459.8 kB / 0.7139 GB, free: 96.14 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (857): * Single equations (assignments): 853 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006561/1.384, allocations: 2.431 MB / 0.7163 GB, free: 93.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001899/1.386, allocations: 410.7 kB / 0.7166 GB, free: 93.29 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/1.399, allocations: 6.559 MB / 0.723 GB, free: 86.71 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.647e-05/1.399, allocations: 31.38 kB / 0.7231 GB, free: 86.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-05/1.399, allocations: 7.938 kB / 0.7231 GB, free: 86.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.113e-05/1.399, allocations: 11.95 kB / 0.7231 GB, free: 86.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02368/1.423, allocations: 13.76 MB / 0.7365 GB, free: 72.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.778e-05/1.423, allocations: 4 kB / 0.7365 GB, free: 72.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002974/1.426, allocations: 0.5967 MB / 0.7371 GB, free: 72.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002246/1.428, allocations: 0.9515 MB / 0.738 GB, free: 71.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003664/1.428, allocations: 91.83 kB / 0.7381 GB, free: 71.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005966/1.434, allocations: 6.075 MB / 0.7441 GB, free: 65 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/1.434, allocations: 7.938 kB / 0.7441 GB, free: 65 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01317/1.448, allocations: 11.04 MB / 0.7549 GB, free: 53.85 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002359/1.45, allocations: 0.9368 MB / 0.7558 GB, free: 52.89 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008832/1.451, allocations: 51.42 kB / 0.7558 GB, free: 52.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002545/1.453, allocations: 179.8 kB / 0.756 GB, free: 52.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005364/1.454, allocations: 201.6 kB / 0.7562 GB, free: 52.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000254/1.454, allocations: 107.9 kB / 0.7563 GB, free: 52.36 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003749/1.458, allocations: 2.843 MB / 0.7591 GB, free: 49.52 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.11e-07/1.458, allocations: 0 / 0.7591 GB, free: 49.52 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007749/1.466, allocations: 1.267 MB / 0.7603 GB, free: 48.25 MB / 494.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (228): * Single equations (assignments): 224 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009444/1.467, allocations: 192.8 kB / 0.7605 GB, free: 48.06 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01768/1.484, allocations: 10.71 MB / 0.7709 GB, free: 37.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/1.484, allocations: 4 kB / 0.7709 GB, free: 37.39 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003967/1.488, allocations: 3.215 MB / 0.7741 GB, free: 34.17 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004302/1.493, allocations: 0.5074 MB / 0.7746 GB, free: 33.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02111/1.514, allocations: 15.06 MB / 0.7893 GB, free: 18.59 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003597/1.518, allocations: 3.801 MB / 0.793 GB, free: 14.75 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005529/1.523, allocations: 2.368 MB / 0.7953 GB, free: 12.38 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001537/1.525, allocations: 431.1 kB / 0.7957 GB, free: 11.96 MB / 494.1 MB Notification: Performance of SimCode: time 1.553e-06/1.525, allocations: 0 / 0.7957 GB, free: 11.96 MB / 494.1 MB Notification: Performance of Templates: time 0.3753/1.9, allocations: 58.21 MB / 0.8526 GB, free: 137.2 MB / 0.4981 GB 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)