Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents.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.Rotational.AllComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents") translateModel(ModelicaTest.Rotational.AllComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01029/0.01029, allocations: 176.6 kB / 15.12 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.678/1.678, allocations: 194.5 MB / 210.3 MB, free: 7.539 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.001662/0.001662, allocations: 124.5 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2131/0.2131, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00043/0.0004299, allocations: 10.28 kB / 406.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1193, allocations: 54.88 MB / 461 MB, free: 3.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4185/0.5378, allocations: 99.62 MB / 0.5475 GB, free: 21.74 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.5381, allocations: 69.95 kB / 0.5476 GB, free: 21.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1331/0.6713, allocations: 47.93 MB / 0.5944 GB, free: 9.664 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.636e-06/0.6713, allocations: 3.938 kB / 0.5944 GB, free: 9.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001855/0.6715, allocations: 46.75 kB / 0.5944 GB, free: 9.656 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 547 * Number of variables: 547 Notification: Performance of Generate backend data structure: time 0.0092/0.6807, allocations: 2.533 MB / 0.5969 GB, free: 8.191 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/0.6808, allocations: 11.19 kB / 0.5969 GB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002154/0.683, allocations: 297.7 kB / 0.5972 GB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003263/0.6863, allocations: 0.9813 MB / 0.5981 GB, free: 7.461 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009327/0.6872, allocations: 466.7 kB / 0.5986 GB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001072/0.6883, allocations: 243.4 kB / 0.5988 GB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008296/0.6966, allocations: 2.582 MB / 0.6013 GB, free: 6.355 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002659/0.6969, allocations: 34.58 kB / 0.6014 GB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006603/0.6976, allocations: 84.75 kB / 0.6015 GB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.212e-05/0.6977, allocations: 56.61 kB / 0.6015 GB, free: 6.336 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007087/0.7048, allocations: 2.672 MB / 0.6041 GB, free: 5.406 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01631/0.7212, allocations: 6.763 MB / 0.6107 GB, free: 384 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00661/0.7279, allocations: 2.518 MB / 0.6132 GB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004191/0.7284, allocations: 129.2 kB / 0.6133 GB, free: 14.24 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.755e-05/0.7285, allocations: 69.56 kB / 0.6134 GB, free: 14.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=280): time 5.741e-06/0.7285, allocations: 0 / 0.6134 GB, free: 14.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=338): time 0.03904/0.7675, allocations: 14.54 MB / 0.6276 GB, free: 15.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002143/0.7678, allocations: 333.3 kB / 0.6279 GB, free: 14.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001965/0.7698, allocations: 0.9221 MB / 0.6288 GB, free: 13.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007721/0.7706, allocations: 97.64 kB / 0.6289 GB, free: 13.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007495/0.7713, allocations: 0.6829 MB / 0.6296 GB, free: 13.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00178/0.7731, allocations: 1.131 MB / 0.6307 GB, free: 11.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007391/0.7739, allocations: 67.98 kB / 0.6307 GB, free: 11.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000374/0.7743, allocations: 428.6 kB / 0.6311 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003361/0.7777, allocations: 1.096 MB / 0.6322 GB, free: 10.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00377/0.7815, allocations: 1.508 MB / 0.6337 GB, free: 8.742 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003316/0.7848, allocations: 1.119 MB / 0.6348 GB, free: 7.629 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.019e-05/0.7848, allocations: 8 kB / 0.6348 GB, free: 7.621 MB / 410.7 MB Notification: Performance of matching and sorting (n=407) (initialization): time 0.009526/0.7944, allocations: 3.485 MB / 0.6382 GB, free: 4.105 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.383e-05/0.7945, allocations: 8 kB / 0.6382 GB, free: 4.098 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.783e-05/0.7945, allocations: 12 kB / 0.6382 GB, free: 4.086 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002736/0.7973, allocations: 1.056 MB / 0.6392 GB, free: 3.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003621/0.8009, allocations: 0.749 MB / 0.64 GB, free: 2.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/0.8115, allocations: 7.549 MB / 0.6473 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003075/0.8146, allocations: 295.8 kB / 0.6476 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008304/0.8154, allocations: 131.9 kB / 0.6477 GB, free: 9.977 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 38 (gear2_1.lossyGear.tau_aPos,gear2_1.lossyGear.startForward,gear2_1.lossyGear.startBackward,gear2_1.lossyGear.locked,$PRE.gear2_1.lossyGear.mode,gear2_1.lossyGear.mode,gear2_1.lossyGear.ideal,$PRE.bearingFriction.startForward,bearingFriction.startForward,$PRE.bearingFriction.startBackward,bearingFriction.startBackward,bearingFriction.locked,$PRE.bearingFriction.mode,bearingFriction.mode,clutch.free,$PRE.clutch.startForward,clutch.startForward,$PRE.clutch.startBackward,clutch.startBackward,clutch.locked,$PRE.clutch.mode,clutch.mode,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,lossyGear.tau_aPos,lossyGear.startForward,lossyGear.startBackward,lossyGear.locked,$PRE.lossyGear.mode,lossyGear.mode,lossyGear.ideal,bearingFriction.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (338): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 22,2 25,1 6,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.002299/0.8178, allocations: 473.1 kB / 0.6482 GB, free: 9.508 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001182/0.819, allocations: 217.4 kB / 0.6484 GB, free: 9.293 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00697/0.8259, allocations: 2.503 MB / 0.6508 GB, free: 6.754 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.254e-05/0.826, allocations: 32 kB / 0.6509 GB, free: 6.723 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-05/0.8261, allocations: 7.953 kB / 0.6509 GB, free: 6.715 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-05/0.8261, allocations: 19.94 kB / 0.6509 GB, free: 6.695 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02139/0.8475, allocations: 7.779 MB / 0.6585 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-05/0.8476, allocations: 8 kB / 0.6585 GB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003377/0.851, allocations: 0.7339 MB / 0.6592 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002625/0.8537, allocations: 1.043 MB / 0.6602 GB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005666/0.8543, allocations: 108.1 kB / 0.6603 GB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01318/0.8674, allocations: 10.17 MB / 0.6703 GB, free: 2.105 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-05/0.8675, allocations: 15.94 kB / 0.6703 GB, free: 2.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01619/0.8837, allocations: 6.513 MB / 0.6766 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002111/0.8859, allocations: 0.5333 MB / 0.6772 GB, free: 10.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009212/0.8868, allocations: 91.92 kB / 0.6773 GB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00298/0.8898, allocations: 299.8 kB / 0.6775 GB, free: 10.32 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001253/0.8911, allocations: 453.1 kB / 0.678 GB, free: 9.871 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005092/0.8916, allocations: 131.9 kB / 0.6781 GB, free: 9.742 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001791/0.8935, allocations: 0.7189 MB / 0.6788 GB, free: 9.02 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.8935, allocations: 0 / 0.6788 GB, free: 9.02 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004645/0.8982, allocations: 0.7266 MB / 0.6795 GB, free: 8.293 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 31 (inertia17.phi,inertia17.w,elastoBacklash2.phi_rel,elastoBacklash2.w_rel,inertia14.phi,inertia14.w,constantSpeed.phi,position.phi,position.w,speed.phi,speed.w,inertia13.phi,inertia13.w,accelerate.phi,accelerate.w,gear2_1.phi_rel,gear2_1.w_rel,relativeStates.phi_rel,relativeStates.w_rel,inertia2.phi,inertia2.w,damper.phi_rel,damper.w_rel,springDamper.phi_rel,springDamper.w_rel,elastoBacklash.phi_rel,elastoBacklash.w_rel,clutch.phi_rel,clutch.w_rel,inertia6.phi,inertia6.w) * Number of discrete variables: 24 (gear2_1.lossyGear.tau_aPos,gear2_1.lossyGear.startForward,gear2_1.lossyGear.startBackward,gear2_1.lossyGear.locked,gear2_1.lossyGear.mode,bearingFriction.startForward,bearingFriction.startBackward,bearingFriction.locked,bearingFriction.mode,clutch.free,clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,lossyGear.tau_aPos,lossyGear.startForward,lossyGear.startBackward,lossyGear.locked,lossyGear.mode) * Number of discrete states: 11 (bearingFriction.mode,bearingFriction.startForward,bearingFriction.startBackward,lossyGear.mode,brake.mode,brake.startForward,brake.startBackward,clutch.mode,clutch.startBackward,clutch.startForward,gear2_1.lossyGear.mode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 2} * Non-linear torn systems: 5 {2 21,1 5,1 6,2 23,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001053/0.8992, allocations: 274.7 kB / 0.6798 GB, free: 8.016 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01063/0.9099, allocations: 3.518 MB / 0.6832 GB, free: 4.445 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.659e-05/0.91, allocations: 256 / 0.6832 GB, free: 4.445 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007962/0.9179, allocations: 2.921 MB / 0.6861 GB, free: 1.477 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003477/0.9214, allocations: 304.7 kB / 0.6864 GB, free: 1.184 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01692/0.9384, allocations: 7.583 MB / 0.6938 GB, free: 9.449 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002313/0.9408, allocations: 1.596 MB / 0.6953 GB, free: 7.816 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002504/0.9433, allocations: 313.3 kB / 0.6956 GB, free: 7.508 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/0.9445, allocations: 183.3 kB / 0.6958 GB, free: 7.328 MB / 474.7 MB Notification: Performance of SimCode: time 1.162e-06/0.9445, allocations: 0 / 0.6958 GB, free: 7.328 MB / 474.7 MB Notification: Performance of Templates: time 0.323/1.267, allocations: 36.2 MB / 0.7311 GB, free: 141.2 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents.pipe 2>&1)