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.001461/0.001461, allocations: 106.5 kB / 19.74 MB, free: 2.453 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.001634/0.001634, allocations: 219.1 kB / 22.92 MB, free: 5.195 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.319/1.319, allocations: 230.5 MB / 256.4 MB, free: 8.27 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.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.001803/0.001803, allocations: 71.81 kB / 376.1 MB, free: 4.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2284, allocations: 53.32 MB / 429.4 MB, free: 7.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003196/0.2316, allocations: 2.094 MB / 431.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009847/0.2326, allocations: 0.5454 MB / 432 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.2327, allocations: 4 kB / 432 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.2328, allocations: 15.8 kB / 432 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.805e-05/0.2329, allocations: 31.73 kB / 432.1 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.2332, allocations: 59.86 kB / 432.1 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.2334, allocations: 127.5 kB / 432.2 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.2335, allocations: 41.8 kB / 432.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.099e-05/0.2336, allocations: 51.72 kB / 432.3 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.696e-05/0.2337, allocations: 59.7 kB / 432.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.995e-05/0.2337, allocations: 12 kB / 432.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.071e-05/0.2338, allocations: 8 kB / 432.4 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.158e-05/0.2338, allocations: 23.92 kB / 432.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.969e-05/0.2339, allocations: 67.66 kB / 432.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.234, allocations: 131.8 kB / 432.6 MB, free: 4.188 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.2341, allocations: 0 / 432.6 MB, free: 4.188 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2341, allocations: 0 / 432.6 MB, free: 4.188 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.2341, allocations: 4 kB / 432.6 MB, free: 4.184 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.0006034/0.2347, allocations: 434.8 kB / 433.1 MB, free: 3.711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.2347, allocations: 8.031 kB / 433.1 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.561e-05/0.2347, allocations: 46.73 kB / 433.1 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.2348, allocations: 16.84 kB / 433.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.2351, allocations: 223 kB / 433.4 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.2351, allocations: 8.375 kB / 433.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/0.2351, allocations: 12.38 kB / 433.4 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004665/0.2356, allocations: 238.7 kB / 433.6 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.2356, allocations: 0 / 433.6 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.2356, allocations: 8 kB / 433.6 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2356, allocations: 0 / 433.6 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002406/0.2358, allocations: 87.88 kB / 433.7 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000656/0.2365, allocations: 0.5921 MB / 434.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.2368, allocations: 155.9 kB / 434.4 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.237, allocations: 66.62 kB / 434.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.237, allocations: 4 kB / 434.5 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.237, allocations: 38.5 kB / 434.6 MB, free: 2.039 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.203e-06/0.237, allocations: 4 kB / 434.6 MB, free: 2.035 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004756/0.2375, allocations: 177.6 kB / 434.7 MB, free: 1.855 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.244e-05/0.2376, allocations: 114.9 kB / 434.8 MB, free: 1.719 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.2377, allocations: 141.2 kB / 435 MB, free: 1.574 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.2377, allocations: 29.7 kB / 435 MB, free: 1.539 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.417e-05/0.2378, allocations: 124.1 kB / 435.1 MB, free: 1.414 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.2378, allocations: 31.77 kB / 435.2 MB, free: 1.383 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-05/0.2378, allocations: 33.72 kB / 435.2 MB, free: 1.344 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.238, allocations: 326.8 kB / 435.5 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.2381, allocations: 39.91 kB / 435.6 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.2383, allocations: 137.6 kB / 435.7 MB, free: 0.793 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.0004128/0.2387, allocations: 274.7 kB / 436 MB, free: 468 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.2387, allocations: 11.94 kB / 436 MB, free: 456 kB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003556/0.239, allocations: 193.6 kB / 436.2 MB, free: 256 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.2391, allocations: 4 kB / 436.2 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2391, allocations: 8 kB / 436.2 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.2391, allocations: 11.98 kB / 436.2 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.2392, allocations: 43.92 kB / 436.2 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.2392, allocations: 4 kB / 436.2 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.2393, allocations: 23.88 kB / 436.2 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.2393, allocations: 12 kB / 436.3 MB, free: 148 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.0001065/0.2395, allocations: 129.7 kB / 436.4 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.2396, allocations: 93.56 kB / 436.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.238e-05/0.2397, allocations: 16.72 kB / 436.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.2397, allocations: 4 kB / 436.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.2397, allocations: 0 / 436.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2397, allocations: 0 / 436.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.2399, allocations: 221.4 kB / 436.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2399, allocations: 0 / 436.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.2401, allocations: 39.97 kB / 436.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2401, allocations: 0 / 436.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.2402, allocations: 8 kB / 436.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2402, allocations: 4 kB / 436.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.2402, allocations: 7.922 kB / 436.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005143/0.2407, allocations: 383.4 kB / 437.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.778e-05/0.2407, allocations: 85.16 kB / 437.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.2408, allocations: 8.328 kB / 437.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.2409, allocations: 15.92 kB / 437.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.2409, allocations: 8 kB / 437.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.2409, allocations: 7.984 kB / 437.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.741e-05/0.241, allocations: 103.2 kB / 437.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.241, allocations: 0 / 437.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003001/0.2413, allocations: 31.95 kB / 437.4 MB, free: 14.89 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.0007737/0.2421, allocations: 0.9222 MB / 438.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003214/0.2424, allocations: 119.8 kB / 438.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2424, allocations: 3.938 kB / 438.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.501e-05/0.2425, allocations: 27.92 kB / 438.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.243, allocations: 64.89 kB / 438.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.2454, allocations: 2.093 MB / 440.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.2457, allocations: 0.7162 MB / 441.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.479e-05/0.2458, allocations: 13.08 kB / 441.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.128e-05/0.2458, allocations: 39.42 kB / 441.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2458, allocations: 0 / 441.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02599/0.2718, allocations: 2.982 MB / 444.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.077/7.349, allocations: 10.86 kB / 444.4 MB, free: 7.809 MB / 350.1 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWithDiscretizedContinuousController_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 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: 9.492363926998223]