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.001213/0.001213, 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.001393/0.001393, allocations: 188.7 kB / 16.25 MB, free: 6.617 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.682/1.682, allocations: 205.1 MB / 222.1 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4148/0.4148, allocations: 39.93 MB / 309.4 MB, free: 8.984 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.00145/0.00145, allocations: 63.91 kB / 377.1 MB, free: 12.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1615, allocations: 56.88 MB / 434 MB, free: 3.758 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.AllComponents): time 0.01347/0.1751, allocations: 9.509 MB / 443.5 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009345/0.1845, allocations: 3.109 MB / 446.6 MB, free: 7.078 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002923/0.1876, allocations: 39.81 kB / 446.6 MB, free: 7.039 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001359/0.189, allocations: 273.9 kB / 446.9 MB, free: 6.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003638/0.1926, allocations: 0.6944 MB / 447.6 MB, free: 6.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002332/0.195, allocations: 0.8505 MB / 448.4 MB, free: 5.219 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00499/0.2, allocations: 3.341 MB / 451.8 MB, free: 1.863 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001428/0.2014, allocations: 0.867 MB / 452.7 MB, free: 0.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3199/0.5213, allocations: 1.352 MB / 454 MB, free: 37.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002656/0.5241, allocations: 1.553 MB / 455.6 MB, free: 37.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001109/0.5252, allocations: 283.2 kB / 455.8 MB, free: 37.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.5265, allocations: 389.8 kB / 456.2 MB, free: 37.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006008/0.5271, allocations: 0.6796 MB / 456.9 MB, free: 37.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001468/0.5286, allocations: 1.346 MB / 458.2 MB, free: 37.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003203/0.5318, allocations: 3.247 MB / 461.5 MB, free: 36.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.5318, allocations: 0 / 461.5 MB, free: 36.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.5318, allocations: 0.8125 kB / 461.5 MB, free: 36.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.336e-05/0.5319, allocations: 1.875 kB / 461.5 MB, free: 36.56 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: 547 * Number of variables: 547 Notification: Performance of Generate backend data structure: time 0.009636/0.5416, allocations: 2.933 MB / 464.4 MB, free: 35.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.905e-05/0.5417, allocations: 13.8 kB / 464.4 MB, free: 35.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/0.543, allocations: 295.8 kB / 464.7 MB, free: 35.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002092/0.5451, allocations: 1.118 MB / 465.8 MB, free: 34.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009205/0.546, allocations: 488.2 kB / 466.3 MB, free: 34.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003805/0.5464, allocations: 240.9 kB / 466.6 MB, free: 34.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004822/0.5513, allocations: 2.582 MB / 469.1 MB, free: 33.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.169e-05/0.5514, allocations: 31.28 kB / 469.2 MB, free: 33.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002234/0.5516, allocations: 90.56 kB / 469.3 MB, free: 33.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.796e-05/0.5516, allocations: 53.69 kB / 469.3 MB, free: 33.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005739/0.5574, allocations: 2.618 MB / 471.9 MB, free: 33.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01494/0.5724, allocations: 6.905 MB / 478.8 MB, free: 29.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00516/0.5776, allocations: 2.479 MB / 481.3 MB, free: 28.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003147/0.5808, allocations: 1.403 MB / 482.7 MB, free: 28.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003019/0.5811, allocations: 123.4 kB / 482.8 MB, free: 28.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.77e-05/0.5812, allocations: 74.22 kB / 482.9 MB, free: 28.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=275): time 7.093e-06/0.5812, allocations: 0.7031 kB / 482.9 MB, free: 28.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=333): time 0.03851/0.6197, allocations: 14.05 MB / 497 MB, free: 20.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001711/0.6199, allocations: 321.2 kB / 497.3 MB, free: 20.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002793/0.6227, allocations: 1.144 MB / 498.4 MB, free: 19.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009384/0.6237, allocations: 98.86 kB / 498.5 MB, free: 19.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008695/0.6246, allocations: 0.697 MB / 499.2 MB, free: 18.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001908/0.6265, allocations: 1.119 MB / 0.4886 GB, free: 18.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00259/0.6291, allocations: 0.5271 MB / 0.4891 GB, free: 17.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.6292, allocations: 307.3 kB / 0.4894 GB, free: 17.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003676/0.6329, allocations: 1.117 MB / 0.4905 GB, free: 17.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004258/0.6372, allocations: 1.549 MB / 0.492 GB, free: 16.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006528/0.6438, allocations: 2.5 MB / 0.4945 GB, free: 15.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.543e-05/0.6438, allocations: 6.469 kB / 0.4945 GB, free: 15.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=407) (initialization): time 0.01045/0.6543, allocations: 3.568 MB / 0.498 GB, free: 13.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.294e-05/0.6544, allocations: 9.938 kB / 0.498 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.384e-05/0.6544, allocations: 11.34 kB / 0.498 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003423/0.6579, allocations: 1.217 MB / 0.4992 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003926/0.6618, allocations: 0.7059 MB / 0.4998 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.6721, allocations: 8.016 MB / 0.5077 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003238/0.6754, allocations: 234.6 kB / 0.5079 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007855/0.6762, allocations: 117.8 kB / 0.508 GB, free: 7.18 MB / 382.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.002724/0.6789, allocations: 479 kB / 0.5085 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001475/0.6804, allocations: 218.5 kB / 0.5087 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001727/0.6822, allocations: 0.6053 MB / 0.5093 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.056e-05/0.6822, allocations: 33.88 kB / 0.5093 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.696e-05/0.6823, allocations: 3.125 kB / 0.5093 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.678e-05/0.6824, allocations: 23.47 kB / 0.5093 GB, free: 6.41 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.02033/0.7027, allocations: 7.771 MB / 0.5169 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.036e-05/0.7028, allocations: 8 kB / 0.5169 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003363/0.7062, allocations: 0.6496 MB / 0.5176 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002837/0.7091, allocations: 1.214 MB / 0.5187 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006834/0.7098, allocations: 99.92 kB / 0.5188 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01401/0.7238, allocations: 10.99 MB / 0.5296 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-05/0.7239, allocations: 18.17 kB / 0.5296 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01689/0.7408, allocations: 5.901 MB / 0.5353 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001864/0.7427, allocations: 0.5319 MB / 0.5359 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009374/0.7437, allocations: 87.98 kB / 0.536 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003045/0.7467, allocations: 215.8 kB / 0.5362 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001419/0.7482, allocations: 418.4 kB / 0.5366 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000436/0.7486, allocations: 115.9 kB / 0.5367 GB, free: 10.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001902/0.7506, allocations: 0.7877 MB / 0.5374 GB, free: 9.719 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.7506, allocations: 0 / 0.5374 GB, free: 9.719 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004623/0.7552, allocations: 0.7344 MB / 0.5382 GB, free: 8.984 MB / 414.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.0009851/0.7562, allocations: 270 kB / 0.5384 GB, free: 8.746 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0109/0.7671, allocations: 3.646 MB / 0.542 GB, free: 5.152 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-05/0.7672, allocations: 4 kB / 0.542 GB, free: 5.148 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007279/0.7744, allocations: 2.843 MB / 0.5448 GB, free: 2.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004044/0.7785, allocations: 373.4 kB / 0.5451 GB, free: 1.973 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/0.7942, allocations: 7.244 MB / 0.5522 GB, free: 10.63 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002171/0.7965, allocations: 1.551 MB / 0.5537 GB, free: 9.043 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002215/0.7987, allocations: 313 kB / 0.554 GB, free: 8.738 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001142/0.7999, allocations: 187.3 kB / 0.5542 GB, free: 8.555 MB / 430.1 MB Notification: Performance of SimCode: time 2.074e-06/0.7999, allocations: 0 / 0.5542 GB, free: 8.555 MB / 430.1 MB Notification: Performance of Templates: time 0.08142/0.8813, allocations: 40.99 MB / 0.5942 GB, free: 15.68 MB / 478.1 MB 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)