Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.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.001388/0.001388, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001668/0.001668, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.495/1.495, allocations: 230.6 MB / 258.3 MB, free: 8.062 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.Continuous,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",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: 72.77 kB / 378.5 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3398, allocations: 53.37 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003923/0.3438, allocations: 1.903 MB / 433.8 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009961/0.3447, allocations: 0.4948 MB / 434.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.3449, allocations: 0 / 434.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.345, allocations: 19.8 kB / 434.3 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.75e-05/0.3451, allocations: 19.73 kB / 434.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.3452, allocations: 35.97 kB / 434.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.3454, allocations: 103.6 kB / 434.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.3456, allocations: 37.52 kB / 434.5 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.196e-05/0.3457, allocations: 35.91 kB / 434.5 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.806e-05/0.3458, allocations: 47.72 kB / 434.6 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.3458, allocations: 8 kB / 434.6 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.932e-05/0.3458, allocations: 8 kB / 434.6 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.883e-05/0.3458, allocations: 27.91 kB / 434.6 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.805e-05/0.3459, allocations: 39.75 kB / 434.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.3461, allocations: 100.4 kB / 434.8 MB, free: 4.012 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3461, allocations: 4 kB / 434.8 MB, free: 4.008 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3461, allocations: 0 / 434.8 MB, free: 4.008 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.3461, allocations: 4 kB / 434.8 MB, free: 4.004 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006067/0.3467, allocations: 334 kB / 435.1 MB, free: 3.648 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.3467, allocations: 8.031 kB / 435.1 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.412e-05/0.3468, allocations: 46.73 kB / 435.2 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.3468, allocations: 8.891 kB / 435.2 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.3471, allocations: 134.4 kB / 435.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.3471, allocations: 8.562 kB / 435.3 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/0.3472, allocations: 20.11 kB / 435.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.3475, allocations: 124.6 kB / 435.4 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.3475, allocations: 3.938 kB / 435.4 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.3475, allocations: 0 / 435.4 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.3475, allocations: 4 kB / 435.5 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002264/0.3477, allocations: 67.94 kB / 435.5 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007104/0.3484, allocations: 478.7 kB / 436 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.3486, allocations: 82.47 kB / 436.1 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.3488, allocations: 36.84 kB / 436.1 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.3488, allocations: 3.984 kB / 436.1 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.3488, allocations: 34.56 kB / 436.1 MB, free: 2.492 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.3488, allocations: 0 / 436.1 MB, free: 2.492 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.000409/0.3492, allocations: 121.9 kB / 436.3 MB, free: 2.367 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.3493, allocations: 51.41 kB / 436.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.3494, allocations: 133.8 kB / 436.4 MB, free: 2.164 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.3494, allocations: 29.64 kB / 436.5 MB, free: 2.129 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.02e-05/0.3495, allocations: 112 kB / 436.6 MB, free: 2.016 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.3495, allocations: 31.73 kB / 436.6 MB, free: 1.984 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.516e-05/0.3496, allocations: 21.72 kB / 436.6 MB, free: 1.957 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3497, allocations: 326.8 kB / 436.9 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.3498, allocations: 31.97 kB / 437 MB, free: 1.598 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.3499, allocations: 72.27 kB / 437.1 MB, free: 1.512 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002204/0.3502, allocations: 100.2 kB / 437.1 MB, free: 1.398 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.3502, allocations: 3.984 kB / 437.2 MB, free: 1.395 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002917/0.3505, allocations: 129.4 kB / 437.3 MB, free: 1.262 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3505, allocations: 8 kB / 437.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3505, allocations: 0 / 437.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.3505, allocations: 4 kB / 437.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.3507, allocations: 44.03 kB / 437.3 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3507, allocations: 0 / 437.3 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.825e-05/0.3508, allocations: 15.94 kB / 437.3 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.3508, allocations: 4 kB / 437.4 MB, free: 1.188 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001443/0.3509, allocations: 125.7 kB / 437.5 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.351, allocations: 7.953 kB / 437.5 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.675e-05/0.351, allocations: 12.31 kB / 437.5 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.351, allocations: 0 / 437.5 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.351, allocations: 8 kB / 437.5 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.351, allocations: 3.984 kB / 437.5 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.3513, allocations: 172.6 kB / 437.7 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3513, allocations: 0 / 437.7 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.3514, allocations: 19.98 kB / 437.7 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3514, allocations: 0 / 437.7 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.3514, allocations: 4 kB / 437.7 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3514, allocations: 3.938 kB / 437.7 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3514, allocations: 4 kB / 437.7 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004712/0.3519, allocations: 243.3 kB / 437.9 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.93e-05/0.3519, allocations: 7.891 kB / 438 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.352, allocations: 4 kB / 438 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.693e-05/0.352, allocations: 4 kB / 438 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.3521, allocations: 8.031 kB / 438 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.3521, allocations: 4 kB / 438 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.139e-05/0.3522, allocations: 97.8 kB / 438.1 MB, free: 412 kB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3522, allocations: 0 / 438.1 MB, free: 412 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.3524, allocations: 27.94 kB / 438.1 MB, free: 384 kB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (load.phi,load.w,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0007984/0.3532, allocations: 0.7713 MB / 438.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002933/0.3535, allocations: 79.91 kB / 438.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3535, allocations: 0 / 438.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.3536, allocations: 31.97 kB / 439 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.354, allocations: 19.98 kB / 439 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/0.3565, allocations: 1.743 MB / 440.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.3569, allocations: 0.7002 MB / 441.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.242e-05/0.357, allocations: 12.42 kB / 441.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.477e-05/0.357, allocations: 31.42 kB / 441.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of SimCode: time 8.92e-07/0.357, allocations: 0 / 441.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03047/0.3875, allocations: 2.427 MB / 443.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.435/8.822, allocations: 7.516 kB / 443.9 MB, free: 10.5 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.422802854795009] Failed to read output from testmodel.py, exit status != 0: ['time', 'load.phi', 'load.w', 'PI.x', 'PI.y'] 8.89541433705017 8.922518937 8.571300177 Calling exit ...