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.0009839/0.0009837, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.000975/0.000975, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.3816/0.3816, allocations: 38.03 MB / 308.4 MB, free: 10.41 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.000549/0.0005491, allocations: 16 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1313, allocations: 57.52 MB / 433.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.AllComponents): time 0.008022/0.1394, allocations: 7.143 MB / 441.1 MB, free: 14.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00656/0.146, allocations: 3.021 MB / 444.1 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00177/0.1478, allocations: 35.88 kB / 444.1 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009234/0.1488, allocations: 230.2 kB / 444.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003589/0.1524, allocations: 0.7634 MB / 445.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002928/0.1553, allocations: 0.6552 MB / 445.8 MB, free: 9.703 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005892/0.1612, allocations: 1.974 MB / 447.7 MB, free: 7.719 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001505/0.1628, allocations: 0.6091 MB / 448.3 MB, free: 7.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002493/0.1653, allocations: 1.051 MB / 449.4 MB, free: 6.031 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002769/0.1681, allocations: 1.241 MB / 450.6 MB, free: 4.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005161/0.1686, allocations: 128 kB / 450.8 MB, free: 4.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009934/0.1696, allocations: 219.8 kB / 451 MB, free: 4.445 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005049/0.1701, allocations: 486.3 kB / 451.4 MB, free: 3.969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000689/0.1708, allocations: 416.6 kB / 451.9 MB, free: 3.555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002458/0.1733, allocations: 2.217 MB / 454.1 MB, free: 1.332 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.1733, allocations: 0 / 454.1 MB, free: 1.332 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1733, allocations: 3.938 kB / 454.1 MB, free: 1.328 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.719e-05/0.1734, allocations: 0 / 454.1 MB, free: 1.328 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.285/0.4584, allocations: 2.419 MB / 456.5 MB, free: 48.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.4585, allocations: 9.219 kB / 456.5 MB, free: 48.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.4599, allocations: 289.2 kB / 456.8 MB, free: 48.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00218/0.4621, allocations: 1.019 MB / 457.8 MB, free: 48.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007968/0.4629, allocations: 452 kB / 458.2 MB, free: 48.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003941/0.4633, allocations: 227 kB / 458.5 MB, free: 48.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00559/0.4689, allocations: 2.429 MB / 460.9 MB, free: 47.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001022/0.4691, allocations: 30.34 kB / 460.9 MB, free: 47.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002211/0.4693, allocations: 80.88 kB / 461 MB, free: 47.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-05/0.4694, allocations: 49.5 kB / 461.1 MB, free: 47.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005315/0.4747, allocations: 2.532 MB / 463.6 MB, free: 47.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01208/0.4868, allocations: 6.54 MB / 470.1 MB, free: 44.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003753/0.4906, allocations: 2.377 MB / 472.5 MB, free: 43.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001945/0.4908, allocations: 124.2 kB / 472.6 MB, free: 43.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.4909, allocations: 69.2 kB / 472.7 MB, free: 43.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=260): time 4.128e-06/0.4909, allocations: 0 / 472.7 MB, free: 43.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=316): time 0.02432/0.5152, allocations: 13.21 MB / 485.9 MB, free: 36.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.5153, allocations: 304.1 kB / 486.2 MB, free: 36.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/0.5168, allocations: 1.08 MB / 487.3 MB, free: 35.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002878/0.5171, allocations: 93.48 kB / 487.4 MB, free: 35.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005231/0.5176, allocations: 0.6531 MB / 488 MB, free: 35.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008036/0.5184, allocations: 1.059 MB / 489.1 MB, free: 34.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/0.5186, allocations: 60.78 kB / 489.1 MB, free: 34.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.5188, allocations: 423.7 kB / 489.6 MB, free: 33.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002281/0.521, allocations: 1.076 MB / 490.6 MB, free: 33.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002455/0.5235, allocations: 1.468 MB / 492.1 MB, free: 32.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002197/0.5257, allocations: 1.094 MB / 493.2 MB, free: 32.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.5257, allocations: 2.75 kB / 493.2 MB, free: 32.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=384) (initialization): time 0.007352/0.5331, allocations: 3.403 MB / 496.6 MB, free: 30.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/0.5332, allocations: 12.31 kB / 496.6 MB, free: 30.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.188e-05/0.5332, allocations: 8.5 kB / 496.6 MB, free: 30.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002623/0.5358, allocations: 1.213 MB / 497.8 MB, free: 30.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00288/0.5387, allocations: 0.6617 MB / 498.5 MB, free: 30.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/0.5489, allocations: 7.638 MB / 0.4943 GB, free: 24.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003396/0.5523, allocations: 280.3 kB / 0.4945 GB, free: 24.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004151/0.5528, allocations: 111 kB / 0.4946 GB, free: 24.54 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.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,bearingFriction.free,$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) * 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 (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.001329/0.5541, allocations: 461 kB / 0.4951 GB, free: 24.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005913/0.5547, allocations: 201 kB / 0.4953 GB, free: 24.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.5559, allocations: 0.6045 MB / 0.4959 GB, free: 23.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.339e-05/0.556, allocations: 35.53 kB / 0.4959 GB, free: 23.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.723e-05/0.5561, allocations: 3.594 kB / 0.4959 GB, free: 23.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.9e-05/0.5561, allocations: 16.19 kB / 0.4959 GB, free: 23.76 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.01595/0.5721, allocations: 7.448 MB / 0.5032 GB, free: 20.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.032e-05/0.5721, allocations: 17.38 kB / 0.5032 GB, free: 20.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002575/0.5747, allocations: 0.6019 MB / 0.5038 GB, free: 20.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002465/0.5772, allocations: 1.196 MB / 0.505 GB, free: 20.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002342/0.5774, allocations: 91.69 kB / 0.505 GB, free: 20 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009861/0.5873, allocations: 10.29 MB / 0.5151 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/0.5873, allocations: 11.94 kB / 0.5151 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01046/0.5978, allocations: 6.128 MB / 0.5211 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001405/0.5993, allocations: 0.5061 MB / 0.5216 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003412/0.5996, allocations: 80 kB / 0.5217 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001871/0.6015, allocations: 267.8 kB / 0.5219 GB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000739/0.6022, allocations: 433 kB / 0.5223 GB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001701/0.6024, allocations: 115.9 kB / 0.5224 GB, free: 2.598 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009319/0.6034, allocations: 0.7363 MB / 0.5232 GB, free: 1.855 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6034, allocations: 0 / 0.5232 GB, free: 1.855 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002589/0.606, allocations: 0.6901 MB / 0.5238 GB, free: 1.168 MB / 382.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 (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.0004297/0.6064, allocations: 246.8 kB / 0.5241 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0069/0.6133, allocations: 3.317 MB / 0.5273 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.6133, allocations: 4.062 kB / 0.5273 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006698/0.6201, allocations: 2.731 MB / 0.53 GB, free: 10.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/0.6226, allocations: 276.9 kB / 0.5302 GB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/0.6359, allocations: 6.947 MB / 0.537 GB, free: 3.445 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001493/0.6374, allocations: 1.55 MB / 0.5385 GB, free: 1.855 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001599/0.639, allocations: 292.2 kB / 0.5388 GB, free: 1.566 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005719/0.6396, allocations: 167.3 kB / 0.539 GB, free: 1.402 MB / 398.1 MB Notification: Performance of SimCode: time 1.944e-06/0.6396, allocations: 0 / 0.539 GB, free: 1.402 MB / 398.1 MB Notification: Performance of Templates: time 0.06131/0.7009, allocations: 35.43 MB / 0.5736 GB, free: 13.98 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.AllComponents.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: