Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Rotational.AllComponents") translateModel(ModelicaTest.Rotational.AllComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01016/0.01016, allocations: 102.8 kB / 15.73 MB, free: 6.051 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.002281/0.002281, allocations: 200.1 kB / 16.68 MB, free: 5.969 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.611/1.611, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2019/0.2019, allocations: 39.96 MB / 309.9 MB, free: 4.008 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.2. 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.001536/0.001536, allocations: 73.45 kB / 435.8 MB, free: 11.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1602, allocations: 56.88 MB / 492.7 MB, free: 2.711 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.AllComponents): time 0.01224/0.1725, allocations: 9.597 MB / 0.4905 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008802/0.1813, allocations: 3.109 MB / 0.4935 GB, free: 5.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003645/0.1851, allocations: 43.81 kB / 0.4936 GB, free: 5.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.1867, allocations: 356.4 kB / 0.4939 GB, free: 5.551 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004966/0.1917, allocations: 0.7929 MB / 0.4947 GB, free: 4.754 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003354/0.195, allocations: 0.9594 MB / 0.4956 GB, free: 3.793 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006295/0.2013, allocations: 3.372 MB / 0.4989 GB, free: 420 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002128/0.2035, allocations: 0.8824 MB / 0.4998 GB, free: 15.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003615/0.2072, allocations: 1.363 MB / 0.5011 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003831/0.211, allocations: 1.549 MB / 0.5026 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001316/0.2123, allocations: 284 kB / 0.5029 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001943/0.2143, allocations: 403.8 kB / 0.5033 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001308/0.2156, allocations: 0.6737 MB / 0.504 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002325/0.218, allocations: 1.345 MB / 0.5053 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00423/0.2222, allocations: 3.286 MB / 0.5085 GB, free: 6.562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2222, allocations: 0 / 0.5085 GB, free: 6.562 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2222, allocations: 0 / 0.5085 GB, free: 6.562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.844e-05/0.2223, allocations: 0 / 0.5085 GB, free: 6.562 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 547 * Number of variables: 547 Notification: Performance of Generate backend data structure: time 0.007473/0.2298, allocations: 2.92 MB / 0.5113 GB, free: 3.578 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.2299, allocations: 11.89 kB / 0.5113 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009173/0.2308, allocations: 301.8 kB / 0.5116 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002026/0.2328, allocations: 1.135 MB / 0.5127 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003778/0.2332, allocations: 400.1 kB / 0.5131 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003558/0.2336, allocations: 243.6 kB / 0.5133 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3539/0.5874, allocations: 2.579 MB / 0.5159 GB, free: 29.95 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001356/0.5876, allocations: 33.36 kB / 0.5159 GB, free: 29.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002094/0.5878, allocations: 86.28 kB / 0.516 GB, free: 29.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.015e-05/0.5879, allocations: 52.81 kB / 0.516 GB, free: 29.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007456/0.5954, allocations: 2.621 MB / 0.5186 GB, free: 29.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01751/0.6129, allocations: 6.851 MB / 0.5253 GB, free: 26.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00692/0.6199, allocations: 2.481 MB / 0.5277 GB, free: 25.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003789/0.6237, allocations: 1.397 MB / 0.5291 GB, free: 24.79 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000279/0.624, allocations: 129.8 kB / 0.5292 GB, free: 24.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.42e-05/0.6241, allocations: 69.3 kB / 0.5293 GB, free: 24.62 MB / 398.1 MB Notification: Performance of pre-optimization done (n=275): time 4.979e-06/0.6241, allocations: 0 / 0.5293 GB, free: 24.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=333): time 0.03251/0.6566, allocations: 14.05 MB / 0.543 GB, free: 16.06 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.6568, allocations: 320.1 kB / 0.5433 GB, free: 15.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.6582, allocations: 1.149 MB / 0.5444 GB, free: 15.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003413/0.6586, allocations: 94.88 kB / 0.5445 GB, free: 15.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004319/0.659, allocations: 0.696 MB / 0.5452 GB, free: 14.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007027/0.6597, allocations: 1.119 MB / 0.5463 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007609/0.6605, allocations: 0.5276 MB / 0.5468 GB, free: 13.12 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.373e-05/0.6606, allocations: 308.8 kB / 0.5471 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002192/0.6628, allocations: 1.121 MB / 0.5482 GB, free: 12.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00227/0.665, allocations: 1.552 MB / 0.5497 GB, free: 10.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00401/0.6691, allocations: 2.49 MB / 0.5521 GB, free: 7.949 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.6691, allocations: 4 kB / 0.5521 GB, free: 7.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=407) (initialization): time 0.006557/0.6757, allocations: 3.566 MB / 0.5556 GB, free: 4.359 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.775e-05/0.6757, allocations: 8 kB / 0.5556 GB, free: 4.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.356e-05/0.6757, allocations: 8 kB / 0.5556 GB, free: 4.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002316/0.6781, allocations: 1.229 MB / 0.5568 GB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002644/0.6807, allocations: 0.7117 MB / 0.5575 GB, free: 2.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01036/0.6911, allocations: 8.019 MB / 0.5654 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003086/0.6942, allocations: 223.8 kB / 0.5656 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003059/0.6946, allocations: 120 kB / 0.5657 GB, free: 9.711 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (338): * Single equations (assignments): 333 * 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.00171/0.6963, allocations: 485 kB / 0.5661 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008574/0.6972, allocations: 217.4 kB / 0.5664 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.6985, allocations: 0.6033 MB / 0.5669 GB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.5e-05/0.6986, allocations: 36 kB / 0.567 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.737e-05/0.6986, allocations: 7.938 kB / 0.567 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-05/0.6987, allocations: 15.94 kB / 0.567 GB, free: 8.34 MB / 414.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.01625/0.7149, allocations: 7.707 MB / 0.5745 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.981e-05/0.715, allocations: 8 kB / 0.5745 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00284/0.7178, allocations: 0.6438 MB / 0.5752 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002755/0.7206, allocations: 1.2 MB / 0.5763 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003479/0.721, allocations: 103.9 kB / 0.5764 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01194/0.7329, allocations: 10.98 MB / 0.5872 GB, free: 2.953 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/0.733, allocations: 15.94 kB / 0.5872 GB, free: 2.938 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01299/0.746, allocations: 5.914 MB / 0.5929 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00192/0.748, allocations: 0.5256 MB / 0.5935 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004348/0.7484, allocations: 83.98 kB / 0.5935 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002202/0.7506, allocations: 223.8 kB / 0.5938 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001017/0.7517, allocations: 413.1 kB / 0.5941 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002766/0.752, allocations: 120.2 kB / 0.5943 GB, free: 11.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001394/0.7534, allocations: 0.7812 MB / 0.595 GB, free: 10.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7534, allocations: 0 / 0.595 GB, free: 10.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003462/0.7569, allocations: 0.7318 MB / 0.5957 GB, free: 9.938 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * Number of states: 31 (inertia17.phi,inertia17.w,elastoBacklash2.phi_rel,elastoBacklash2.w_rel,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 (267): * Single equations (assignments): 260 * 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.0005744/0.7574, allocations: 279.6 kB / 0.596 GB, free: 9.664 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007728/0.7652, allocations: 3.453 MB / 0.5994 GB, free: 6.168 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/0.7652, allocations: 0 / 0.5994 GB, free: 6.168 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006329/0.7716, allocations: 2.862 MB / 0.6022 GB, free: 3.258 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003364/0.775, allocations: 378 kB / 0.6025 GB, free: 2.898 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01389/0.7889, allocations: 6.215 MB / 0.6086 GB, free: 12.56 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001762/0.7907, allocations: 1.555 MB / 0.6101 GB, free: 10.97 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001583/0.7923, allocations: 313.2 kB / 0.6104 GB, free: 10.66 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006569/0.793, allocations: 199.3 kB / 0.6106 GB, free: 10.47 MB / 462.1 MB Notification: Performance of SimCode: time 1.132e-06/0.793, allocations: 0 / 0.6106 GB, free: 10.47 MB / 462.1 MB Notification: Performance of Templates: time 0.09039/0.8834, allocations: 43.75 MB / 0.6533 GB, free: 14.71 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.AllComponents.pipe 2>&1)