Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.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.001315/0.001315, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001553/0.001553, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.484/1.484, allocations: 230.6 MB / 258.3 MB, free: 8.066 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.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWithDiscretizedContinuousController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWithDiscretizedContinuousController",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.002001/0.002001, allocations: 65 kB / 378.5 MB, free: 3.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3455, allocations: 53.37 MB / 431.9 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003931/0.3495, allocations: 2.105 MB / 434 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.3506, allocations: 0.5375 MB / 434.5 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.3507, allocations: 11.94 kB / 434.6 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.3509, allocations: 15.8 kB / 434.6 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.072e-05/0.351, allocations: 31.72 kB / 434.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.3513, allocations: 55.88 kB / 434.7 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.3515, allocations: 131.5 kB / 434.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.3517, allocations: 41.98 kB / 434.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.3518, allocations: 51.8 kB / 434.9 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.3519, allocations: 55.69 kB / 434.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.319e-05/0.3519, allocations: 12 kB / 434.9 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.38e-05/0.3519, allocations: 19.94 kB / 435 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.603e-05/0.352, allocations: 27.92 kB / 435 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.058e-05/0.352, allocations: 55.67 kB / 435 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002413/0.3523, allocations: 132.6 kB / 435.2 MB, free: 3.777 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.3523, allocations: 0 / 435.2 MB, free: 3.777 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3523, allocations: 0 / 435.2 MB, free: 3.777 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.3523, allocations: 0 / 435.2 MB, free: 3.777 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006467/0.3529, allocations: 357.7 kB / 435.5 MB, free: 3.398 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.353, allocations: 19.97 kB / 435.5 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.235e-05/0.353, allocations: 46.69 kB / 435.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.3531, allocations: 12.84 kB / 435.6 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.3534, allocations: 146.3 kB / 435.7 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.3534, allocations: 8.375 kB / 435.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.3535, allocations: 16.38 kB / 435.8 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005129/0.354, allocations: 239.4 kB / 436 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.354, allocations: 4 kB / 436 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.354, allocations: 7.938 kB / 436 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.354, allocations: 4 kB / 436 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002474/0.3543, allocations: 79.94 kB / 436.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007277/0.355, allocations: 0.5427 MB / 436.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003724/0.3554, allocations: 139.9 kB / 436.8 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.3555, allocations: 74.56 kB / 436.8 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.3555, allocations: 0 / 436.8 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.3556, allocations: 42.56 kB / 436.9 MB, free: 1.871 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 8.62e-07/0.3556, allocations: 0 / 436.9 MB, free: 1.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005408/0.3561, allocations: 181.3 kB / 437.1 MB, free: 1.688 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.464e-05/0.3562, allocations: 114.9 kB / 437.2 MB, free: 1.551 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.3563, allocations: 138.2 kB / 437.3 MB, free: 1.406 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.3564, allocations: 29.7 kB / 437.3 MB, free: 1.371 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.86e-05/0.3565, allocations: 120 kB / 437.5 MB, free: 1.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.3565, allocations: 27.78 kB / 437.5 MB, free: 1.223 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-05/0.3565, allocations: 33.72 kB / 437.5 MB, free: 1.184 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3567, allocations: 322.8 kB / 437.8 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.3568, allocations: 35.97 kB / 437.9 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.357, allocations: 146.3 kB / 438 MB, free: 0.6328 MB / 334.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: PI.y = PI.y_start (0.0 = PI.y_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.000433/0.3574, allocations: 213.7 kB / 438.2 MB, free: 384 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3574, allocations: 3.938 kB / 438.2 MB, free: 380 kB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003874/0.3578, allocations: 193.4 kB / 438.4 MB, free: 180 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.3578, allocations: 8 kB / 438.4 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.3578, allocations: 4 kB / 438.4 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.3578, allocations: 7.984 kB / 438.4 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.358, allocations: 39.92 kB / 438.5 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.358, allocations: 8 kB / 438.5 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.3581, allocations: 23.88 kB / 438.5 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.3581, allocations: 8.281 kB / 438.5 MB, free: 80 kB / 334.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: PI.y = PI.y_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001779/0.3583, allocations: 138.8 kB / 438.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.3585, allocations: 93.56 kB / 438.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.986e-05/0.3586, allocations: 12.72 kB / 438.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3586, allocations: 4 kB / 438.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3586, allocations: 0 / 438.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.3586, allocations: 4 kB / 438.8 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.3589, allocations: 185 kB / 438.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.3589, allocations: 3.984 kB / 438.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.3591, allocations: 51.91 kB / 439 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.3591, allocations: 4 kB / 439 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.3591, allocations: 0 / 439 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.3591, allocations: 7.938 kB / 439 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3591, allocations: 0 / 439 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006477/0.3598, allocations: 387.4 kB / 439.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.137e-05/0.3598, allocations: 7.984 kB / 439.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.3598, allocations: 11.94 kB / 439.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.36, allocations: 7.984 kB / 439.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.807e-05/0.36, allocations: 8 kB / 439.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.36, allocations: 7.984 kB / 439.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.3601, allocations: 105.5 kB / 439.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3601, allocations: 4.062 kB / 439.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003355/0.3605, allocations: 27.95 kB / 439.6 MB, free: 14.95 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.phi,load.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.000886/0.3613, allocations: 0.9182 MB / 440.5 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003868/0.3617, allocations: 119.8 kB / 440.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3617, allocations: 0.9375 kB / 440.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.833e-05/0.3618, allocations: 31.92 kB / 440.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005375/0.3624, allocations: 59.92 kB / 440.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/0.3651, allocations: 2.104 MB / 442.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.3655, allocations: 0.7201 MB / 443.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.52e-05/0.3655, allocations: 9.078 kB / 443.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.077e-05/0.3656, allocations: 39.7 kB / 443.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3656, allocations: 0 / 443.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03016/0.3958, allocations: 3.102 MB / 446.7 MB, free: 7.762 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.35/8.746, allocations: 4.062 kB / 446.7 MB, free: 7.758 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000989903 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWithDiscretizedContinuousController.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.2661761357449] Failed to read output from testmodel.py, exit status != 0: ['time', 'load.phi', 'load.w', 'PI.x', 'PI.y'] 8.815313415136188 8.8307458 8.475301187 Calling exit ...