Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 117.8 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 190.7 kB / 21.43 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 43.92 kB / 366.3 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1069, allocations: 52.14 MB / 418.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002705/0.1096, allocations: 1.516 MB / 420 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003677/0.1099, allocations: 147.4 kB / 420.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.538e-05/0.11, allocations: 0 / 420.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.208e-05/0.1101, allocations: 7.938 kB / 420.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.133e-05/0.1102, allocations: 19.86 kB / 420.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.1104, allocations: 47.2 kB / 420.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.379e-05/0.1105, allocations: 35.92 kB / 420.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.2e-05/0.1106, allocations: 15.97 kB / 420.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.334e-05/0.1106, allocations: 15.94 kB / 420.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.452e-05/0.1106, allocations: 19.86 kB / 420.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.1107, allocations: 4 kB / 420.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.796e-06/0.1107, allocations: 0 / 420.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.883e-05/0.1107, allocations: 19.92 kB / 420.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.1108, allocations: 19.81 kB / 420.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.1109, allocations: 59.73 kB / 420.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1109, allocations: 3.938 kB / 420.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.1109, allocations: 4 kB / 420.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1109, allocations: 0 / 420.4 MB, free: 10.67 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.0004601/0.1113, allocations: 375.1 kB / 420.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.1114, allocations: 8.031 kB / 420.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.176e-05/0.1114, allocations: 192 / 420.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.314e-05/0.1114, allocations: 34.75 kB / 420.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.65e-05/0.1115, allocations: 12.88 kB / 420.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.1117, allocations: 204.2 kB / 421 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.1117, allocations: 4.312 kB / 421 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.1117, allocations: 8.375 kB / 421 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.112, allocations: 118.2 kB / 421.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.112, allocations: 8 kB / 421.2 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.112, allocations: 0 / 421.2 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/0.112, allocations: 7.938 kB / 421.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.139e-05/0.1121, allocations: 27.97 kB / 421.2 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.1125, allocations: 361.9 kB / 421.5 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.1127, allocations: 79.77 kB / 421.6 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.086e-05/0.1127, allocations: 26.64 kB / 421.7 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.1128, allocations: 0 / 421.7 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.1128, allocations: 42.55 kB / 421.7 MB, free: 9.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1128, allocations: 0 / 421.7 MB, free: 9.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002907/0.1131, allocations: 93.5 kB / 421.8 MB, free: 9.059 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.67e-05/0.1132, allocations: 106.8 kB / 421.9 MB, free: 8.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.1133, allocations: 140.7 kB / 422 MB, free: 8.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.1133, allocations: 33.69 kB / 422.1 MB, free: 8.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.541e-05/0.1134, allocations: 88.09 kB / 422.1 MB, free: 8.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.1134, allocations: 11.94 kB / 422.2 MB, free: 8.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.1134, allocations: 25.66 kB / 422.2 MB, free: 8.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1136, allocations: 314.8 kB / 422.5 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.593e-05/0.1136, allocations: 15.98 kB / 422.5 MB, free: 8.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.797e-05/0.1137, allocations: 43.36 kB / 422.5 MB, free: 8.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.988e-05/0.1138, allocations: 51.36 kB / 422.6 MB, free: 8.164 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1138, allocations: 0 / 422.6 MB, free: 8.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001521/0.1139, allocations: 73.61 kB / 422.7 MB, free: 8.086 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1139, allocations: 7.938 kB / 422.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.1139, allocations: 4 kB / 422.7 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.114, allocations: 0 / 422.7 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.734e-05/0.114, allocations: 0 / 422.7 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.114, allocations: 4 kB / 422.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.474e-05/0.114, allocations: 0 / 422.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.114, allocations: 7.984 kB / 422.7 MB, free: 8.062 MB / 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.0001048/0.1141, allocations: 125.9 kB / 422.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.956e-05/0.1142, allocations: 57.58 kB / 422.9 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.167e-05/0.1142, allocations: 3.875 kB / 422.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.1143, allocations: 11.98 kB / 422.9 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1143, allocations: 0 / 422.9 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.1143, allocations: 7.938 kB / 422.9 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.1145, allocations: 177.5 kB / 423.1 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1145, allocations: 0 / 423.1 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-06/0.1145, allocations: 0 / 423.1 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1145, allocations: 0 / 423.1 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.1145, allocations: 8.031 kB / 423.1 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1145, allocations: 0 / 423.1 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1145, allocations: 0 / 423.1 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.1148, allocations: 255.6 kB / 423.3 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.101e-05/0.1149, allocations: 97.08 kB / 423.4 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.1149, allocations: 8 kB / 423.4 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.078e-05/0.115, allocations: 4 kB / 423.4 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.115, allocations: 4 kB / 423.4 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.115, allocations: 0 / 423.4 MB, free: 7.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.188e-05/0.1151, allocations: 109.3 kB / 423.5 MB, free: 7.105 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1151, allocations: 0 / 423.5 MB, free: 7.105 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.1153, allocations: 11.95 kB / 423.6 MB, free: 7.094 MB / 350.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.0005626/0.1159, allocations: 0.795 MB / 424.4 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000152/0.116, allocations: 31.98 kB / 424.4 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.116, allocations: 8.188 kB / 424.4 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.809e-05/0.1161, allocations: 19.92 kB / 424.4 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.1165, allocations: 30.19 kB / 424.4 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.1179, allocations: 1.455 MB / 425.9 MB, free: 4.621 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.1183, allocations: 0.7 MB / 426.6 MB, free: 3.895 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.975e-05/0.1183, allocations: 4 kB / 426.6 MB, free: 3.891 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.1183, allocations: 23.42 kB / 426.6 MB, free: 3.867 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1183, allocations: 4 kB / 426.6 MB, free: 3.863 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01733/0.1357, allocations: 1.766 MB / 428.4 MB, free: 2.273 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.934/8.069, allocations: 21.84 kB / 428.4 MB, free: 2.254 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.321019179013092] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y[1]', 'sample1.y[2]'] 8.18920923396945 8.201993994 8.088490741 Calling exit ...