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.001841/0.001841, allocations: 120.2 kB / 18.5 MB, free: 4.578 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.002385/0.002385, allocations: 205 kB / 21.45 MB, free: 1.629 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.511/1.511, allocations: 230.5 MB / 254.8 MB, free: 15.1 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.001986/0.001986, allocations: 67.84 kB / 373.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1285, allocations: 53.32 MB / 427 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003623/0.1321, allocations: 2.072 MB / 429.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.1331, allocations: 0.5414 MB / 429.6 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.39e-05/0.1332, allocations: 4 kB / 429.6 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.1334, allocations: 27.73 kB / 429.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.476e-05/0.1334, allocations: 27.72 kB / 429.7 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.1337, allocations: 55.88 kB / 429.7 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.1339, allocations: 131.5 kB / 429.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.1341, allocations: 37.8 kB / 429.9 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.946e-05/0.1342, allocations: 55.8 kB / 429.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.37e-05/0.1343, allocations: 47.77 kB / 430 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.915e-05/0.1343, allocations: 12 kB / 430 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.841e-05/0.1343, allocations: 8 kB / 430 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.235e-05/0.1343, allocations: 35.84 kB / 430 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.678e-05/0.1344, allocations: 63.67 kB / 430.1 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.1346, allocations: 127.3 kB / 430.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.1346, allocations: 4 kB / 430.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1346, allocations: 0 / 430.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1346, allocations: 0 / 430.2 MB, free: 1.555 MB / 350.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.0006561/0.1353, allocations: 430.9 kB / 430.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.1353, allocations: 8.031 kB / 430.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.536e-05/0.1354, allocations: 50.73 kB / 430.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.1354, allocations: 20.84 kB / 430.7 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.1357, allocations: 216.1 kB / 430.9 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.1357, allocations: 12.36 kB / 430.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.513e-05/0.1357, allocations: 12.38 kB / 431 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000503/0.1362, allocations: 242.6 kB / 431.2 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1363, allocations: 0 / 431.2 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.1363, allocations: 8 kB / 431.2 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.1363, allocations: 4 kB / 431.2 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002601/0.1365, allocations: 86.12 kB / 431.3 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007395/0.1373, allocations: 0.596 MB / 431.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003593/0.1376, allocations: 140 kB / 432 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.1378, allocations: 74.52 kB / 432.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.1378, allocations: 4 kB / 432.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.1379, allocations: 42.5 kB / 432.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.1379, allocations: 0 / 432.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005655/0.1384, allocations: 185.3 kB / 432.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.735e-05/0.1385, allocations: 110.8 kB / 432.4 MB, free: 15.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.1387, allocations: 136.3 kB / 432.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.1387, allocations: 37.7 kB / 432.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.738e-05/0.1388, allocations: 116 kB / 432.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.1388, allocations: 27.78 kB / 432.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.533e-05/0.1388, allocations: 33.72 kB / 432.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.139, allocations: 326.8 kB / 433.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.1391, allocations: 35.97 kB / 433.1 MB, free: 14.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.1393, allocations: 140.1 kB / 433.3 MB, free: 14.17 MB / 366.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.0005036/0.1398, allocations: 282.7 kB / 433.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.1399, allocations: 3.938 kB / 433.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004227/0.1403, allocations: 197.5 kB / 433.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.1403, allocations: 11.98 kB / 433.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1403, allocations: 0 / 433.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.1403, allocations: 8 kB / 433.8 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.1405, allocations: 43.92 kB / 433.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.1405, allocations: 11.98 kB / 433.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.1406, allocations: 15.89 kB / 433.8 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.1406, allocations: 12 kB / 433.8 MB, free: 13.52 MB / 366.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.0001358/0.1408, allocations: 137.8 kB / 434 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/0.1409, allocations: 93.75 kB / 434.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.288e-05/0.141, allocations: 12.72 kB / 434.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.141, allocations: 7.984 kB / 434.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.141, allocations: 0 / 434.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.141, allocations: 0 / 434.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.1413, allocations: 221.4 kB / 434.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1413, allocations: 0 / 434.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/0.1415, allocations: 44.44 kB / 434.3 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1415, allocations: 8 kB / 434.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.1416, allocations: 4 kB / 434.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1416, allocations: 0 / 434.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.1416, allocations: 7.938 kB / 434.4 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006248/0.1422, allocations: 387.3 kB / 434.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.735e-05/0.1423, allocations: 85.09 kB / 434.8 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.1423, allocations: 4 kB / 434.8 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.1424, allocations: 11.98 kB / 434.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.1425, allocations: 4 kB / 434.8 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.1425, allocations: 7.984 kB / 434.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.472e-05/0.1425, allocations: 102 kB / 434.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1425, allocations: 0 / 434.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003264/0.1429, allocations: 35.89 kB / 435 MB, free: 12.26 MB / 366.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.001009/0.1439, allocations: 0.9194 MB / 435.9 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003806/0.1443, allocations: 122 kB / 436 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1443, allocations: 0 / 436 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.1444, allocations: 28.86 kB / 436.1 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005758/0.1449, allocations: 76.73 kB / 436.1 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/0.1477, allocations: 2.089 MB / 438.2 MB, free: 8.828 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.1481, allocations: 0.7162 MB / 438.9 MB, free: 8.086 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.709e-05/0.1482, allocations: 9.094 kB / 438.9 MB, free: 8.078 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.768e-05/0.1482, allocations: 39.42 kB / 439 MB, free: 8.039 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1482, allocations: 0 / 439 MB, free: 8.039 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/0.1775, allocations: 3.031 MB / 442 MB, free: 5.211 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.541/8.718, allocations: 4.062 kB / 442 MB, free: 5.207 MB / 366.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.582026767078787] Failed to read output from testmodel.py, exit status != 0: ['time', 'load.phi', 'load.w', 'PI.x', 'PI.y'] 8.788222737144679 9.012736647 8.875949267 Calling exit ...