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.001571/0.001571, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002006/0.002006, allocations: 190.5 kB / 16.14 MB, free: 6.703 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.554/1.554, allocations: 205.1 MB / 222 MB, free: 4.742 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.3581/0.3581, allocations: 39.93 MB / 309.3 MB, free: 9.324 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.001385/0.001385, allocations: 67.89 kB / 376.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1663, allocations: 56.89 MB / 433.8 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.AllComponents): time 0.01429/0.1807, allocations: 9.524 MB / 443.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009956/0.1907, allocations: 3.121 MB / 446.4 MB, free: 7.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0029/0.1937, allocations: 43.81 kB / 446.5 MB, free: 7.387 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001629/0.1954, allocations: 258 kB / 446.7 MB, free: 7.133 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004467/0.1999, allocations: 0.6788 MB / 447.4 MB, free: 6.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002828/0.2027, allocations: 0.8506 MB / 448.3 MB, free: 5.598 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005923/0.2087, allocations: 3.181 MB / 451.4 MB, free: 2.402 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00132/0.21, allocations: 0.7612 MB / 452.2 MB, free: 1.605 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002825/0.2128, allocations: 1.218 MB / 453.4 MB, free: 392 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3494/0.5623, allocations: 1.454 MB / 454.9 MB, free: 37.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001146/0.5635, allocations: 167.9 kB / 455 MB, free: 37.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/0.565, allocations: 270.8 kB / 455.3 MB, free: 37.87 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006492/0.5656, allocations: 0.5685 MB / 455.9 MB, free: 37.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001413/0.5671, allocations: 1.233 MB / 457.1 MB, free: 37.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00305/0.5701, allocations: 3.109 MB / 460.2 MB, free: 37.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.5702, allocations: 0 / 460.2 MB, free: 37.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5702, allocations: 0.6875 kB / 460.2 MB, free: 37.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.077e-05/0.5702, allocations: 0 / 460.2 MB, free: 37.2 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.008101/0.5784, allocations: 2.937 MB / 463.2 MB, free: 36.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.5784, allocations: 11 kB / 463.2 MB, free: 36.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.5794, allocations: 292.7 kB / 463.5 MB, free: 35.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002137/0.5816, allocations: 1.119 MB / 464.6 MB, free: 35.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009589/0.5826, allocations: 491.2 kB / 465.1 MB, free: 35.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004011/0.583, allocations: 243 kB / 465.3 MB, free: 35.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005475/0.5885, allocations: 2.578 MB / 467.9 MB, free: 34.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001068/0.5886, allocations: 29.33 kB / 467.9 MB, free: 34.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002201/0.5888, allocations: 85.84 kB / 468 MB, free: 34.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.351e-05/0.5889, allocations: 54.88 kB / 468 MB, free: 34.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005667/0.5946, allocations: 2.624 MB / 470.7 MB, free: 34.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01368/0.6083, allocations: 6.903 MB / 477.6 MB, free: 30.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004624/0.613, allocations: 2.48 MB / 480 MB, free: 29.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002807/0.6158, allocations: 1.408 MB / 481.5 MB, free: 29.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000256/0.6161, allocations: 120.5 kB / 481.6 MB, free: 29.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.523e-05/0.6162, allocations: 73.36 kB / 481.6 MB, free: 29.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=275): time 5.27e-06/0.6162, allocations: 3.062 kB / 481.6 MB, free: 29.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=333): time 0.03644/0.6526, allocations: 14.03 MB / 495.7 MB, free: 21.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002593/0.653, allocations: 322.6 kB / 496 MB, free: 21.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002535/0.6555, allocations: 1.144 MB / 497.1 MB, free: 20.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007711/0.6563, allocations: 94.55 kB / 497.2 MB, free: 20.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007439/0.657, allocations: 0.7035 MB / 497.9 MB, free: 20.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001281/0.6583, allocations: 1.12 MB / 499.1 MB, free: 19.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0011/0.6594, allocations: 0.5304 MB / 499.6 MB, free: 18.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.333e-05/0.6595, allocations: 306.7 kB / 499.9 MB, free: 18.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002982/0.6625, allocations: 1.118 MB / 0.4893 GB, free: 18.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003441/0.666, allocations: 1.544 MB / 0.4908 GB, free: 17.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005061/0.671, allocations: 2.499 MB / 0.4932 GB, free: 16.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-05/0.6711, allocations: 2.5 kB / 0.4932 GB, free: 16.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=407) (initialization): time 0.008649/0.6797, allocations: 3.573 MB / 0.4967 GB, free: 15.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/0.6798, allocations: 13.16 kB / 0.4967 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.573e-05/0.6799, allocations: 9.188 kB / 0.4967 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002759/0.6826, allocations: 1.211 MB / 0.4979 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003702/0.6864, allocations: 0.7116 MB / 0.4986 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008944/0.6953, allocations: 7.518 MB / 0.5059 GB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003364/0.6987, allocations: 242.3 kB / 0.5062 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005522/0.6993, allocations: 120.8 kB / 0.5063 GB, free: 8.734 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.001718/0.701, allocations: 470.6 kB / 0.5067 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001104/0.7022, allocations: 221.8 kB / 0.5069 GB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.7035, allocations: 0.6028 MB / 0.5075 GB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.45e-05/0.7035, allocations: 33.72 kB / 0.5076 GB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.51e-05/0.7036, allocations: 6.844 kB / 0.5076 GB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-05/0.7036, allocations: 16.92 kB / 0.5076 GB, free: 7.973 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.01741/0.721, allocations: 7.773 MB / 0.5152 GB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.528e-05/0.7211, allocations: 8 kB / 0.5152 GB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002853/0.724, allocations: 0.6555 MB / 0.5158 GB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002438/0.7265, allocations: 1.199 MB / 0.517 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003527/0.7268, allocations: 103.9 kB / 0.5171 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01241/0.7393, allocations: 10.16 MB / 0.527 GB, free: 5.125 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.027e-05/0.7393, allocations: 10.62 kB / 0.527 GB, free: 5.117 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01315/0.7525, allocations: 5.921 MB / 0.5328 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001698/0.7542, allocations: 0.5254 MB / 0.5333 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004484/0.7547, allocations: 84 kB / 0.5334 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002178/0.7569, allocations: 231.7 kB / 0.5336 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001059/0.758, allocations: 402.6 kB / 0.534 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002206/0.7582, allocations: 115.9 kB / 0.5341 GB, free: 13.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00124/0.7594, allocations: 0.7812 MB / 0.5349 GB, free: 12.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.172e-06/0.7594, allocations: 0 / 0.5349 GB, free: 12.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003516/0.763, allocations: 0.7372 MB / 0.5356 GB, free: 12.15 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.0005623/0.7635, allocations: 261 kB / 0.5359 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00777/0.7713, allocations: 3.42 MB / 0.5392 GB, free: 8.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/0.7714, allocations: 8.062 kB / 0.5392 GB, free: 8.512 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006621/0.778, allocations: 2.837 MB / 0.542 GB, free: 5.688 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003106/0.7811, allocations: 363.9 kB / 0.5423 GB, free: 5.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0145/0.7957, allocations: 7.244 MB / 0.5494 GB, free: 14.01 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001805/0.7975, allocations: 1.544 MB / 0.5509 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002081/0.7996, allocations: 309.2 kB / 0.5512 GB, free: 12.12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00064/0.8003, allocations: 183.3 kB / 0.5514 GB, free: 11.95 MB / 430.1 MB Notification: Performance of SimCode: time 1.483e-06/0.8003, allocations: 0 / 0.5514 GB, free: 11.95 MB / 430.1 MB Notification: Performance of Templates: time 0.06574/0.866, allocations: 38.86 MB / 0.5893 GB, free: 5.223 MB / 462.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)