Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.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.001652/0.001652, 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.001814/0.001814, 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.488/1.488, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.ClockedWith_AD_DA_Effects,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects",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.001993/0.001993, allocations: 65 kB / 378.5 MB, free: 3.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2959, allocations: 53.37 MB / 431.9 MB, free: 7.023 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004943/0.3008, allocations: 2.733 MB / 434.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.3028, allocations: 0.9582 MB / 435.6 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002289/0.3031, allocations: 15.88 kB / 435.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002486/0.3033, allocations: 55.39 kB / 435.7 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.3036, allocations: 71.44 kB / 435.7 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007514/0.3044, allocations: 242 kB / 436 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004642/0.3048, allocations: 382.9 kB / 436.3 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002974/0.3051, allocations: 137.4 kB / 436.5 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001988/0.3053, allocations: 143.4 kB / 436.6 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.3055, allocations: 151.2 kB / 436.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.687e-05/0.3056, allocations: 35.98 kB / 436.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.3057, allocations: 67.97 kB / 436.9 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.3058, allocations: 79.75 kB / 436.9 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.306, allocations: 167 kB / 437.1 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005363/0.3065, allocations: 419 kB / 437.5 MB, free: 1.395 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3065, allocations: 0 / 437.5 MB, free: 1.395 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3065, allocations: 0 / 437.5 MB, free: 1.395 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.3065, allocations: 7.938 kB / 437.5 MB, free: 1.387 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001124/0.3077, allocations: 0.5714 MB / 438.1 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.3077, allocations: 8.031 kB / 438.1 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.082e-05/0.3078, allocations: 74.66 kB / 438.2 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.084e-05/0.3079, allocations: 40.7 kB / 438.2 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005329/0.3084, allocations: 270 kB / 438.5 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.3085, allocations: 20.97 kB / 438.5 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.218e-05/0.3085, allocations: 32.12 kB / 438.5 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.31, allocations: 0.737 MB / 439.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.31, allocations: 0 / 439.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.31, allocations: 16 kB / 439.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.31, allocations: 8 kB / 439.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005498/0.3106, allocations: 211.8 kB / 439.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009428/0.3115, allocations: 0.7266 MB / 440.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.3125, allocations: 456 kB / 440.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000463/0.313, allocations: 252.4 kB / 440.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004288/0.3134, allocations: 67.72 kB / 441 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.567e-05/0.3135, allocations: 46.5 kB / 441 MB, free: 13.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 1.663e-06/0.3135, allocations: 0 / 441 MB, free: 13.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.001235/0.3147, allocations: 0.5171 MB / 441.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001581/0.3149, allocations: 219.9 kB / 441.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.3152, allocations: 249.9 kB / 442 MB, free: 12.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/0.3152, allocations: 37.7 kB / 442 MB, free: 12.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.3153, allocations: 148.9 kB / 442.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.35e-05/0.3154, allocations: 55.7 kB / 442.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.3155, allocations: 78.2 kB / 442.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.3157, allocations: 346.8 kB / 442.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.3159, allocations: 88.94 kB / 442.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005112/0.3164, allocations: 434.1 kB / 443.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007179/0.3171, allocations: 0.5281 MB / 443.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.3171, allocations: 4 kB / 443.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008133/0.3179, allocations: 0.4935 MB / 444.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.3179, allocations: 8 kB / 444.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.3179, allocations: 12 kB / 444.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.058e-05/0.318, allocations: 16 kB / 444.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.3183, allocations: 119.8 kB / 444.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.379e-05/0.3183, allocations: 23.88 kB / 444.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/0.3186, allocations: 52.09 kB / 444.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-05/0.3186, allocations: 36 kB / 444.5 MB, free: 9.816 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 4 (PI.x,sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.0002269/0.3188, allocations: 193.5 kB / 444.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006365/0.3195, allocations: 350 kB / 445 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006897/0.3202, allocations: 356.7 kB / 445.3 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.3202, allocations: 8 kB / 445.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3202, allocations: 0 / 445.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.3202, allocations: 7.984 kB / 445.3 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004112/0.3206, allocations: 312.2 kB / 445.7 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.3206, allocations: 0 / 445.7 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004015/0.321, allocations: 103.9 kB / 445.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.321, allocations: 4 kB / 445.8 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.321, allocations: 12 kB / 445.8 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.353e-06/0.321, allocations: 11.98 kB / 445.8 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.321, allocations: 0 / 445.8 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.3223, allocations: 0.7786 MB / 446.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.339e-05/0.3224, allocations: 39.72 kB / 446.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.084e-05/0.3224, allocations: 16 kB / 446.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.3227, allocations: 23.98 kB / 446.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.3227, allocations: 7.984 kB / 446.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/0.3227, allocations: 16.16 kB / 446.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001844/0.3229, allocations: 185.2 kB / 446.8 MB, free: 7.336 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3229, allocations: 0 / 446.8 MB, free: 7.336 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005153/0.3234, allocations: 79.89 kB / 446.9 MB, free: 7.258 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (load.phi,load.w) * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 4 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3],PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001681/0.3251, allocations: 1.343 MB / 448.3 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007433/0.3259, allocations: 353.5 kB / 448.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3259, allocations: 0 / 448.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.88e-05/0.326, allocations: 35.91 kB / 448.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.327, allocations: 294.9 kB / 448.9 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004902/0.3319, allocations: 3.834 MB / 452.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.3323, allocations: 0.8159 MB / 453.6 MB, free: 112 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001252/0.3325, allocations: 35.28 kB / 453.6 MB, free: 72 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.3327, allocations: 111.5 kB / 453.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3327, allocations: 4 kB / 453.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03543/0.3681, allocations: 8.44 MB / 462.2 MB, free: 7.672 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.743/9.111, allocations: 7.25 kB / 462.2 MB, free: 7.668 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009802 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.783563510980457] Failed to read output from testmodel.py, exit status != 0: ['time', 'load.phi', 'load.w', 'PI.x', 'PI.y'] 9.18500848300755 9.201007169 8.89119648 Calling exit ...