Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001261/0.001261, allocations: 108.6 kB / 18.49 MB, free: 4.543 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.001323/0.001323, allocations: 197 kB / 21.43 MB, free: 1.609 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.374/1.374, allocations: 225.6 MB / 249.8 MB, free: 3.602 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.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 51.94 kB / 366.3 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1021, allocations: 52.14 MB / 418.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003041/0.1052, allocations: 1.536 MB / 420 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004608/0.1056, allocations: 155.4 kB / 420.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.601e-05/0.1057, allocations: 4 kB / 420.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.1058, allocations: 3.938 kB / 420.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.1059, allocations: 7.875 kB / 420.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.1062, allocations: 43.83 kB / 420.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.1063, allocations: 39.91 kB / 420.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1064, allocations: 16 kB / 420.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.626e-05/0.1065, allocations: 15.92 kB / 420.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.383e-05/0.1065, allocations: 31.72 kB / 420.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.1066, allocations: 4 kB / 420.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.209e-05/0.1066, allocations: 4 kB / 420.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.839e-05/0.1066, allocations: 11.94 kB / 420.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.031e-05/0.1067, allocations: 31.8 kB / 420.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.1068, allocations: 51.69 kB / 420.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1068, allocations: 0 / 420.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1068, allocations: 0 / 420.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1068, allocations: 0 / 420.4 MB, free: 10.64 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.00054/0.1074, allocations: 391 kB / 420.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1074, allocations: 8.031 kB / 420.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.306e-05/0.1074, allocations: 4.188 kB / 420.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.179e-05/0.1075, allocations: 34.75 kB / 420.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.1075, allocations: 12.84 kB / 420.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.1078, allocations: 206.1 kB / 421.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1078, allocations: 4.375 kB / 421.1 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.1078, allocations: 8.359 kB / 421.1 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.1081, allocations: 126.2 kB / 421.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1081, allocations: 0 / 421.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.1081, allocations: 7.984 kB / 421.2 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.1081, allocations: 0 / 421.2 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.1083, allocations: 43.91 kB / 421.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004667/0.1087, allocations: 361.9 kB / 421.6 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.1089, allocations: 83.77 kB / 421.7 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.278e-05/0.109, allocations: 34.62 kB / 421.7 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.109, allocations: 0 / 421.7 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.109, allocations: 46.5 kB / 421.8 MB, free: 9.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.109, allocations: 0 / 421.8 MB, free: 9.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003447/0.1094, allocations: 105.5 kB / 421.9 MB, free: 8.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.79e-05/0.1094, allocations: 102.8 kB / 422 MB, free: 8.848 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.1096, allocations: 148.4 kB / 422.1 MB, free: 8.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.1096, allocations: 29.7 kB / 422.1 MB, free: 8.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.687e-05/0.1096, allocations: 88.09 kB / 422.2 MB, free: 8.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.218e-05/0.1097, allocations: 4 kB / 422.2 MB, free: 8.566 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.1097, allocations: 25.66 kB / 422.3 MB, free: 8.535 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1098, allocations: 318.8 kB / 422.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.213e-05/0.1099, allocations: 15.98 kB / 422.6 MB, free: 8.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.363e-05/0.11, allocations: 55.28 kB / 422.6 MB, free: 8.133 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.1101, allocations: 55.41 kB / 422.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1101, allocations: 0 / 422.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00019/0.1103, allocations: 81.55 kB / 422.8 MB, free: 7.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1103, allocations: 4 kB / 422.8 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.1103, allocations: 7.938 kB / 422.8 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.1104, allocations: 0 / 422.8 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.561e-05/0.1104, allocations: 11.98 kB / 422.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1104, allocations: 0 / 422.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.807e-05/0.1105, allocations: 8 kB / 422.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.1105, allocations: 8.125 kB / 422.8 MB, free: 7.941 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[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.0001104/0.1106, allocations: 129.7 kB / 422.9 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.415e-05/0.1107, allocations: 53.59 kB / 423 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.868e-05/0.1107, allocations: 7.875 kB / 423 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/0.1108, allocations: 11.98 kB / 423 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1108, allocations: 0 / 423 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1108, allocations: 4 kB / 423 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.111, allocations: 177.6 kB / 423.2 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.111, allocations: 0 / 423.2 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.364e-05/0.111, allocations: 8.031 kB / 423.2 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.1111, allocations: 7.984 kB / 423.2 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.1111, allocations: 0 / 423.2 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1111, allocations: 0 / 423.2 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1111, allocations: 4 kB / 423.2 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.1113, allocations: 271.5 kB / 423.5 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.944e-05/0.1114, allocations: 96.98 kB / 423.6 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.1114, allocations: 0 / 423.6 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.807e-05/0.1115, allocations: 4 kB / 423.6 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.1116, allocations: 7.984 kB / 423.6 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.1116, allocations: 0 / 423.6 MB, free: 7.066 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.069e-05/0.1117, allocations: 107.3 kB / 423.7 MB, free: 6.961 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1117, allocations: 0 / 423.7 MB, free: 6.961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.1119, allocations: 12 kB / 423.7 MB, free: 6.949 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[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.0006103/0.1125, allocations: 0.8067 MB / 424.5 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.1127, allocations: 43.91 kB / 424.5 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1127, allocations: 0 / 424.5 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.009e-05/0.1128, allocations: 19.98 kB / 424.6 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.1132, allocations: 26.17 kB / 424.6 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.1148, allocations: 1.504 MB / 426.1 MB, free: 4.418 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.1151, allocations: 0.7001 MB / 426.8 MB, free: 3.691 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.363e-05/0.1152, allocations: 4 kB / 426.8 MB, free: 3.688 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.817e-05/0.1152, allocations: 19.42 kB / 426.8 MB, free: 3.668 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1152, allocations: 0 / 426.8 MB, free: 3.668 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01826/0.1335, allocations: 1.779 MB / 428.6 MB, free: 2.066 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.82/7.953, allocations: 18.34 kB / 428.6 MB, free: 2.051 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.212257576000411] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y[1]', 'sample1.y[2]'] 8.075066174962558 8.089016707 7.979247216 Calling exit ...