Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.AllComponents.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Rotational.AllComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.AllComponents") translateModel(ModelicaTest.Rotational.AllComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006674/0.006674, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.001479/0.001479, allocations: 197.2 kB / 16.67 MB, free: 5.934 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.563/1.563, allocations: 205.1 MB / 222.5 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3338/0.3338, allocations: 38 MB / 307.9 MB, free: 9.934 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.1. 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.001721/0.001721, allocations: 67.91 kB / 433 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3662, allocations: 56.47 MB / 489.5 MB, free: 20 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.AllComponents): time 0.01268/0.3789, allocations: 8.98 MB / 498.5 MB, free: 13.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01028/0.3893, allocations: 2.96 MB / 0.4897 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003839/0.3932, allocations: 38.12 kB / 0.4897 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001832/0.3951, allocations: 332.6 kB / 0.49 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005452/0.4006, allocations: 0.7481 MB / 0.4908 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004304/0.4049, allocations: 0.91 MB / 0.4916 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008375/0.4133, allocations: 3.13 MB / 0.4947 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001502/0.4148, allocations: 0.7765 MB / 0.4955 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003813/0.4187, allocations: 1.281 MB / 0.4967 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003409/0.4221, allocations: 1.441 MB / 0.4981 GB, free: 7.066 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006255/0.4227, allocations: 261.8 kB / 0.4984 GB, free: 7.066 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001231/0.424, allocations: 388 kB / 0.4987 GB, free: 7.023 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007649/0.4247, allocations: 0.6358 MB / 0.4994 GB, free: 6.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001507/0.4263, allocations: 1.257 MB / 0.5006 GB, free: 5.727 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004885/0.4311, allocations: 3.077 MB / 0.5036 GB, free: 3.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.387e-06/0.4312, allocations: 1.438 kB / 0.5036 GB, free: 3.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.4312, allocations: 0 / 0.5036 GB, free: 3.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001112/0.4313, allocations: 0 / 0.5036 GB, free: 3.445 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.007806/0.4391, allocations: 2.738 MB / 0.5063 GB, free: 1.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.18e-05/0.4392, allocations: 13.17 kB / 0.5063 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.4403, allocations: 275.6 kB / 0.5065 GB, free: 1.434 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002528/0.4428, allocations: 1.08 MB / 0.5076 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004629/0.4433, allocations: 353.7 kB / 0.5079 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000464/0.4438, allocations: 227.9 kB / 0.5081 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006302/0.4501, allocations: 2.41 MB / 0.5105 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001196/0.4503, allocations: 33.5 kB / 0.5105 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002241/0.4505, allocations: 81.25 kB / 0.5106 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.559e-05/0.4506, allocations: 50.16 kB / 0.5107 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007136/0.4577, allocations: 2.429 MB / 0.513 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02062/0.4784, allocations: 6.398 MB / 0.5193 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005556/0.484, allocations: 2.303 MB / 0.5215 GB, free: 6.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003274/0.4873, allocations: 1.304 MB / 0.5228 GB, free: 5.105 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004013/0.4878, allocations: 127 kB / 0.5229 GB, free: 4.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.728e-05/0.4879, allocations: 68.38 kB / 0.523 GB, free: 4.887 MB / 398.1 MB Notification: Performance of pre-optimization done (n=260): time 5.851e-06/0.4879, allocations: 0 / 0.523 GB, free: 4.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=316): time 0.03329/0.5212, allocations: 12.78 MB / 0.5355 GB, free: 7.621 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002162/0.5215, allocations: 302.9 kB / 0.5358 GB, free: 7.262 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002404/0.5239, allocations: 1.085 MB / 0.5368 GB, free: 6.164 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005627/0.5245, allocations: 93.69 kB / 0.5369 GB, free: 6.066 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007491/0.5252, allocations: 0.651 MB / 0.5375 GB, free: 5.406 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001684/0.5269, allocations: 1.063 MB / 0.5386 GB, free: 4.328 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001435/0.5284, allocations: 0.4948 MB / 0.5391 GB, free: 3.824 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.5285, allocations: 309.1 kB / 0.5394 GB, free: 3.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002701/0.5312, allocations: 1.06 MB / 0.5404 GB, free: 2.457 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003154/0.5344, allocations: 1.458 MB / 0.5418 GB, free: 0.875 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005107/0.5395, allocations: 2.341 MB / 0.5441 GB, free: 14.42 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-05/0.5396, allocations: 0 / 0.5441 GB, free: 14.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=384) (initialization): time 0.008057/0.5476, allocations: 3.407 MB / 0.5474 GB, free: 10.99 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.893e-05/0.5477, allocations: 9.094 kB / 0.5474 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/0.5478, allocations: 8 kB / 0.5474 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002827/0.5506, allocations: 1.213 MB / 0.5486 GB, free: 9.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002846/0.5535, allocations: 0.6358 MB / 0.5492 GB, free: 9.113 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01134/0.5648, allocations: 8.014 MB / 0.5571 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003035/0.5679, allocations: 215.8 kB / 0.5573 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007446/0.5687, allocations: 112 kB / 0.5574 GB, free: 440 kB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 38 (gear2_1.lossyGear.ideal,gear2_1.lossyGear.mode,$PRE.gear2_1.lossyGear.mode,gear2_1.lossyGear.locked,gear2_1.lossyGear.startBackward,gear2_1.lossyGear.startForward,gear2_1.lossyGear.tau_aPos,bearingFriction.free,lossyGear.ideal,lossyGear.mode,$PRE.lossyGear.mode,lossyGear.locked,lossyGear.startBackward,lossyGear.startForward,lossyGear.tau_aPos,brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free,clutch.mode,$PRE.clutch.mode,clutch.locked,clutch.startBackward,$PRE.clutch.startBackward,clutch.startForward,$PRE.clutch.startForward,clutch.free,bearingFriction.mode,$PRE.bearingFriction.mode,bearingFriction.locked,bearingFriction.startBackward,$PRE.bearingFriction.startBackward,bearingFriction.startForward,$PRE.bearingFriction.startForward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (315): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(2,22), (2,25), (1,6), (1,7), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.002124/0.5708, allocations: 461.2 kB / 0.5578 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/0.5719, allocations: 205.6 kB / 0.558 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/0.5734, allocations: 0.5872 MB / 0.5586 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.225e-05/0.5735, allocations: 32 kB / 0.5586 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.265e-05/0.5735, allocations: 4 kB / 0.5586 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.268e-05/0.5736, allocations: 15.94 kB / 0.5586 GB, free: 15.11 MB / 446.1 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.01897/0.5925, allocations: 7.26 MB / 0.5657 GB, free: 7.664 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-05/0.5926, allocations: 12.03 kB / 0.5657 GB, free: 7.652 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002632/0.5953, allocations: 0.5617 MB / 0.5663 GB, free: 7.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002838/0.5981, allocations: 1.2 MB / 0.5675 GB, free: 5.867 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004258/0.5986, allocations: 99.92 kB / 0.5676 GB, free: 5.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01321/0.6118, allocations: 10.98 MB / 0.5783 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/0.6119, allocations: 11.94 kB / 0.5783 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01352/0.6254, allocations: 5.515 MB / 0.5837 GB, free: 4.414 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001713/0.6272, allocations: 0.5061 MB / 0.5842 GB, free: 3.887 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007722/0.628, allocations: 80 kB / 0.5843 GB, free: 3.809 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00253/0.6305, allocations: 199.8 kB / 0.5844 GB, free: 3.613 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001002/0.6316, allocations: 393.2 kB / 0.5848 GB, free: 3.227 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003124/0.6319, allocations: 112 kB / 0.5849 GB, free: 3.117 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001494/0.6334, allocations: 0.7558 MB / 0.5857 GB, free: 2.355 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.495e-06/0.6334, allocations: 0 / 0.5857 GB, free: 2.355 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003911/0.6373, allocations: 0.6874 MB / 0.5863 GB, free: 1.668 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 27 (inertia14.phi,inertia14.w,constantSpeed.phi,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,position.phi,position.w,speed.phi,speed.w,inertia13.phi,inertia13.w,accelerate.phi,accelerate.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 (250): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(2,21), (1,5), (1,6), (2,23), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00072/0.6381, allocations: 263.4 kB / 0.5866 GB, free: 1.398 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00828/0.6464, allocations: 3.261 MB / 0.5898 GB, free: 14.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.749e-05/0.6465, allocations: 4 kB / 0.5898 GB, free: 14.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008711/0.6552, allocations: 2.692 MB / 0.5924 GB, free: 11.35 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00498/0.6602, allocations: 351.3 kB / 0.5927 GB, free: 11 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01659/0.6769, allocations: 5.737 MB / 0.5983 GB, free: 5.133 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002197/0.6791, allocations: 1.496 MB / 0.5998 GB, free: 3.598 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002092/0.6812, allocations: 292.2 kB / 0.6001 GB, free: 3.309 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/0.6823, allocations: 187.3 kB / 0.6003 GB, free: 3.125 MB / 478.1 MB Notification: Performance of SimCode: time 1.663e-06/0.6823, allocations: 0 / 0.6003 GB, free: 3.125 MB / 478.1 MB Notification: Performance of Templates: time 0.4207/1.103, allocations: 40.24 MB / 0.6396 GB, free: 130.4 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.AllComponents.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.AllComponents.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.AllComponents.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.AllComponents -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.AllComponents.pipe 2>&1)