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.001756/0.001756, allocations: 118.6 kB / 18.5 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.002172/0.002172, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.491/1.491, allocations: 230.4 MB / 254.7 MB, free: 14.85 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.001927/0.001927, allocations: 64.03 kB / 373.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1092, allocations: 53.32 MB / 426.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003275/0.1125, allocations: 1.533 MB / 428.4 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004908/0.113, allocations: 147.5 kB / 428.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.598e-05/0.1131, allocations: 4 kB / 428.6 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.1132, allocations: 3.938 kB / 428.6 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.238e-05/0.1133, allocations: 11.88 kB / 428.6 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.1136, allocations: 39.89 kB / 428.6 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000107/0.1137, allocations: 35.91 kB / 428.6 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1138, allocations: 12 kB / 428.7 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.991e-05/0.1138, allocations: 15.92 kB / 428.7 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.766e-05/0.1139, allocations: 23.84 kB / 428.7 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.1139, allocations: 8 kB / 428.7 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.209e-05/0.1139, allocations: 4 kB / 428.7 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.089e-05/0.114, allocations: 11.94 kB / 428.7 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.199e-05/0.114, allocations: 27.8 kB / 428.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.1141, allocations: 59.62 kB / 428.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1141, allocations: 0 / 428.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1141, allocations: 0 / 428.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.279e-06/0.1142, allocations: 0 / 428.8 MB, free: 2.906 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.0005617/0.1147, allocations: 375.1 kB / 429.2 MB, free: 2.488 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.1148, allocations: 16.02 kB / 429.2 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.69e-05/0.1148, allocations: 34.75 kB / 429.2 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.1148, allocations: 8.891 kB / 429.2 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.1152, allocations: 196.2 kB / 429.4 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.1152, allocations: 384 / 429.4 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.1152, allocations: 4.375 kB / 429.4 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/0.1155, allocations: 130.4 kB / 429.6 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1155, allocations: 7.875 kB / 429.6 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1155, allocations: 0 / 429.6 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/0.1155, allocations: 0 / 429.6 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.575e-05/0.1156, allocations: 27.98 kB / 429.6 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005012/0.1161, allocations: 369.8 kB / 430 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.1163, allocations: 71.78 kB / 430 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.288e-05/0.1163, allocations: 34.62 kB / 430.1 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-06/0.1163, allocations: 4 kB / 430.1 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.1164, allocations: 30.56 kB / 430.1 MB, free: 1.402 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1164, allocations: 0 / 430.1 MB, free: 1.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002957/0.1166, allocations: 101.5 kB / 430.2 MB, free: 1.297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.812e-05/0.1167, allocations: 107.2 kB / 430.3 MB, free: 1.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.1169, allocations: 139.9 kB / 430.4 MB, free: 1.023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.1169, allocations: 25.7 kB / 430.5 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.437e-05/0.1169, allocations: 92.06 kB / 430.5 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.1169, allocations: 11.89 kB / 430.6 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.117, allocations: 17.72 kB / 430.6 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.1172, allocations: 322.8 kB / 430.9 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.9e-05/0.1172, allocations: 12 kB / 430.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.69e-05/0.1173, allocations: 35.42 kB / 430.9 MB, free: 492 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.1174, allocations: 59.34 kB / 431 MB, free: 420 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1174, allocations: 8 kB / 431 MB, free: 412 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001451/0.1175, allocations: 73.52 kB / 431.1 MB, free: 332 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1175, allocations: 4 kB / 431.1 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/0.1175, allocations: 7.984 kB / 431.1 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1176, allocations: 3.938 kB / 431.1 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.683e-05/0.1176, allocations: 0 / 431.1 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1176, allocations: 4 kB / 431.1 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.471e-05/0.1176, allocations: 128 / 431.1 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.1176, allocations: 8 kB / 431.1 MB, free: 304 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.0001104/0.1177, allocations: 125.8 kB / 431.2 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.903e-05/0.1178, allocations: 49.59 kB / 431.3 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.221e-05/0.1179, allocations: 11.86 kB / 431.3 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.1179, allocations: 4 kB / 431.3 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1179, allocations: 0 / 431.3 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1179, allocations: 4 kB / 431.3 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1955/0.3133, allocations: 177 kB / 431.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.3133, allocations: 0.625 kB / 431.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.056e-05/0.3134, allocations: 4.344 kB / 431.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.3134, allocations: 0 / 431.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.3134, allocations: 2.906 kB / 431.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/0.3134, allocations: 0 / 431.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.3134, allocations: 0 / 431.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.3137, allocations: 257.4 kB / 431.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.785e-05/0.3138, allocations: 93.16 kB / 431.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.3138, allocations: 1.562 kB / 431.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.3139, allocations: 6.75 kB / 431.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.314, allocations: 4.375 kB / 431.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.314, allocations: 2.156 kB / 431.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.76e-05/0.3141, allocations: 107.3 kB / 431.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3141, allocations: 3.688 kB / 431.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003556/0.3144, allocations: 8.844 kB / 431.9 MB, free: 10.45 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.0004278/0.3149, allocations: 0.7896 MB / 432.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.315, allocations: 42.23 kB / 432.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3151, allocations: 0.5625 kB / 432.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.359e-05/0.3151, allocations: 17.73 kB / 432.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.3155, allocations: 26.48 kB / 432.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.3168, allocations: 1.459 MB / 434.3 MB, free: 8.414 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/0.3169, allocations: 0.6902 MB / 435 MB, free: 7.719 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.819e-05/0.317, allocations: 8.859 kB / 435 MB, free: 7.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.071e-05/0.317, allocations: 23.45 kB / 435 MB, free: 7.711 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.317, allocations: 0 / 435 MB, free: 7.711 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02713/0.3442, allocations: 1.728 MB / 436.7 MB, free: 7.418 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.015/8.359, allocations: 3.453 kB / 436.7 MB, free: 7.418 MB / 350.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_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_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.729527121875435] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y[1]', 'sample1.y[2]'] 8.42743872012943 8.447385923 8.329429571 Calling exit ...