Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001471/0.001471, allocations: 109.5 kB / 19.75 MB, free: 2.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001856/0.001856, allocations: 218.7 kB / 22.92 MB, free: 5.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.278/1.278, allocations: 230.5 MB / 256.4 MB, free: 8.258 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 75.81 kB / 376.1 MB, free: 4.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2239, allocations: 53.31 MB / 429.4 MB, free: 7.598 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.003326/0.2272, allocations: 2.366 MB / 431.7 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.2285, allocations: 0.8143 MB / 432.6 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.2286, allocations: 4 kB / 432.6 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.2288, allocations: 55.56 kB / 432.6 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.229, allocations: 63.56 kB / 432.7 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.2294, allocations: 171.6 kB / 432.8 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003719/0.2298, allocations: 371.5 kB / 433.2 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.2299, allocations: 71.38 kB / 433.3 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/0.2302, allocations: 163.5 kB / 433.4 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000237/0.2304, allocations: 183.3 kB / 433.6 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.844e-05/0.2305, allocations: 32 kB / 433.6 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.351e-05/0.2305, allocations: 36 kB / 433.7 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.2306, allocations: 91.72 kB / 433.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.2308, allocations: 143.3 kB / 433.9 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.2311, allocations: 335.3 kB / 434.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2311, allocations: 0 / 434.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2311, allocations: 0 / 434.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.2311, allocations: 0 / 434.2 MB, free: 2.715 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.00107/0.2322, allocations: 0.6081 MB / 434.8 MB, free: 2.059 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.2322, allocations: 8.031 kB / 434.9 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.733e-05/0.2323, allocations: 82.66 kB / 434.9 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.546e-05/0.2323, allocations: 36.75 kB / 435 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.2327, allocations: 268.5 kB / 435.2 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001874/0.2329, allocations: 138.2 kB / 435.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.332e-05/0.2329, allocations: 28.33 kB / 435.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.234, allocations: 0.5525 MB / 435.9 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.234, allocations: 7.938 kB / 436 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/0.234, allocations: 12 kB / 436 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.2341, allocations: 8 kB / 436 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.2353, allocations: 0.5073 MB / 436.5 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.2368, allocations: 1.006 MB / 437.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.2382, allocations: 486.5 kB / 438 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005795/0.2388, allocations: 231.4 kB / 438.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.071e-05/0.2389, allocations: 12.12 kB / 438.2 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.2389, allocations: 42.5 kB / 438.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.643e-06/0.2389, allocations: 7.938 kB / 438.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.03618/0.2751, allocations: 5.732 MB / 444 MB, free: 8.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.2752, allocations: 148.9 kB / 444.1 MB, free: 8.512 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.2754, allocations: 194.6 kB / 444.3 MB, free: 8.312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.747e-05/0.2754, allocations: 37.7 kB / 444.4 MB, free: 8.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.489e-05/0.2755, allocations: 141.8 kB / 444.5 MB, free: 8.125 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.2757, allocations: 206.3 kB / 444.7 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002769/0.276, allocations: 106.7 kB / 444.8 MB, free: 7.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.2762, allocations: 346.8 kB / 445.1 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001541/0.2777, allocations: 0.611 MB / 445.8 MB, free: 6.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001659/0.2794, allocations: 0.8002 MB / 446.6 MB, free: 5.977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002953/0.2823, allocations: 1.244 MB / 447.8 MB, free: 4.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.2823, allocations: 3.938 kB / 447.8 MB, free: 4.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003434/0.2857, allocations: 1.402 MB / 449.2 MB, free: 3.242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.2858, allocations: 8 kB / 449.2 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.2858, allocations: 4 kB / 449.2 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.2858, allocations: 12.23 kB / 449.2 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.287, allocations: 207.6 kB / 449.4 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.2871, allocations: 11.94 kB / 449.4 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008718/0.2879, allocations: 103.9 kB / 449.5 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-05/0.288, allocations: 28 kB / 449.6 MB, free: 2.875 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 2 (kinematicPTP.noWphase,kinematicPTP.moving[1]) * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002738/0.2883, allocations: 181.6 kB / 449.7 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002977/0.2886, allocations: 149.4 kB / 449.9 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.2887, allocations: 67.3 kB / 450 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.2887, allocations: 8 kB / 450 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.2887, allocations: 0 / 450 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.2888, allocations: 7.984 kB / 450 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004524/0.2933, allocations: 2.172 MB / 452.1 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.2933, allocations: 12.03 kB / 452.2 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007308/0.294, allocations: 187.7 kB / 452.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/0.294, allocations: 16 kB / 452.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.596e-05/0.2941, allocations: 24.34 kB / 452.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.447e-05/0.2941, allocations: 27.92 kB / 452.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.247e-05/0.2941, allocations: 15.94 kB / 452.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003048/0.2972, allocations: 1.545 MB / 454 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.2973, allocations: 176.8 kB / 454.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.41e-05/0.2974, allocations: 24 kB / 454.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005575/0.298, allocations: 79.91 kB / 454.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/0.2981, allocations: 95.67 kB / 454.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.616e-05/0.2982, allocations: 31.94 kB / 454.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001204/0.2983, allocations: 148.3 kB / 454.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2983, allocations: 0 / 454.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006097/0.2989, allocations: 124 kB / 454.6 MB, free: 13.44 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 2 (load.w,speed.flange.phi) * Number of discrete variables: 2 (kinematicPTP.moving[1],kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00336/0.3023, allocations: 2.125 MB / 456.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002658/0.3049, allocations: 1.023 MB / 457.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.3049, allocations: 4 kB / 457.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009474/0.3059, allocations: 334 kB / 458.1 MB, free: 9.801 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008174/0.3067, allocations: 132.1 kB / 458.2 MB, free: 9.672 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/0.3193, allocations: 6.775 MB / 465 MB, free: 2.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/0.3197, allocations: 0.8167 MB / 465.8 MB, free: 1.566 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004482/0.3202, allocations: 99.3 kB / 465.9 MB, free: 1.465 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003597/0.3205, allocations: 115.4 kB / 466 MB, free: 1.352 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3205, allocations: 0 / 466 MB, free: 1.352 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03705/0.3576, allocations: 11.47 MB / 477.5 MB, free: 5.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.394/7.751, allocations: 3.938 kB / 477.5 MB, free: 5.977 MB / 382.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.839406940998742]