Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.001741/0.001741, allocations: 120.4 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.002234/0.002234, allocations: 208.9 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.476/1.476, allocations: 230.5 MB / 254.7 MB, free: 15.02 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.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",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.001913/0.001913, allocations: 63.83 kB / 373.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1062, allocations: 53.33 MB / 426.9 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002886/0.1091, allocations: 1.494 MB / 428.4 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004246/0.1095, allocations: 143.5 kB / 428.5 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.514e-05/0.1096, allocations: 4 kB / 428.5 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.21e-05/0.1097, allocations: 7.938 kB / 428.5 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.1098, allocations: 0 / 428.5 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.1101, allocations: 43.83 kB / 428.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.1102, allocations: 23.92 kB / 428.6 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1103, allocations: 8 kB / 428.6 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.465e-05/0.1103, allocations: 11.94 kB / 428.6 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.508e-05/0.1103, allocations: 15.92 kB / 428.6 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.1103, allocations: 0 / 428.6 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.976e-06/0.1103, allocations: 4 kB / 428.6 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.386e-05/0.1104, allocations: 11.92 kB / 428.6 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.98e-05/0.1104, allocations: 23.86 kB / 428.7 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.1106, allocations: 35.78 kB / 428.7 MB, free: 3.043 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1106, allocations: 0 / 428.7 MB, free: 3.043 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.478e-06/0.1106, allocations: 4 kB / 428.7 MB, free: 3.039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.1106, allocations: 0 / 428.7 MB, free: 3.039 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005746/0.1112, allocations: 359.2 kB / 429.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.1112, allocations: 11.97 kB / 429.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.273e-05/0.1112, allocations: 30.75 kB / 429.1 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.848e-05/0.1113, allocations: 12.83 kB / 429.1 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.1116, allocations: 203.1 kB / 429.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.1116, allocations: 8.359 kB / 429.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.1116, allocations: 384 / 429.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.1119, allocations: 89.61 kB / 429.4 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1119, allocations: 3.938 kB / 429.4 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.1119, allocations: 0 / 429.4 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1119, allocations: 4 kB / 429.4 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.961e-05/0.112, allocations: 15.98 kB / 429.4 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003776/0.1123, allocations: 249.8 kB / 429.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.456e-05/0.1124, allocations: 45.03 kB / 429.7 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.252e-05/0.1125, allocations: 21.83 kB / 429.7 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.1125, allocations: 0 / 429.7 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.1125, allocations: 38.5 kB / 429.8 MB, free: 1.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.1125, allocations: 0 / 429.8 MB, free: 1.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002068/0.1127, allocations: 53.64 kB / 429.8 MB, free: 1.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.957e-05/0.1128, allocations: 85.3 kB / 429.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.1129, allocations: 129.8 kB / 430 MB, free: 1.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.1129, allocations: 25.7 kB / 430.1 MB, free: 1.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.07e-05/0.113, allocations: 88.14 kB / 430.1 MB, free: 1.352 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.253e-05/0.113, allocations: 7.938 kB / 430.2 MB, free: 1.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.1131, allocations: 17.72 kB / 430.2 MB, free: 1.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1132, allocations: 310.8 kB / 430.5 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.773e-05/0.1132, allocations: 4 kB / 430.5 MB, free: 1.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.339e-05/0.1133, allocations: 25.7 kB / 430.5 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.312e-05/0.1133, allocations: 17.72 kB / 430.5 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.1133, allocations: 3.938 kB / 430.5 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.882e-05/0.1134, allocations: 53.62 kB / 430.6 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.1134, allocations: 4 kB / 430.6 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1134, allocations: 4.125 kB / 430.6 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.1135, allocations: 4 kB / 430.6 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.415e-05/0.1135, allocations: 0 / 430.6 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1135, allocations: 3.938 kB / 430.6 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.735e-05/0.1135, allocations: 7.984 kB / 430.6 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.1135, allocations: 0 / 430.6 MB, free: 0.8633 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001015/0.1136, allocations: 121.7 kB / 430.7 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.344e-05/0.1137, allocations: 37.66 kB / 430.8 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.344e-05/0.1137, allocations: 11.52 kB / 430.8 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1137, allocations: 8.031 kB / 430.8 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1137, allocations: 0 / 430.8 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1137, allocations: 3.938 kB / 430.8 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.1139, allocations: 161.6 kB / 430.9 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1139, allocations: 0 / 430.9 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.608e-06/0.1139, allocations: 7.984 kB / 430.9 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1139, allocations: 4 kB / 431 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.1139, allocations: 0 / 431 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1139, allocations: 0 / 431 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1139, allocations: 0 / 431 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.1141, allocations: 160.2 kB / 431.1 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.343e-05/0.1142, allocations: 96.98 kB / 431.2 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.1142, allocations: 0 / 431.2 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.185e-05/0.1142, allocations: 0 / 431.2 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.1142, allocations: 4 kB / 431.2 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.1143, allocations: 3.984 kB / 431.2 MB, free: 148 kB / 350.1 MB Notification: Performance of sorting global known variables: time 7.4e-05/0.1143, allocations: 114.1 kB / 431.3 MB, free: 36 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1143, allocations: 0 / 431.3 MB, free: 36 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002096/0.1145, allocations: 0 / 431.3 MB, free: 36 kB / 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: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004796/0.115, allocations: 0.682 MB / 432 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.1151, allocations: 19.98 kB / 432 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1151, allocations: 0 / 432 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.855e-05/0.1152, allocations: 7.938 kB / 432 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.1155, allocations: 14.09 kB / 432 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.1168, allocations: 1.253 MB / 433.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.1171, allocations: 0.6885 MB / 434 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.867e-05/0.1171, allocations: 96 / 434 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.1172, allocations: 23.31 kB / 434 MB, free: 13.2 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1172, allocations: 0 / 434 MB, free: 13.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.1404, allocations: 1.376 MB / 435.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.852/7.992, allocations: 16.52 kB / 435.4 MB, free: 11.95 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked_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_BooleanSignals_SampleClocked.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.552866314072162] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 8.057438266929239 8.251482918 7.958320177 Calling exit ...