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.001454/0.001454, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001499/0.001499, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.556/1.556, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.001977/0.001977, allocations: 68.77 kB / 378.5 MB, free: 3.207 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.28, allocations: 53.38 MB / 431.9 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.005358/0.2854, allocations: 2.727 MB / 434.6 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.2874, allocations: 0.966 MB / 435.6 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002533/0.2877, allocations: 7.938 kB / 435.6 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.288, allocations: 63.31 kB / 435.7 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.2882, allocations: 71.45 kB / 435.7 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007675/0.289, allocations: 239.5 kB / 436 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005326/0.2895, allocations: 378.9 kB / 436.3 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000345/0.2899, allocations: 141.4 kB / 436.5 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002136/0.2901, allocations: 139.4 kB / 436.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/0.2903, allocations: 155.2 kB / 436.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.237e-05/0.2904, allocations: 32 kB / 436.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.2905, allocations: 67.97 kB / 436.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.2906, allocations: 87.67 kB / 437 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.2908, allocations: 159.1 kB / 437.1 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006196/0.2915, allocations: 426.9 kB / 437.5 MB, free: 1.293 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2915, allocations: 0 / 437.5 MB, free: 1.293 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2915, allocations: 0 / 437.5 MB, free: 1.293 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.2915, allocations: 0 / 437.5 MB, free: 1.293 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.001101/0.2926, allocations: 0.5753 MB / 438.1 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.2926, allocations: 8.031 kB / 438.1 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.121e-05/0.2927, allocations: 66.73 kB / 438.2 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.746e-05/0.2928, allocations: 40.7 kB / 438.2 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005151/0.2933, allocations: 277.9 kB / 438.5 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.2933, allocations: 21.03 kB / 438.5 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.21e-05/0.2934, allocations: 32.11 kB / 438.5 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.2948, allocations: 0.737 MB / 439.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.2948, allocations: 7.984 kB / 439.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.2949, allocations: 8 kB / 439.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.2949, allocations: 8 kB / 439.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005846/0.2955, allocations: 215.8 kB / 439.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009458/0.2964, allocations: 0.7188 MB / 440.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.2975, allocations: 464 kB / 440.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004842/0.298, allocations: 252.4 kB / 440.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004515/0.2984, allocations: 75.7 kB / 441 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.2985, allocations: 38.56 kB / 441 MB, free: 13.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 1.994e-06/0.2985, allocations: 4 kB / 441 MB, free: 13.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.001283/0.2998, allocations: 0.5166 MB / 441.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001719/0.2999, allocations: 216.1 kB / 441.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.3002, allocations: 245.9 kB / 442 MB, free: 12.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/0.3003, allocations: 37.7 kB / 442 MB, free: 12.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.3004, allocations: 148.9 kB / 442.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.914e-05/0.3004, allocations: 55.7 kB / 442.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.3005, allocations: 82.19 kB / 442.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3007, allocations: 346.8 kB / 442.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.3009, allocations: 88.89 kB / 442.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004646/0.3014, allocations: 430.1 kB / 443.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006651/0.302, allocations: 0.5281 MB / 443.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.302, allocations: 7.938 kB / 443.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008461/0.3029, allocations: 497.5 kB / 444.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.3029, allocations: 16.25 kB / 444.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.3029, allocations: 8 kB / 444.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.12e-05/0.303, allocations: 19.98 kB / 444.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/0.3033, allocations: 119.8 kB / 444.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.584e-05/0.3033, allocations: 23.92 kB / 444.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002781/0.3036, allocations: 51.72 kB / 444.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/0.3036, allocations: 32 kB / 444.5 MB, free: 9.719 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.0002342/0.3039, allocations: 193.5 kB / 444.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006816/0.3046, allocations: 350.5 kB / 445 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000736/0.3053, allocations: 352.8 kB / 445.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.3053, allocations: 11.97 kB / 445.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.3053, allocations: 0 / 445.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.3053, allocations: 8 kB / 445.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004346/0.3058, allocations: 312.2 kB / 445.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.3058, allocations: 4 kB / 445.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004073/0.3062, allocations: 103.8 kB / 445.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.748e-06/0.3062, allocations: 0 / 445.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/0.3062, allocations: 12 kB / 445.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.3062, allocations: 4 kB / 445.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.3062, allocations: 3.984 kB / 445.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.3076, allocations: 0.7787 MB / 446.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-05/0.3076, allocations: 39.69 kB / 446.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.763e-05/0.3077, allocations: 16 kB / 446.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.3079, allocations: 27.97 kB / 446.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.308, allocations: 7.938 kB / 446.6 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.308, allocations: 15.98 kB / 446.7 MB, free: 7.418 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002069/0.3082, allocations: 185.2 kB / 446.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3082, allocations: 0 / 446.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005405/0.3088, allocations: 79.95 kB / 446.9 MB, free: 7.16 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.001744/0.3105, allocations: 1.343 MB / 448.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008379/0.3114, allocations: 353.6 kB / 448.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3114, allocations: 0 / 448.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.523e-05/0.3115, allocations: 28.05 kB / 448.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.3125, allocations: 298.7 kB / 448.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005296/0.3178, allocations: 3.826 MB / 452.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005654/0.3184, allocations: 0.8159 MB / 453.6 MB, free: 24 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001725/0.3186, allocations: 39.27 kB / 453.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.3188, allocations: 115.4 kB / 453.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of SimCode: time 9.21e-07/0.3188, allocations: 0 / 453.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04025/0.359, allocations: 8.446 MB / 462.2 MB, free: 7.578 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.078/9.437, allocations: 7.188 kB / 462.2 MB, free: 7.574 MB / 366.1 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_fmu --startTime=0 --stopTime=5 --stepSize=0.0009802 --timeout=50 --tolerance=1e-06 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.98571711499244] Failed to read output from testmodel.py, exit status != 0: ['time', 'load.phi', 'load.w', 'PI.x', 'PI.y'] 9.514979764353484 9.531616791 9.236653755 Calling exit ...