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.001404/0.001404, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001725/0.001725, allocations: 195.7 kB / 16.26 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.562/1.562, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.3231/0.3231, allocations: 37.99 MB / 307.4 MB, free: 10.03 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.001489/0.001489, allocations: 70.41 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1409, allocations: 56.47 MB / 431.2 MB, free: 6.973 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.AllComponents): time 0.01091/0.1519, allocations: 8.909 MB / 440.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007135/0.1591, allocations: 2.942 MB / 443 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00219/0.1614, allocations: 35.88 kB / 443.1 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009959/0.1624, allocations: 250 kB / 443.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002892/0.1653, allocations: 0.6401 MB / 444 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001972/0.1673, allocations: 0.8036 MB / 444.8 MB, free: 9.332 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003861/0.1712, allocations: 3.119 MB / 447.9 MB, free: 6.199 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001064/0.1723, allocations: 0.7646 MB / 448.6 MB, free: 5.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002103/0.1744, allocations: 1.281 MB / 449.9 MB, free: 4.121 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002017/0.1764, allocations: 1.44 MB / 451.4 MB, free: 2.676 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003907/0.1768, allocations: 260 kB / 451.6 MB, free: 2.422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00072/0.1775, allocations: 371.8 kB / 452 MB, free: 2.059 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006118/0.1782, allocations: 0.6386 MB / 452.6 MB, free: 1.418 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001225/0.1794, allocations: 1.256 MB / 453.9 MB, free: 160 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2683/0.4477, allocations: 3.038 MB / 456.9 MB, free: 39.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.4477, allocations: 0.7812 kB / 456.9 MB, free: 39.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4478, allocations: 3.844 kB / 456.9 MB, free: 39.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.815e-05/0.4478, allocations: 5.344 kB / 456.9 MB, free: 39.66 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.006391/0.4542, allocations: 2.734 MB / 459.7 MB, free: 38.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.4543, allocations: 13.77 kB / 459.7 MB, free: 38.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008435/0.4552, allocations: 279.2 kB / 459.9 MB, free: 38.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.4566, allocations: 1.064 MB / 461 MB, free: 38.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007247/0.4574, allocations: 429.3 kB / 461.4 MB, free: 37.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003273/0.4577, allocations: 229 kB / 461.7 MB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004617/0.4623, allocations: 2.405 MB / 464.1 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.918e-05/0.4624, allocations: 31 kB / 464.1 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001999/0.4626, allocations: 80.69 kB / 464.2 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.824e-05/0.4627, allocations: 52.69 kB / 464.2 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005038/0.4677, allocations: 2.429 MB / 466.6 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01207/0.4798, allocations: 6.442 MB / 473.1 MB, free: 34.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004332/0.4842, allocations: 2.319 MB / 475.4 MB, free: 33.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002405/0.4867, allocations: 1.297 MB / 476.7 MB, free: 33.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000225/0.4869, allocations: 123 kB / 476.8 MB, free: 33.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.4869, allocations: 69.19 kB / 476.9 MB, free: 32.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=260): time 5.932e-06/0.487, allocations: 2.625 kB / 476.9 MB, free: 32.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=316): time 0.02792/0.5149, allocations: 12.79 MB / 489.7 MB, free: 26.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001443/0.5151, allocations: 297.4 kB / 490 MB, free: 25.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002133/0.5172, allocations: 1.087 MB / 491.1 MB, free: 25.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005235/0.5177, allocations: 95.67 kB / 491.2 MB, free: 25.33 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006707/0.5184, allocations: 0.6562 MB / 491.8 MB, free: 24.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00102/0.5195, allocations: 1.054 MB / 492.9 MB, free: 24 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009317/0.5204, allocations: 0.4995 MB / 493.4 MB, free: 23.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.527e-05/0.5205, allocations: 309.6 kB / 493.7 MB, free: 23.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002484/0.5229, allocations: 1.06 MB / 494.7 MB, free: 23.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002745/0.5257, allocations: 1.461 MB / 496.2 MB, free: 22.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004609/0.5303, allocations: 2.336 MB / 498.5 MB, free: 21.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.5304, allocations: 6.281 kB / 498.5 MB, free: 21.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=384) (initialization): time 0.008021/0.5384, allocations: 3.394 MB / 0.4902 GB, free: 19.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/0.5384, allocations: 9.734 kB / 0.4902 GB, free: 19.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.987e-05/0.5385, allocations: 8.25 kB / 0.4902 GB, free: 19.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003234/0.5417, allocations: 1.221 MB / 0.4914 GB, free: 19.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002867/0.5446, allocations: 0.6291 MB / 0.492 GB, free: 19.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009733/0.5543, allocations: 8.025 MB / 0.4998 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002959/0.5573, allocations: 221.3 kB / 0.5 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003144/0.5577, allocations: 111.9 kB / 0.5001 GB, free: 13.28 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.001325/0.559, allocations: 452.6 kB / 0.5006 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005619/0.5596, allocations: 203 kB / 0.5008 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.5608, allocations: 0.5896 MB / 0.5013 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.654e-05/0.5608, allocations: 33.88 kB / 0.5014 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.144e-05/0.5609, allocations: 6.25 kB / 0.5014 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.795e-05/0.5609, allocations: 18.44 kB / 0.5014 GB, free: 12.55 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.01593/0.5769, allocations: 7.305 MB / 0.5085 GB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.411e-05/0.5769, allocations: 8.125 kB / 0.5085 GB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002501/0.5795, allocations: 0.5678 MB / 0.5091 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002335/0.5818, allocations: 1.2 MB / 0.5103 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002916/0.5821, allocations: 97.14 kB / 0.5104 GB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01038/0.5925, allocations: 10.99 MB / 0.5211 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.11e-05/0.5925, allocations: 10.72 kB / 0.5211 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01284/0.6054, allocations: 5.521 MB / 0.5265 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00222/0.6077, allocations: 0.5022 MB / 0.527 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005351/0.6083, allocations: 83.92 kB / 0.5271 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002059/0.6103, allocations: 198.4 kB / 0.5273 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009026/0.6112, allocations: 394.9 kB / 0.5276 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001904/0.6114, allocations: 111.9 kB / 0.5277 GB, free: 6.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001113/0.6126, allocations: 0.7479 MB / 0.5285 GB, free: 5.656 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.6126, allocations: 0 / 0.5285 GB, free: 5.656 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003637/0.6162, allocations: 0.6953 MB / 0.5291 GB, free: 4.961 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.0005925/0.6168, allocations: 249.4 kB / 0.5294 GB, free: 4.742 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008905/0.6257, allocations: 3.448 MB / 0.5328 GB, free: 1.348 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/0.6258, allocations: 0 / 0.5328 GB, free: 1.348 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006567/0.6324, allocations: 2.68 MB / 0.5354 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003364/0.6358, allocations: 353.1 kB / 0.5357 GB, free: 14.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01309/0.6489, allocations: 6.689 MB / 0.5422 GB, free: 7.574 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00183/0.6508, allocations: 1.5 MB / 0.5437 GB, free: 6.039 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001752/0.6525, allocations: 304.2 kB / 0.544 GB, free: 5.738 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005795/0.6531, allocations: 179.3 kB / 0.5442 GB, free: 5.562 MB / 414.1 MB Notification: Performance of SimCode: time 1.533e-06/0.6531, allocations: 0 / 0.5442 GB, free: 5.562 MB / 414.1 MB Notification: Performance of Templates: time 0.07514/0.7283, allocations: 39.13 MB / 0.5824 GB, free: 14.54 MB / 462.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)