Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001517/0.001517, allocations: 117 kB / 18.49 MB, free: 4.566 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.001399/0.001399, allocations: 216.7 kB / 21.46 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 230.4 MB / 254.7 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 63.89 kB / 373.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09717/0.09911, allocations: 53.36 MB / 427 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002728/0.1018, allocations: 1.529 MB / 428.6 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003796/0.1022, allocations: 151.5 kB / 428.7 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.534e-05/0.1023, allocations: 3.938 kB / 428.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.074e-05/0.1024, allocations: 3.938 kB / 428.7 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.463e-05/0.1025, allocations: 19.91 kB / 428.8 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.1027, allocations: 35.86 kB / 428.8 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.795e-05/0.1028, allocations: 39.89 kB / 428.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.05e-05/0.1028, allocations: 12 kB / 428.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.039e-05/0.1029, allocations: 15.92 kB / 428.9 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.564e-05/0.1029, allocations: 19.86 kB / 428.9 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.1029, allocations: 4 kB / 428.9 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.08e-05/0.1029, allocations: 4 kB / 428.9 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.241e-05/0.103, allocations: 11.94 kB / 428.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.858e-05/0.103, allocations: 27.8 kB / 428.9 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.1031, allocations: 55.75 kB / 429 MB, free: 2.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1032, allocations: 0 / 429 MB, free: 2.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1032, allocations: 0 / 429 MB, free: 2.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.1032, allocations: 0 / 429 MB, free: 2.707 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.0004705/0.1036, allocations: 383 kB / 429.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1037, allocations: 12.03 kB / 429.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.453e-05/0.1037, allocations: 192 / 429.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.538e-05/0.1037, allocations: 34.73 kB / 429.4 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.566e-05/0.1038, allocations: 8.891 kB / 429.4 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.104, allocations: 202.2 kB / 429.6 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.104, allocations: 4.375 kB / 429.6 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.104, allocations: 384 / 429.6 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.1043, allocations: 130.1 kB / 429.7 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.1043, allocations: 4 kB / 429.7 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.1043, allocations: 0 / 429.7 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/0.1043, allocations: 4 kB / 429.7 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.348e-05/0.1044, allocations: 27.92 kB / 429.8 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004219/0.1048, allocations: 373.8 kB / 430.1 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.105, allocations: 71.84 kB / 430.2 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.566e-05/0.105, allocations: 34.56 kB / 430.2 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.105, allocations: 0 / 430.2 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.1051, allocations: 38.56 kB / 430.3 MB, free: 1.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1051, allocations: 0 / 430.3 MB, free: 1.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.00031/0.1054, allocations: 97.55 kB / 430.4 MB, free: 1.086 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.2e-05/0.1055, allocations: 106.8 kB / 430.5 MB, free: 0.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.1056, allocations: 138.2 kB / 430.6 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.1056, allocations: 29.7 kB / 430.6 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.747e-05/0.1057, allocations: 92.08 kB / 430.7 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.308e-05/0.1057, allocations: 7.891 kB / 430.7 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/0.1057, allocations: 21.72 kB / 430.8 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1059, allocations: 322.8 kB / 431.1 MB, free: 332 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.664e-05/0.1059, allocations: 8 kB / 431.1 MB, free: 324 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.977e-05/0.106, allocations: 39.42 kB / 431.1 MB, free: 272 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.1061, allocations: 55.34 kB / 431.2 MB, free: 204 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1061, allocations: 0 / 431.2 MB, free: 204 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001526/0.1062, allocations: 81.56 kB / 431.2 MB, free: 116 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1062, allocations: 6.344 kB / 431.3 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1062, allocations: 0 / 431.3 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.1063, allocations: 4 kB / 431.3 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.002e-05/0.1063, allocations: 3.938 kB / 431.3 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1063, allocations: 0 / 431.3 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.837e-05/0.1063, allocations: 4 kB / 431.3 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.1063, allocations: 0 / 431.3 MB, free: 100 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.0001303/0.1065, allocations: 129.9 kB / 431.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.579e-05/0.1066, allocations: 53.64 kB / 431.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.881e-05/0.1066, allocations: 11.95 kB / 431.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-05/0.1066, allocations: 4 kB / 431.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1066, allocations: 0 / 431.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1066, allocations: 0 / 431.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.1068, allocations: 177.5 kB / 431.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.1069, allocations: 3.984 kB / 431.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.865e-06/0.1069, allocations: 7.938 kB / 431.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1069, allocations: 0 / 431.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.1069, allocations: 4.031 kB / 431.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1069, allocations: 3.984 kB / 431.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1069, allocations: 4 kB / 431.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.1071, allocations: 251.6 kB / 431.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.435e-05/0.1072, allocations: 97.05 kB / 432 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.1072, allocations: 8 kB / 432 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.626e-05/0.1073, allocations: 11.92 kB / 432 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/0.1074, allocations: 0 / 432 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.1074, allocations: 4 kB / 432 MB, free: 15.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.881e-05/0.1075, allocations: 103.3 kB / 432.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1075, allocations: 3.938 kB / 432.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.1077, allocations: 7.984 kB / 432.1 MB, free: 15.12 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.0005805/0.1083, allocations: 0.7906 MB / 432.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001711/0.1085, allocations: 40.09 kB / 433 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1085, allocations: 8.062 kB / 433 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.916e-05/0.1085, allocations: 11.94 kB / 433 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.109, allocations: 31.38 kB / 433 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.1104, allocations: 1.467 MB / 434.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.1107, allocations: 0.6885 MB / 435.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.628e-05/0.1108, allocations: 7.984 kB / 435.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.627e-05/0.1108, allocations: 19.44 kB / 435.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1108, allocations: 0 / 435.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01766/0.1285, allocations: 1.754 MB / 437 MB, free: 10.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.396/8.524, allocations: 6.672 kB / 437 MB, free: 10.31 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.182714307971764] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y[1]', 'sample1.y[2]'] 8.650911644042935 8.924182755 8.817655362 Calling exit ...