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.001821/0.001821, allocations: 112.3 kB / 20.22 MB, free: 1.793 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.001986/0.001986, allocations: 215.5 kB / 23.48 MB, free: 5.223 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.473/1.473, allocations: 230.4 MB / 257 MB, free: 8.254 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.002127/0.002127, allocations: 64.08 kB / 377 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3237, allocations: 53.32 MB / 430.4 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004662/0.3284, allocations: 2.728 MB / 433.1 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.3303, allocations: 0.9544 MB / 434 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002622/0.3306, allocations: 11.94 kB / 434.1 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002347/0.3308, allocations: 67.25 kB / 434.1 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000289/0.3311, allocations: 71.44 kB / 434.2 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007818/0.3319, allocations: 238.1 kB / 434.4 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005312/0.3324, allocations: 378.9 kB / 434.8 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003524/0.3328, allocations: 132.8 kB / 434.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.333, allocations: 147.3 kB / 435.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.3332, allocations: 143.3 kB / 435.2 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.328e-05/0.3333, allocations: 35.98 kB / 435.2 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.3334, allocations: 67.95 kB / 435.3 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.3336, allocations: 75.7 kB / 435.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.3337, allocations: 171 kB / 435.6 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006003/0.3343, allocations: 426.5 kB / 436 MB, free: 1.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.3343, allocations: 4 kB / 436 MB, free: 1.727 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.3344, allocations: 0 / 436 MB, free: 1.727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.3344, allocations: 0 / 436 MB, free: 1.727 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.001218/0.3356, allocations: 0.6427 MB / 436.6 MB, free: 1.035 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.3356, allocations: 16.03 kB / 436.6 MB, free: 1.02 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.015e-05/0.3357, allocations: 66.72 kB / 436.7 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.126e-05/0.3358, allocations: 40.7 kB / 436.7 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005992/0.3364, allocations: 336.1 kB / 437.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.3364, allocations: 20.94 kB / 437.1 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.356e-05/0.3365, allocations: 36.12 kB / 437.1 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.338, allocations: 0.7365 MB / 437.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.338, allocations: 3.938 kB / 437.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.317e-05/0.3381, allocations: 12 kB / 437.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.3381, allocations: 11.98 kB / 437.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005595/0.3386, allocations: 218.6 kB / 438.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009844/0.3396, allocations: 0.7683 MB / 438.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.3408, allocations: 0.6029 MB / 439.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004687/0.3412, allocations: 239.3 kB / 439.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007616/0.342, allocations: 0.5932 MB / 440.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.342, allocations: 38.56 kB / 440.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 1.964e-06/0.342, allocations: 0 / 440.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.001275/0.3433, allocations: 0.5283 MB / 440.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001605/0.3435, allocations: 208 kB / 441.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/0.3438, allocations: 258.5 kB / 441.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.3438, allocations: 29.7 kB / 441.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.3439, allocations: 157 kB / 441.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.882e-05/0.344, allocations: 51.7 kB / 441.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.3441, allocations: 86.25 kB / 441.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.3443, allocations: 346.8 kB / 442 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.3445, allocations: 77.08 kB / 442 MB, free: 11.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005453/0.345, allocations: 442.9 kB / 442.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007289/0.3458, allocations: 0.5281 MB / 443 MB, free: 9.848 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/0.3458, allocations: 4 kB / 443 MB, free: 9.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008792/0.3466, allocations: 0.4891 MB / 443.5 MB, free: 9.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.3467, allocations: 12 kB / 443.5 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.3467, allocations: 12.84 kB / 443.5 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.33e-05/0.3467, allocations: 20.34 kB / 443.5 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003303/0.347, allocations: 123.8 kB / 443.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-05/0.3471, allocations: 23.92 kB / 443.7 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002626/0.3473, allocations: 51.72 kB / 443.7 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/0.3474, allocations: 32 kB / 443.8 MB, free: 9.078 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.0002302/0.3476, allocations: 185.5 kB / 444 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006649/0.3483, allocations: 350.1 kB / 444.3 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007226/0.349, allocations: 368.6 kB / 444.7 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.349, allocations: 4 kB / 444.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.349, allocations: 7.938 kB / 444.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.349, allocations: 0 / 444.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004572/0.3495, allocations: 341.2 kB / 445 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.3495, allocations: 4 kB / 445 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/0.3499, allocations: 99.88 kB / 445.1 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.3499, allocations: 0 / 445.1 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/0.3499, allocations: 12 kB / 445.1 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.3499, allocations: 4 kB / 445.1 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3499, allocations: 7.922 kB / 445.1 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.3513, allocations: 0.7748 MB / 445.9 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.3514, allocations: 124.7 kB / 446 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.361e-05/0.3514, allocations: 16 kB / 446 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.3517, allocations: 28.03 kB / 446.1 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.3517, allocations: 8 kB / 446.1 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.3518, allocations: 11.98 kB / 446.1 MB, free: 6.652 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001994/0.352, allocations: 186 kB / 446.3 MB, free: 6.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.352, allocations: 0 / 446.3 MB, free: 6.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005693/0.3525, allocations: 79.83 kB / 446.3 MB, free: 6.395 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.00179/0.3543, allocations: 1.348 MB / 447.7 MB, free: 5.012 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007806/0.3551, allocations: 351.9 kB / 448 MB, free: 4.672 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3551, allocations: 1.75 kB / 448 MB, free: 4.672 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.857e-05/0.3552, allocations: 23.98 kB / 448.1 MB, free: 4.648 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.3563, allocations: 294.7 kB / 448.3 MB, free: 4.359 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005686/0.362, allocations: 3.841 MB / 452.2 MB, free: 96 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000519/0.3625, allocations: 0.812 MB / 453 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001514/0.3627, allocations: 39.27 kB / 453 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.3629, allocations: 115.4 kB / 453.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3629, allocations: 0 / 453.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03792/0.4008, allocations: 8.149 MB / 461.3 MB, free: 7.105 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.818/9.219, allocations: 3.25 kB / 461.3 MB, free: 7.105 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 & /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.58773716003634] Failed to read output from testmodel.py, exit status != 0: ['time', 'load.phi', 'load.w', 'PI.x', 'PI.y'] 9.292137437034398 9.308610811 8.970926691 Calling exit ...