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.SampleVectorizedAndClocked.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.001324/0.001324, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.001422/0.001422, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.441/1.441, allocations: 230.5 MB / 254.8 MB, free: 15.08 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.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",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.001955/0.001955, allocations: 75.81 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09908/0.101, allocations: 53.33 MB / 427 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002722/0.1038, allocations: 1.523 MB / 428.5 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004082/0.1042, allocations: 151.5 kB / 428.7 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.893e-05/0.1042, allocations: 7.938 kB / 428.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.784e-05/0.1043, allocations: 3.938 kB / 428.7 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.685e-05/0.1044, allocations: 11.92 kB / 428.7 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.1047, allocations: 39.84 kB / 428.7 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.1048, allocations: 39.91 kB / 428.8 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.1049, allocations: 15.98 kB / 428.8 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.406e-05/0.1049, allocations: 19.92 kB / 428.8 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.69e-05/0.105, allocations: 19.86 kB / 428.8 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.105, allocations: 4 kB / 428.8 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.936e-06/0.105, allocations: 0 / 428.8 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.78e-05/0.1051, allocations: 15.94 kB / 428.9 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.299e-05/0.1051, allocations: 31.72 kB / 428.9 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.1052, allocations: 51.77 kB / 428.9 MB, free: 2.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1052, allocations: 0 / 428.9 MB, free: 2.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1052, allocations: 0 / 428.9 MB, free: 2.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.1052, allocations: 0 / 428.9 MB, free: 2.836 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004839/0.1057, allocations: 379 kB / 429.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1057, allocations: 8.031 kB / 429.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.204e-05/0.1058, allocations: 42.72 kB / 429.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.1058, allocations: 8.891 kB / 429.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.1061, allocations: 198.4 kB / 429.6 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.1061, allocations: 4.359 kB / 429.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.1061, allocations: 4.375 kB / 429.6 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.1064, allocations: 118.5 kB / 429.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1064, allocations: 7.938 kB / 429.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.1064, allocations: 0 / 429.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.1064, allocations: 0 / 429.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.823e-05/0.1065, allocations: 27.92 kB / 429.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.1069, allocations: 373.8 kB / 430.1 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.107, allocations: 71.78 kB / 430.1 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.093e-05/0.1071, allocations: 42.56 kB / 430.2 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.1071, allocations: 0 / 430.2 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.1071, allocations: 30.56 kB / 430.2 MB, free: 1.328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.1071, allocations: 0 / 430.2 MB, free: 1.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002873/0.1074, allocations: 101.9 kB / 430.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.143e-05/0.1075, allocations: 106.8 kB / 430.4 MB, free: 1.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.1076, allocations: 137.8 kB / 430.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.1076, allocations: 25.7 kB / 430.6 MB, free: 0.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.1077, allocations: 88.12 kB / 430.7 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.1077, allocations: 19.83 kB / 430.7 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.1077, allocations: 13.72 kB / 430.7 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1079, allocations: 326.8 kB / 431 MB, free: 472 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.771e-05/0.1079, allocations: 12 kB / 431 MB, free: 460 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.772e-05/0.108, allocations: 31.42 kB / 431.1 MB, free: 416 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.1081, allocations: 59.34 kB / 431.1 MB, free: 344 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1081, allocations: 4 kB / 431.1 MB, free: 340 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001392/0.1082, allocations: 69.58 kB / 431.2 MB, free: 264 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.1082, allocations: 4 kB / 431.2 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1082, allocations: 7.938 kB / 431.2 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1083, allocations: 3.984 kB / 431.2 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.821e-05/0.1083, allocations: 4.062 kB / 431.2 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1083, allocations: 8 kB / 431.2 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.305e-05/0.1083, allocations: 0 / 431.2 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1083, allocations: 4 kB / 431.2 MB, free: 232 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001052/0.1084, allocations: 125.8 kB / 431.3 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.549e-05/0.1085, allocations: 45.66 kB / 431.4 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.422e-05/0.1085, allocations: 11.86 kB / 431.4 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.1086, allocations: 4 kB / 431.4 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.1086, allocations: 32 / 431.4 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1086, allocations: 4 kB / 431.4 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.1088, allocations: 177.6 kB / 431.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.1088, allocations: 4 kB / 431.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.895e-06/0.1088, allocations: 3.938 kB / 431.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1088, allocations: 3.984 kB / 431.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.1088, allocations: 8 kB / 431.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1088, allocations: 0 / 431.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1088, allocations: 0 / 431.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.1091, allocations: 255.6 kB / 431.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-05/0.1091, allocations: 93.19 kB / 431.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.1091, allocations: 0 / 431.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.191e-05/0.1092, allocations: 4 kB / 431.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.1093, allocations: 11.91 kB / 432 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.1093, allocations: 4 kB / 432 MB, free: 15.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.754e-05/0.1094, allocations: 109.9 kB / 432.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1094, allocations: 0 / 432.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.1096, allocations: 11.92 kB / 432.1 MB, free: 15.26 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0005279/0.1101, allocations: 0.7951 MB / 432.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001519/0.1103, allocations: 39.91 kB / 432.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1103, allocations: 0 / 432.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.763e-05/0.1103, allocations: 15.94 kB / 432.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.1107, allocations: 20.02 kB / 433 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.1122, allocations: 1.471 MB / 434.4 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.1125, allocations: 0.6923 MB / 435.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.168e-05/0.1125, allocations: 7.984 kB / 435.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.1125, allocations: 15.44 kB / 435.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1125, allocations: 0 / 435.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.135, allocations: 1.733 MB / 436.9 MB, free: 10.49 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.949/8.084, allocations: 18.67 kB / 436.9 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.660612422041595] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y[1]', 'sample1.y[2]'] 8.15301258303225 8.33414752 8.226156962 Calling exit ...