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.001261/0.001261, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001252/0.001252, allocations: 198.6 kB / 16.14 MB, free: 6.656 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.539/1.539, allocations: 205.1 MB / 222 MB, free: 4.98 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.3569/0.3569, allocations: 37.98 MB / 307.3 MB, free: 9.801 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.001401/0.001401, allocations: 64.53 kB / 374.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1733, allocations: 56.46 MB / 431 MB, free: 7.094 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.AllComponents): time 0.01162/0.185, allocations: 8.906 MB / 439.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008905/0.194, allocations: 2.957 MB / 442.9 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003501/0.1975, allocations: 35.88 kB / 442.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002502/0.2001, allocations: 250 kB / 443.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004698/0.2049, allocations: 0.6323 MB / 443.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003779/0.2087, allocations: 0.8036 MB / 444.6 MB, free: 9.449 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005638/0.2143, allocations: 2.963 MB / 447.5 MB, free: 6.473 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001433/0.2158, allocations: 0.6705 MB / 448.2 MB, free: 5.777 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003332/0.2192, allocations: 1.136 MB / 449.4 MB, free: 4.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003099/0.2223, allocations: 1.358 MB / 450.7 MB, free: 3.273 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007794/0.2231, allocations: 160 kB / 450.9 MB, free: 3.117 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.2244, allocations: 255.9 kB / 451.1 MB, free: 2.867 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007841/0.2252, allocations: 0.5409 MB / 451.7 MB, free: 2.324 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002299/0.2275, allocations: 1.154 MB / 452.8 MB, free: 1.164 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3355/0.563, allocations: 2.908 MB / 455.7 MB, free: 40.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.266e-05/0.5631, allocations: 0 / 455.7 MB, free: 40.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.5631, allocations: 0 / 455.7 MB, free: 40.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001675/0.5633, allocations: 0 / 455.7 MB, free: 40.93 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.007832/0.5711, allocations: 2.742 MB / 458.5 MB, free: 39.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/0.5712, allocations: 9.5 kB / 458.5 MB, free: 39.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009974/0.5722, allocations: 272 kB / 458.7 MB, free: 39.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/0.5741, allocations: 1.058 MB / 459.8 MB, free: 39.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008275/0.575, allocations: 430.3 kB / 460.2 MB, free: 39.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003617/0.5753, allocations: 233.4 kB / 460.4 MB, free: 39.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00468/0.58, allocations: 2.4 MB / 462.8 MB, free: 38.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.409e-05/0.5801, allocations: 28.34 kB / 462.9 MB, free: 38.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002124/0.5804, allocations: 86 kB / 463 MB, free: 38.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.149e-05/0.5804, allocations: 52.66 kB / 463 MB, free: 38.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004995/0.5854, allocations: 2.425 MB / 465.4 MB, free: 38.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01139/0.5968, allocations: 6.446 MB / 471.9 MB, free: 36.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003944/0.6008, allocations: 2.327 MB / 474.2 MB, free: 35.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002342/0.6032, allocations: 1.301 MB / 475.5 MB, free: 34.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002417/0.6035, allocations: 114.3 kB / 475.6 MB, free: 34.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.104e-05/0.6035, allocations: 78.88 kB / 475.7 MB, free: 34.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=260): time 4.939e-06/0.6035, allocations: 1.219 kB / 475.7 MB, free: 34.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=316): time 0.02833/0.6319, allocations: 12.77 MB / 488.5 MB, free: 27.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001686/0.6321, allocations: 299.2 kB / 488.8 MB, free: 27.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002442/0.6345, allocations: 1.087 MB / 489.8 MB, free: 26.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000977/0.6355, allocations: 97.2 kB / 489.9 MB, free: 26.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009132/0.6365, allocations: 0.6586 MB / 490.6 MB, free: 26.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001834/0.6383, allocations: 1.055 MB / 491.7 MB, free: 25.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001188/0.6395, allocations: 0.4988 MB / 492.2 MB, free: 25.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.6396, allocations: 308 kB / 492.5 MB, free: 24.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002982/0.6426, allocations: 1.056 MB / 493.5 MB, free: 24.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003079/0.6457, allocations: 1.464 MB / 495 MB, free: 23.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005062/0.6508, allocations: 2.346 MB / 497.3 MB, free: 22.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.737e-05/0.6508, allocations: 2.906 kB / 497.3 MB, free: 22.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=384) (initialization): time 0.009135/0.66, allocations: 3.391 MB / 0.489 GB, free: 21.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.235e-05/0.6601, allocations: 11.16 kB / 0.489 GB, free: 21.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.404e-05/0.6601, allocations: 7.219 kB / 0.489 GB, free: 21.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003027/0.6631, allocations: 1.213 MB / 0.4902 GB, free: 21.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003049/0.6662, allocations: 0.6381 MB / 0.4908 GB, free: 21.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/0.6765, allocations: 7.509 MB / 0.4981 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003466/0.68, allocations: 232.9 kB / 0.4984 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004991/0.6806, allocations: 114.6 kB / 0.4985 GB, free: 15.22 MB / 382.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.001529/0.6821, allocations: 455 kB / 0.4989 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00078/0.6829, allocations: 197.9 kB / 0.4991 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.6841, allocations: 0.5899 MB / 0.4997 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.552e-05/0.6842, allocations: 33.66 kB / 0.4997 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-05/0.6843, allocations: 3.156 kB / 0.4997 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.071e-05/0.6843, allocations: 22.02 kB / 0.4997 GB, free: 14.49 MB / 382.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.01638/0.7007, allocations: 7.308 MB / 0.5069 GB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.266e-05/0.7008, allocations: 6.125 kB / 0.5069 GB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002436/0.7032, allocations: 0.5681 MB / 0.5074 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002384/0.7056, allocations: 1.194 MB / 0.5086 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002755/0.7059, allocations: 100.4 kB / 0.5087 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009236/0.7152, allocations: 10.16 MB / 0.5186 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/0.7152, allocations: 10.91 kB / 0.5186 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/0.7275, allocations: 5.526 MB / 0.524 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002025/0.7296, allocations: 0.5061 MB / 0.5245 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004712/0.7301, allocations: 80 kB / 0.5246 GB, free: 9.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0019/0.732, allocations: 199.8 kB / 0.5248 GB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009908/0.733, allocations: 393.1 kB / 0.5251 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002128/0.7332, allocations: 111.9 kB / 0.5253 GB, free: 9.281 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001235/0.7345, allocations: 0.748 MB / 0.526 GB, free: 8.527 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7345, allocations: 3 kB / 0.526 GB, free: 8.527 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003737/0.7382, allocations: 0.6875 MB / 0.5267 GB, free: 7.84 MB / 398.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.0005628/0.7388, allocations: 261.8 kB / 0.5269 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007584/0.7464, allocations: 3.242 MB / 0.5301 GB, free: 4.398 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.306e-05/0.7465, allocations: 4.125 kB / 0.5301 GB, free: 4.395 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006513/0.753, allocations: 2.669 MB / 0.5327 GB, free: 1.738 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002833/0.7559, allocations: 329.3 kB / 0.533 GB, free: 1.418 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/0.7677, allocations: 6.686 MB / 0.5395 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/0.7692, allocations: 1.494 MB / 0.541 GB, free: 9.121 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001644/0.7708, allocations: 292.2 kB / 0.5413 GB, free: 8.832 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005776/0.7714, allocations: 171.3 kB / 0.5414 GB, free: 8.664 MB / 414.1 MB Notification: Performance of SimCode: time 1.193e-06/0.7714, allocations: 2.625 kB / 0.5414 GB, free: 8.664 MB / 414.1 MB Notification: Performance of Templates: time 0.07595/0.8474, allocations: 37.1 MB / 0.5777 GB, free: 3.68 MB / 446.1 MB 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)