Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.001325/0.001325, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001423/0.001423, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.575/1.575, allocations: 230.4 MB / 254.7 MB, free: 14.99 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.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",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.002198/0.002198, allocations: 71.83 kB / 373.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1228, allocations: 53.32 MB / 426.9 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.0042/0.127, allocations: 1.876 MB / 428.8 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.1287, allocations: 0.7594 MB / 429.5 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.1289, allocations: 8 kB / 429.5 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.1291, allocations: 23.73 kB / 429.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000178/0.1292, allocations: 27.78 kB / 429.6 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006876/0.1299, allocations: 159.6 kB / 429.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000294/0.1302, allocations: 151.6 kB / 429.9 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.1304, allocations: 33.55 kB / 429.9 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.1306, allocations: 71.69 kB / 430 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.1307, allocations: 63.64 kB / 430.1 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.968e-05/0.1307, allocations: 12 kB / 430.1 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.1309, allocations: 55.97 kB / 430.1 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.46e-05/0.131, allocations: 43.83 kB / 430.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.529e-05/0.131, allocations: 75.53 kB / 430.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003464/0.1314, allocations: 203.1 kB / 430.4 MB, free: 1.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1314, allocations: 0 / 430.4 MB, free: 1.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1314, allocations: 0 / 430.4 MB, free: 1.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.1314, allocations: 0 / 430.4 MB, free: 1.23 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008344/0.1322, allocations: 486.7 kB / 430.9 MB, free: 0.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.1323, allocations: 15.97 kB / 430.9 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.539e-05/0.1323, allocations: 38.73 kB / 431 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.1325, allocations: 28.8 kB / 431 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004338/0.1329, allocations: 248.1 kB / 431.2 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.133, allocations: 16.56 kB / 431.2 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.133, allocations: 15.94 kB / 431.3 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2693/0.4023, allocations: 322.3 kB / 431.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/0.4023, allocations: 1.812 kB / 431.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.739e-05/0.4024, allocations: 2.875 kB / 431.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.4024, allocations: 2.062 kB / 431.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004427/0.4029, allocations: 85.73 kB / 431.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007685/0.4036, allocations: 346.3 kB / 432 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000611/0.4043, allocations: 260.2 kB / 432.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.4045, allocations: 87.28 kB / 432.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006269/0.4051, allocations: 0.5909 MB / 432.9 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.4051, allocations: 34.88 kB / 433 MB, free: 9.656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.963e-06/0.4051, allocations: 1.781 kB / 433 MB, free: 9.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006738/0.4058, allocations: 241.8 kB / 433.2 MB, free: 9.621 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.06e-05/0.4059, allocations: 117.3 kB / 433.3 MB, free: 9.492 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.4061, allocations: 195 kB / 433.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.4061, allocations: 27.3 kB / 433.5 MB, free: 9.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.4061, allocations: 108.5 kB / 433.6 MB, free: 9.277 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.4062, allocations: 17.98 kB / 433.7 MB, free: 9.273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.317e-05/0.4062, allocations: 49.59 kB / 433.7 MB, free: 9.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.607e-05/0.4063, allocations: 326.3 kB / 434 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.399e-05/0.4064, allocations: 40.05 kB / 434.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.4066, allocations: 161 kB / 434.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.4068, allocations: 208.5 kB / 434.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4068, allocations: 1.344 kB / 434.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003087/0.4071, allocations: 222.8 kB / 434.7 MB, free: 8.594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.4071, allocations: 12.03 kB / 434.7 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.4071, allocations: 3.125 kB / 434.7 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.4071, allocations: 6.594 kB / 434.7 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.4073, allocations: 40.06 kB / 434.7 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.4073, allocations: 11.8 kB / 434.7 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.4074, allocations: 17.66 kB / 434.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.4074, allocations: 9.281 kB / 434.7 MB, free: 8.59 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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: 3 (sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.000126/0.4075, allocations: 157.6 kB / 434.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002769/0.4078, allocations: 164.4 kB / 435.1 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003222/0.4081, allocations: 177.6 kB / 435.2 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.4081, allocations: 1.656 kB / 435.2 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.247e-06/0.4082, allocations: 2.203 kB / 435.2 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4082, allocations: 1.547 kB / 435.2 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.4084, allocations: 232.9 kB / 435.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.4084, allocations: 5.719 kB / 435.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.4085, allocations: 39.02 kB / 435.5 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.4085, allocations: 1.25 kB / 435.5 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.4085, allocations: 4.344 kB / 435.5 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.4085, allocations: 1.125 kB / 435.5 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4085, allocations: 1.156 kB / 435.5 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000362/0.4089, allocations: 284.6 kB / 435.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.409, allocations: 126.2 kB / 435.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.409, allocations: 7.016 kB / 435.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.4091, allocations: 12.59 kB / 435.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.4092, allocations: 1.531 kB / 435.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.4092, allocations: 6.969 kB / 435.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001032/0.4093, allocations: 151.1 kB / 436.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4093, allocations: 0 / 436.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00031/0.4096, allocations: 32.78 kB / 436.1 MB, free: 7.848 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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.0007354/0.4103, allocations: 0.9143 MB / 437 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003008/0.4106, allocations: 145.6 kB / 437.2 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4107, allocations: 1.156 kB / 437.2 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.293e-05/0.4107, allocations: 9.406 kB / 437.2 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005671/0.4113, allocations: 151.1 kB / 437.3 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.4132, allocations: 2.166 MB / 439.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.4134, allocations: 0.7325 MB / 440.2 MB, free: 4.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.882e-05/0.4134, allocations: 19.14 kB / 440.3 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.865e-05/0.4135, allocations: 44.02 kB / 440.3 MB, free: 4.828 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4135, allocations: 0 / 440.3 MB, free: 4.828 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03019/0.4437, allocations: 4.324 MB / 444.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.178/8.622, allocations: 6.062 kB / 444.6 MB, free: 4.34 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.11602297378704] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 8.691210616845638 8.702633401 8.568359473 Calling exit ...