Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001377/0.001377, allocations: 121.3 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.001741/0.001741, allocations: 210.5 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.498/1.498, allocations: 230.5 MB / 254.7 MB, free: 15.01 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.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.001903/0.001903, allocations: 67.84 kB / 373.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1084, allocations: 53.32 MB / 426.9 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002978/0.1113, allocations: 1.549 MB / 428.4 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004032/0.1117, allocations: 143.5 kB / 428.6 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.706e-05/0.1118, allocations: 4 kB / 428.6 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.1119, allocations: 11.86 kB / 428.6 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.653e-05/0.112, allocations: 11.94 kB / 428.6 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002409/0.1123, allocations: 39.89 kB / 428.6 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000119/0.1124, allocations: 39.86 kB / 428.7 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1125, allocations: 15.98 kB / 428.7 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.737e-05/0.1125, allocations: 19.91 kB / 428.7 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.564e-05/0.1126, allocations: 15.88 kB / 428.7 MB, free: 3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.1126, allocations: 4 kB / 428.7 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.28e-05/0.1126, allocations: 4 kB / 428.7 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.314e-05/0.1127, allocations: 15.92 kB / 428.7 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.091e-05/0.1127, allocations: 23.81 kB / 428.8 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.1129, allocations: 63.67 kB / 428.8 MB, free: 2.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1129, allocations: 0 / 428.8 MB, free: 2.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1129, allocations: 0 / 428.8 MB, free: 2.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1129, allocations: 0 / 428.8 MB, free: 2.891 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.0005521/0.1134, allocations: 391 kB / 429.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.1135, allocations: 8.031 kB / 429.2 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.015e-05/0.1135, allocations: 38.69 kB / 429.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.945e-05/0.1135, allocations: 8.891 kB / 429.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.1138, allocations: 202.1 kB / 429.5 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.1138, allocations: 8.375 kB / 429.5 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.1138, allocations: 384 / 429.5 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.1141, allocations: 126.4 kB / 429.6 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1141, allocations: 3.938 kB / 429.6 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1141, allocations: 4 kB / 429.6 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/0.1142, allocations: 8 kB / 429.6 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.1143, allocations: 39.84 kB / 429.6 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004561/0.1147, allocations: 365.9 kB / 430 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.1149, allocations: 79.77 kB / 430.1 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.143e-05/0.115, allocations: 38.62 kB / 430.1 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.115, allocations: 3.938 kB / 430.1 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.115, allocations: 34.56 kB / 430.2 MB, free: 1.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.115, allocations: 0 / 430.2 MB, free: 1.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000345/0.1153, allocations: 105.5 kB / 430.3 MB, free: 1.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.444e-05/0.1154, allocations: 107.2 kB / 430.4 MB, free: 1.102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.1156, allocations: 154.7 kB / 430.5 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.1156, allocations: 25.7 kB / 430.5 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.878e-05/0.1156, allocations: 88.14 kB / 430.6 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.1157, allocations: 11.94 kB / 430.6 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.1157, allocations: 17.72 kB / 430.7 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1158, allocations: 318.8 kB / 431 MB, free: 476 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.046e-05/0.1159, allocations: 15.98 kB / 431 MB, free: 460 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.865e-05/0.116, allocations: 47.36 kB / 431 MB, free: 400 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.1161, allocations: 63.28 kB / 431.1 MB, free: 324 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1161, allocations: 4 kB / 431.1 MB, free: 320 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001763/0.1163, allocations: 81.55 kB / 431.2 MB, free: 232 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1163, allocations: 8 kB / 431.2 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1163, allocations: 0 / 431.2 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.1163, allocations: 0 / 431.2 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.662e-05/0.1164, allocations: 15.98 kB / 431.2 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.1164, allocations: 7.938 kB / 431.2 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.015e-05/0.1165, allocations: 8.125 kB / 431.2 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1165, allocations: 0 / 431.2 MB, free: 192 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[2],sample1.u[1],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.0001131/0.1166, allocations: 125.8 kB / 431.3 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.1167, allocations: 53.69 kB / 431.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.443e-05/0.1167, allocations: 11.88 kB / 431.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.1167, allocations: 4 kB / 431.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.1167, allocations: 0 / 431.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1167, allocations: 32 / 431.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003202/0.1171, allocations: 181.5 kB / 431.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1171, allocations: 0 / 431.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.1171, allocations: 8 kB / 431.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1171, allocations: 0 / 431.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.1171, allocations: 3.938 kB / 431.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1171, allocations: 4 kB / 431.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1171, allocations: 3.984 kB / 431.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.1174, allocations: 267.5 kB / 431.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.254e-05/0.1175, allocations: 92.98 kB / 432 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.1175, allocations: 7.938 kB / 432 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.707e-05/0.1176, allocations: 4 kB / 432 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.1176, allocations: 4 kB / 432 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.1176, allocations: 0 / 432 MB, free: 15.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.916e-05/0.1177, allocations: 117.3 kB / 432.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1177, allocations: 3.938 kB / 432.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.118, allocations: 4 kB / 432.1 MB, free: 15.2 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[2],sample1.u[1],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.0005944/0.1185, allocations: 0.8064 MB / 432.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001746/0.1187, allocations: 47.91 kB / 432.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1187, allocations: 0 / 432.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.821e-05/0.1188, allocations: 19.86 kB / 433 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.1192, allocations: 28.48 kB / 433 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.1208, allocations: 1.493 MB / 434.5 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.1211, allocations: 0.6963 MB / 435.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.314e-05/0.1212, allocations: 7.984 kB / 435.2 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.038e-05/0.1212, allocations: 19.42 kB / 435.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1212, allocations: 4 kB / 435.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02599/0.1472, allocations: 1.727 MB / 436.9 MB, free: 10.37 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.887/8.035, allocations: 12.12 kB / 437 MB, free: 10.36 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_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_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.649157448206097] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y[1]', 'sample1.y[2]'] 8.10201970115304 8.329193719 8.213140934 Calling exit ...