Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.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.002186/0.002186, allocations: 121.8 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.002644/0.002644, allocations: 208.9 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.558/1.558, allocations: 230.5 MB / 254.7 MB, free: 15 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.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_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.001976/0.001976, allocations: 67.88 kB / 373.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.118, allocations: 53.3 MB / 426.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003183/0.1212, allocations: 1.634 MB / 428.5 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.1223, allocations: 0.561 MB / 429.1 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.396e-05/0.1224, allocations: 4 kB / 429.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.1225, allocations: 11.86 kB / 429.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.1226, allocations: 19.86 kB / 429.1 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.123, allocations: 67.67 kB / 429.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.1231, allocations: 63.72 kB / 429.2 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1233, allocations: 15.98 kB / 429.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.1234, allocations: 35.84 kB / 429.3 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.198e-05/0.1235, allocations: 27.86 kB / 429.3 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.1235, allocations: 8 kB / 429.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.758e-05/0.1235, allocations: 8 kB / 429.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.809e-05/0.1236, allocations: 19.91 kB / 429.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.897e-05/0.1237, allocations: 39.73 kB / 429.4 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.1238, allocations: 75.55 kB / 429.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1238, allocations: 0 / 429.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1238, allocations: 0 / 429.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.1238, allocations: 4 kB / 429.5 MB, free: 2.258 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.0006313/0.1245, allocations: 402.9 kB / 429.9 MB, free: 1.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1245, allocations: 12.03 kB / 429.9 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.48e-05/0.1246, allocations: 38.75 kB / 429.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002328/0.1248, allocations: 24.88 kB / 429.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.1251, allocations: 212.1 kB / 430.1 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.582e-06/0.1251, allocations: 4.312 kB / 430.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.1252, allocations: 4.375 kB / 430.2 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003125/0.1255, allocations: 130 kB / 430.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1255, allocations: 3.938 kB / 430.3 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.1255, allocations: 4 kB / 430.3 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.1255, allocations: 0 / 430.3 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.1256, allocations: 35.97 kB / 430.3 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005725/0.1262, allocations: 385.8 kB / 430.7 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.1264, allocations: 83.78 kB / 430.8 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.694e-05/0.1265, allocations: 34.62 kB / 430.8 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.1265, allocations: 7.984 kB / 430.8 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.1265, allocations: 34.55 kB / 430.9 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.1265, allocations: 0 / 430.9 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000383/0.1269, allocations: 121.5 kB / 431 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.196e-05/0.127, allocations: 102.8 kB / 431.1 MB, free: 412 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.1271, allocations: 158.2 kB / 431.2 MB, free: 244 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.1272, allocations: 25.7 kB / 431.3 MB, free: 212 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.664e-05/0.1272, allocations: 96.45 kB / 431.4 MB, free: 112 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.1273, allocations: 15.95 kB / 431.4 MB, free: 96 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.1273, allocations: 13.72 kB / 431.4 MB, free: 76 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.215/0.3423, allocations: 322 kB / 431.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.3425, allocations: 17.33 kB / 431.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.508e-05/0.3426, allocations: 38.25 kB / 431.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.3427, allocations: 68.81 kB / 431.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.3427, allocations: 2.531 kB / 431.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002675/0.343, allocations: 94.36 kB / 431.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.343, allocations: 6.453 kB / 431.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.343, allocations: 0.6875 kB / 431.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.3431, allocations: 2.641 kB / 431.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.3432, allocations: 11.17 kB / 431.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.3432, allocations: 6.688 kB / 431.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.195e-05/0.3433, allocations: 6.141 kB / 431.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.3433, allocations: 2.906 kB / 431.9 MB, free: 10.77 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: 0 () * 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 8.389e-05/0.3434, allocations: 121.9 kB / 432.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.499e-05/0.3434, allocations: 58.31 kB / 432.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.493e-05/0.3435, allocations: 13.34 kB / 432.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.3435, allocations: 6.906 kB / 432.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.3435, allocations: 2 kB / 432.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3435, allocations: 2.719 kB / 432.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.3438, allocations: 183.3 kB / 432.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.3438, allocations: 2.188 kB / 432.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.367e-05/0.3438, allocations: 11.03 kB / 432.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3438, allocations: 4.844 kB / 432.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.3439, allocations: 0.9375 kB / 432.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.3439, allocations: 5.469 kB / 432.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.3439, allocations: 3.062 kB / 432.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.3441, allocations: 268.3 kB / 432.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.525e-05/0.3442, allocations: 99.92 kB / 432.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.3442, allocations: 4.156 kB / 432.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.3443, allocations: 9.094 kB / 432.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.3444, allocations: 3.875 kB / 432.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-06/0.3444, allocations: 3.781 kB / 432.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.627e-05/0.3445, allocations: 116.8 kB / 432.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3445, allocations: 8.75 kB / 432.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.3448, allocations: 7.812 kB / 432.9 MB, free: 10.03 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: 0 () * 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.0004505/0.3452, allocations: 0.8051 MB / 433.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002281/0.3454, allocations: 45.53 kB / 433.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3454, allocations: 3.562 kB / 433.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.797e-05/0.3455, allocations: 22.58 kB / 433.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004656/0.346, allocations: 37.73 kB / 433.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.3474, allocations: 1.571 MB / 435.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/0.3476, allocations: 0.6958 MB / 436 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.827e-05/0.3476, allocations: 12.19 kB / 436.1 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.585e-05/0.3477, allocations: 29.17 kB / 436.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3477, allocations: 0 / 436.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.3741, allocations: 1.969 MB / 438.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.982/8.356, allocations: 12.3 kB / 438.1 MB, free: 6.93 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_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_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.816554573830217] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y[1]', 'sample1.y[2]'] 8.423153994139284 8.445955961 8.317881668 Calling exit ...