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.00781/0.00781, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001631/0.001631, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.612/1.612, allocations: 205.1 MB / 222.5 MB, free: 4.363 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.3579/0.3579, allocations: 38 MB / 307.9 MB, free: 10.39 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.001485/0.001485, allocations: 67.91 kB / 433 MB, free: 5.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4017, allocations: 56.48 MB / 489.5 MB, free: 20.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.AllComponents): time 0.01124/0.413, allocations: 8.982 MB / 498.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009996/0.423, allocations: 2.952 MB / 0.4897 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004854/0.428, allocations: 38.12 kB / 0.4897 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001803/0.4298, allocations: 341.3 kB / 0.49 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005726/0.4356, allocations: 0.7347 MB / 0.4907 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004918/0.4405, allocations: 0.8918 MB / 0.4916 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008727/0.4493, allocations: 3.132 MB / 0.4947 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002132/0.4515, allocations: 0.7825 MB / 0.4954 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004739/0.4562, allocations: 1.254 MB / 0.4967 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004519/0.4608, allocations: 1.444 MB / 0.4981 GB, free: 7.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001464/0.4623, allocations: 262.2 kB / 0.4983 GB, free: 7.102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002179/0.4645, allocations: 383.7 kB / 0.4987 GB, free: 7.062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006065/0.4651, allocations: 0.6394 MB / 0.4993 GB, free: 6.547 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003249/0.4684, allocations: 1.246 MB / 0.5005 GB, free: 5.664 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006266/0.4746, allocations: 3.082 MB / 0.5035 GB, free: 3.379 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4747, allocations: 5.219 kB / 0.5035 GB, free: 3.375 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.4747, allocations: 0 / 0.5035 GB, free: 3.375 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001356/0.4748, allocations: 0 / 0.5035 GB, free: 3.375 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.008776/0.4836, allocations: 2.738 MB / 0.5062 GB, free: 1.496 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.73e-05/0.4837, allocations: 13.48 kB / 0.5062 GB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.4849, allocations: 271.8 kB / 0.5065 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0022/0.4871, allocations: 1.083 MB / 0.5075 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003909/0.4875, allocations: 353.4 kB / 0.5079 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004434/0.488, allocations: 224.6 kB / 0.5081 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006177/0.4942, allocations: 2.408 MB / 0.5105 GB, free: 14.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001041/0.4943, allocations: 34.11 kB / 0.5105 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002211/0.4945, allocations: 80.56 kB / 0.5106 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-05/0.4946, allocations: 49.47 kB / 0.5106 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00619/0.5008, allocations: 2.427 MB / 0.513 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01746/0.5183, allocations: 6.403 MB / 0.5192 GB, free: 8.898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005271/0.5236, allocations: 2.323 MB / 0.5215 GB, free: 6.457 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003021/0.5267, allocations: 1.3 MB / 0.5228 GB, free: 5.137 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002726/0.527, allocations: 122.9 kB / 0.5229 GB, free: 4.996 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.052e-05/0.5271, allocations: 68.38 kB / 0.523 GB, free: 4.922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=260): time 4.839e-06/0.5271, allocations: 0 / 0.523 GB, free: 4.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=316): time 0.03159/0.5587, allocations: 12.77 MB / 0.5354 GB, free: 7.664 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001999/0.559, allocations: 302.9 kB / 0.5357 GB, free: 7.305 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001908/0.5609, allocations: 1.085 MB / 0.5368 GB, free: 6.207 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007604/0.5617, allocations: 97.69 kB / 0.5369 GB, free: 6.105 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008111/0.5625, allocations: 0.6589 MB / 0.5375 GB, free: 5.438 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001381/0.5639, allocations: 1.059 MB / 0.5385 GB, free: 4.363 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008985/0.5648, allocations: 0.5025 MB / 0.539 GB, free: 3.852 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.565, allocations: 301.1 kB / 0.5393 GB, free: 3.555 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002638/0.5676, allocations: 1.06 MB / 0.5404 GB, free: 2.492 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00285/0.5705, allocations: 1.466 MB / 0.5418 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004745/0.5753, allocations: 2.337 MB / 0.5441 GB, free: 14.45 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/0.5753, allocations: 4 kB / 0.5441 GB, free: 14.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=384) (initialization): time 0.007633/0.5829, allocations: 3.388 MB / 0.5474 GB, free: 11.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.848e-05/0.583, allocations: 8 kB / 0.5474 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.719e-05/0.5831, allocations: 8 kB / 0.5474 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002766/0.5858, allocations: 1.227 MB / 0.5486 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002874/0.5887, allocations: 0.6319 MB / 0.5492 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01036/0.5991, allocations: 8.012 MB / 0.557 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003202/0.6024, allocations: 215.8 kB / 0.5572 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004851/0.6029, allocations: 112 kB / 0.5573 GB, free: 476 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.001526/0.6044, allocations: 461.2 kB / 0.5578 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007659/0.6052, allocations: 205.7 kB / 0.558 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.6065, allocations: 0.5872 MB / 0.5586 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.48e-05/0.6065, allocations: 32 kB / 0.5586 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.688e-05/0.6066, allocations: 4 kB / 0.5586 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.873e-05/0.6066, allocations: 19.94 kB / 0.5586 GB, free: 15.14 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.01715/0.6238, allocations: 7.256 MB / 0.5657 GB, free: 7.699 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-05/0.6238, allocations: 8 kB / 0.5657 GB, free: 7.691 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002738/0.6266, allocations: 0.5621 MB / 0.5663 GB, free: 7.129 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002678/0.6293, allocations: 1.208 MB / 0.5674 GB, free: 5.898 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003572/0.6297, allocations: 95.92 kB / 0.5675 GB, free: 5.805 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01316/0.6428, allocations: 10.98 MB / 0.5782 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.21e-05/0.6429, allocations: 15.94 kB / 0.5783 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0124/0.6553, allocations: 5.515 MB / 0.5836 GB, free: 4.449 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001675/0.657, allocations: 0.5023 MB / 0.5841 GB, free: 3.926 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004832/0.6575, allocations: 83.92 kB / 0.5842 GB, free: 3.844 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002184/0.6597, allocations: 207.8 kB / 0.5844 GB, free: 3.641 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009235/0.6607, allocations: 389.2 kB / 0.5848 GB, free: 3.258 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002089/0.6609, allocations: 111.9 kB / 0.5849 GB, free: 3.148 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001265/0.6622, allocations: 0.7402 MB / 0.5856 GB, free: 2.402 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.963e-06/0.6622, allocations: 4 kB / 0.5856 GB, free: 2.398 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003443/0.6656, allocations: 0.6952 MB / 0.5863 GB, free: 1.703 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.000693/0.6663, allocations: 259.5 kB / 0.5865 GB, free: 1.438 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007508/0.6739, allocations: 3.261 MB / 0.5897 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.909e-05/0.6739, allocations: 0.75 kB / 0.5897 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006396/0.6803, allocations: 2.691 MB / 0.5924 GB, free: 11.39 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002938/0.6833, allocations: 357.1 kB / 0.5927 GB, free: 11.05 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01511/0.6984, allocations: 5.737 MB / 0.5983 GB, free: 5.172 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001835/0.7003, allocations: 1.496 MB / 0.5998 GB, free: 3.637 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001969/0.7023, allocations: 300.2 kB / 0.6001 GB, free: 3.34 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006299/0.703, allocations: 187.3 kB / 0.6002 GB, free: 3.156 MB / 478.1 MB Notification: Performance of SimCode: time 2.284e-06/0.703, allocations: 0 / 0.6002 GB, free: 3.156 MB / 478.1 MB Notification: Performance of Templates: time 0.4269/1.13, allocations: 40.23 MB / 0.6395 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)