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.001501/0.001501, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002363/0.002363, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.494/1.494, allocations: 230.6 MB / 258.3 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] 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.002007/0.002007, allocations: 68.77 kB / 378.5 MB, free: 3.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2797, allocations: 53.37 MB / 431.9 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.003936/0.2837, allocations: 2.362 MB / 434.3 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.2854, allocations: 0.8183 MB / 435.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/0.2856, allocations: 7.938 kB / 435.1 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003022/0.2859, allocations: 51.56 kB / 435.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.2861, allocations: 63.56 kB / 435.2 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005283/0.2866, allocations: 171.6 kB / 435.4 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004647/0.2871, allocations: 375.5 kB / 435.7 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002006/0.2873, allocations: 71.8 kB / 435.8 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003504/0.2876, allocations: 175.4 kB / 436 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002786/0.2879, allocations: 171.3 kB / 436.1 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.442e-05/0.288, allocations: 39.94 kB / 436.2 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.977e-05/0.288, allocations: 36 kB / 436.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.2881, allocations: 91.73 kB / 436.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.2883, allocations: 147.3 kB / 436.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004281/0.2887, allocations: 324.9 kB / 436.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2887, allocations: 0 / 436.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2887, allocations: 0 / 436.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.2887, allocations: 0 / 436.8 MB, free: 2.031 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.00119/0.2899, allocations: 0.5405 MB / 437.3 MB, free: 1.461 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.29, allocations: 12.03 kB / 437.3 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.967e-05/0.29, allocations: 66.72 kB / 437.4 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.562e-05/0.2901, allocations: 48.69 kB / 437.4 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004413/0.2906, allocations: 202.6 kB / 437.6 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003405/0.2909, allocations: 347.9 kB / 438 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.084e-05/0.291, allocations: 32.33 kB / 438 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.2921, allocations: 0.5395 MB / 438.5 MB, free: 100 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.2922, allocations: 4 kB / 438.6 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/0.2922, allocations: 12 kB / 438.6 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.2922, allocations: 8 kB / 438.6 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.2935, allocations: 0.5151 MB / 439.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.2951, allocations: 0.949 MB / 440 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.2966, allocations: 486.4 kB / 440.5 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005897/0.2972, allocations: 251.3 kB / 440.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.861e-05/0.2973, allocations: 8.141 kB / 440.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.2973, allocations: 38.56 kB / 440.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 3.176e-06/0.2973, allocations: 0 / 440.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.0361/0.3334, allocations: 5.72 MB / 446.5 MB, free: 7.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.3335, allocations: 152.9 kB / 446.7 MB, free: 7.812 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.3338, allocations: 196.4 kB / 446.9 MB, free: 7.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.214e-05/0.3339, allocations: 37.7 kB / 446.9 MB, free: 7.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.334, allocations: 141.8 kB / 447 MB, free: 7.426 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000215/0.3342, allocations: 198.3 kB / 447.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002858/0.3345, allocations: 118.5 kB / 447.3 MB, free: 7.109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.3347, allocations: 346.8 kB / 447.7 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001507/0.3362, allocations: 0.6149 MB / 448.3 MB, free: 6.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001661/0.3379, allocations: 0.7925 MB / 449.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002877/0.3408, allocations: 1.251 MB / 450.3 MB, free: 3.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.3408, allocations: 3.938 kB / 450.3 MB, free: 3.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00353/0.3443, allocations: 1.394 MB / 451.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.3443, allocations: 8.438 kB / 451.7 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.3443, allocations: 8 kB / 451.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.357e-05/0.3444, allocations: 12 kB / 451.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.3457, allocations: 207.6 kB / 452 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.019e-05/0.3457, allocations: 11.98 kB / 452 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008962/0.3466, allocations: 107.7 kB / 452.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.843e-05/0.3467, allocations: 28 kB / 452.1 MB, free: 2.168 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.0003745/0.3471, allocations: 181.5 kB / 452.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003534/0.3474, allocations: 149.4 kB / 452.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001774/0.3476, allocations: 67.3 kB / 452.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.3476, allocations: 8 kB / 452.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.3476, allocations: 3.938 kB / 452.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.3476, allocations: 3.984 kB / 452.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004797/0.3524, allocations: 2.144 MB / 454.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/0.3524, allocations: 8 kB / 454.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007385/0.3532, allocations: 179.7 kB / 454.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.726e-05/0.3532, allocations: 16.23 kB / 454.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.624e-05/0.3533, allocations: 28 kB / 454.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.871e-05/0.3533, allocations: 19.92 kB / 454.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.298e-05/0.3533, allocations: 16.16 kB / 454.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003155/0.3565, allocations: 1.561 MB / 456.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/0.3566, allocations: 91.64 kB / 456.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.633e-05/0.3567, allocations: 27.98 kB / 456.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005396/0.3573, allocations: 79.98 kB / 456.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000208/0.3575, allocations: 99.64 kB / 456.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.966e-05/0.3575, allocations: 35.94 kB / 456.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001466/0.3577, allocations: 143.5 kB / 457 MB, free: 12.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3577, allocations: 0 / 457 MB, free: 12.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006844/0.3584, allocations: 120 kB / 457.1 MB, free: 12.87 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.003449/0.3618, allocations: 2.121 MB / 459.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002734/0.3645, allocations: 1.023 MB / 460.2 MB, free: 9.559 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/0.3646, allocations: 12.06 kB / 460.2 MB, free: 9.547 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009249/0.3655, allocations: 329.8 kB / 460.5 MB, free: 9.227 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009743/0.3665, allocations: 141.9 kB / 460.7 MB, free: 9.094 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/0.3803, allocations: 6.777 MB / 467.5 MB, free: 1.828 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006348/0.3809, allocations: 0.8128 MB / 468.3 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005298/0.3814, allocations: 95.3 kB / 468.4 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003867/0.3818, allocations: 111.4 kB / 468.5 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of SimCode: time 1.303e-06/0.3818, allocations: 4 kB / 468.5 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04371/0.4255, allocations: 11.87 MB / 480.3 MB, free: 5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.389/8.814, allocations: 9.906 kB / 480.4 MB, free: 4.996 MB / 382.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000499563 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: 11.288988708052784] Failed to read output from testmodel.py, exit status != 0: ['time', 'load.phi', 'load.w', 'PI.x', 'PI.y'] 8.890265333931893 8.914510278 8.62127392 Calling exit ...