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.008954/0.008954, allocations: 109.1 kB / 15.74 MB, free: 6.016 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.00158/0.00158, allocations: 190.3 kB / 16.67 MB, free: 5.941 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.633/1.633, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.3566/0.3566, allocations: 38 MB / 307.9 MB, free: 9.895 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.001756/0.001756, allocations: 75.83 kB / 433 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3384, allocations: 56.46 MB / 489.5 MB, free: 19.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.AllComponents): time 0.009178/0.3476, allocations: 8.983 MB / 498.5 MB, free: 13.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007546/0.3552, allocations: 2.944 MB / 0.4897 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002556/0.3578, allocations: 38.12 kB / 0.4897 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009544/0.3588, allocations: 334.6 kB / 0.49 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003187/0.362, allocations: 0.7439 MB / 0.4907 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002341/0.3644, allocations: 0.8988 MB / 0.4916 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004712/0.3691, allocations: 3.132 MB / 0.4947 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001204/0.3703, allocations: 0.7732 MB / 0.4954 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00266/0.373, allocations: 1.281 MB / 0.4967 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002857/0.3759, allocations: 1.437 MB / 0.4981 GB, free: 7.031 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008306/0.3767, allocations: 266.2 kB / 0.4983 GB, free: 7.027 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.378, allocations: 387.4 kB / 0.4987 GB, free: 6.984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006734/0.3787, allocations: 0.6361 MB / 0.4993 GB, free: 6.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001805/0.3805, allocations: 1.255 MB / 0.5006 GB, free: 5.727 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003573/0.3841, allocations: 3.077 MB / 0.5036 GB, free: 3.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3841, allocations: 0 / 0.5036 GB, free: 3.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.3842, allocations: 1.156 kB / 0.5036 GB, free: 3.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.308e-05/0.3842, allocations: 3.938 kB / 0.5036 GB, free: 3.441 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.005834/0.39, allocations: 2.734 MB / 0.5062 GB, free: 1.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.3901, allocations: 12.11 kB / 0.5063 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008321/0.3909, allocations: 275.8 kB / 0.5065 GB, free: 1.434 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/0.3926, allocations: 1.076 MB / 0.5076 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002877/0.3929, allocations: 357.5 kB / 0.5079 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003276/0.3932, allocations: 232.7 kB / 0.5081 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004706/0.398, allocations: 2.409 MB / 0.5105 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-05/0.3981, allocations: 24.75 kB / 0.5105 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002029/0.3983, allocations: 85.34 kB / 0.5106 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.001e-05/0.3983, allocations: 49.44 kB / 0.5106 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00547/0.4038, allocations: 2.43 MB / 0.513 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01296/0.4168, allocations: 6.398 MB / 0.5193 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004332/0.4212, allocations: 2.311 MB / 0.5215 GB, free: 6.449 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002633/0.4238, allocations: 1.3 MB / 0.5228 GB, free: 5.129 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002603/0.4241, allocations: 118.9 kB / 0.5229 GB, free: 4.992 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.812e-05/0.4242, allocations: 68.36 kB / 0.523 GB, free: 4.918 MB / 398.1 MB Notification: Performance of pre-optimization done (n=260): time 4.569e-06/0.4242, allocations: 0 / 0.523 GB, free: 4.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=316): time 0.02767/0.4519, allocations: 12.78 MB / 0.5354 GB, free: 7.648 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002326/0.4521, allocations: 302.9 kB / 0.5357 GB, free: 7.289 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001908/0.4541, allocations: 1.089 MB / 0.5368 GB, free: 6.188 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005377/0.4546, allocations: 93.69 kB / 0.5369 GB, free: 6.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005651/0.4552, allocations: 0.6587 MB / 0.5375 GB, free: 5.422 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009894/0.4562, allocations: 1.055 MB / 0.5386 GB, free: 4.352 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008305/0.457, allocations: 0.4987 MB / 0.539 GB, free: 3.844 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.4571, allocations: 301.1 kB / 0.5393 GB, free: 3.547 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002202/0.4593, allocations: 1.064 MB / 0.5404 GB, free: 2.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002498/0.4618, allocations: 1.462 MB / 0.5418 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004406/0.4663, allocations: 2.341 MB / 0.5441 GB, free: 14.44 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/0.4663, allocations: 4 kB / 0.5441 GB, free: 14.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=384) (initialization): time 0.006951/0.4733, allocations: 3.4 MB / 0.5474 GB, free: 11.01 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.884e-05/0.4733, allocations: 12 kB / 0.5474 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/0.4734, allocations: 8.859 kB / 0.5474 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002452/0.4758, allocations: 1.212 MB / 0.5486 GB, free: 9.766 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002526/0.4784, allocations: 0.6396 MB / 0.5492 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009654/0.488, allocations: 8.004 MB / 0.5571 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002745/0.4908, allocations: 219.8 kB / 0.5573 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002539/0.4911, allocations: 116 kB / 0.5574 GB, free: 456 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.001294/0.4924, allocations: 449.3 kB / 0.5578 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006745/0.4931, allocations: 205.5 kB / 0.558 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.4943, allocations: 0.5911 MB / 0.5586 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.752e-05/0.4943, allocations: 32 kB / 0.5586 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.734e-05/0.4944, allocations: 4 kB / 0.5586 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.422e-05/0.4944, allocations: 11.95 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.01629/0.5107, allocations: 7.264 MB / 0.5657 GB, free: 7.688 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-05/0.5108, allocations: 8.844 kB / 0.5657 GB, free: 7.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002669/0.5134, allocations: 0.5656 MB / 0.5663 GB, free: 7.113 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002759/0.5162, allocations: 1.208 MB / 0.5675 GB, free: 5.883 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004646/0.5167, allocations: 92.11 kB / 0.5675 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01326/0.53, allocations: 10.98 MB / 0.5783 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.579e-05/0.53, allocations: 20.03 kB / 0.5783 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01364/0.5437, allocations: 5.514 MB / 0.5837 GB, free: 4.43 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001701/0.5454, allocations: 0.5022 MB / 0.5842 GB, free: 3.906 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007494/0.5462, allocations: 83.98 kB / 0.5842 GB, free: 3.824 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002689/0.5489, allocations: 195.8 kB / 0.5844 GB, free: 3.633 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001182/0.5501, allocations: 393.2 kB / 0.5848 GB, free: 3.246 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004154/0.5506, allocations: 111.9 kB / 0.5849 GB, free: 3.137 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00173/0.5523, allocations: 0.748 MB / 0.5856 GB, free: 2.383 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.52e-07/0.5523, allocations: 3.938 kB / 0.5856 GB, free: 2.379 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004358/0.5567, allocations: 0.6875 MB / 0.5863 GB, free: 1.691 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.0008595/0.5576, allocations: 255.7 kB / 0.5866 GB, free: 1.43 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007946/0.5655, allocations: 3.27 MB / 0.5898 GB, free: 14.13 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/0.5656, allocations: 0 / 0.5898 GB, free: 14.13 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006482/0.5721, allocations: 2.688 MB / 0.5924 GB, free: 11.38 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003832/0.5759, allocations: 357 kB / 0.5927 GB, free: 11.04 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/0.5883, allocations: 5.741 MB / 0.5983 GB, free: 5.16 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001714/0.5901, allocations: 1.5 MB / 0.5998 GB, free: 3.621 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001894/0.592, allocations: 292.2 kB / 0.6001 GB, free: 3.332 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009563/0.593, allocations: 183.3 kB / 0.6002 GB, free: 3.152 MB / 478.1 MB Notification: Performance of SimCode: time 9.62e-07/0.593, allocations: 0 / 0.6002 GB, free: 3.152 MB / 478.1 MB Notification: Performance of Templates: time 0.3736/0.9666, allocations: 41.66 MB / 0.6409 GB, free: 130.5 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)