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.SampleClocked.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.001788/0.001788, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.002086/0.002086, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.602/1.602, allocations: 230.5 MB / 254.8 MB, free: 15.11 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.SampleClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",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.002752/0.002752, allocations: 67.84 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1179, allocations: 53.33 MB / 427 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002895/0.1208, allocations: 1.517 MB / 428.5 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003879/0.1211, allocations: 139.5 kB / 428.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.978e-05/0.1212, allocations: 0 / 428.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.166e-05/0.1213, allocations: 3.938 kB / 428.7 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.1214, allocations: 11.92 kB / 428.7 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.1216, allocations: 31.91 kB / 428.7 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.268e-05/0.1217, allocations: 31.91 kB / 428.7 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.788e-05/0.1218, allocations: 8 kB / 428.7 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.223e-05/0.1218, allocations: 15.94 kB / 428.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.456e-05/0.1219, allocations: 11.92 kB / 428.8 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.1219, allocations: 0 / 428.8 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.09e-05/0.1219, allocations: 4 kB / 428.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.1219, allocations: 11.94 kB / 428.8 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.642e-05/0.122, allocations: 19.86 kB / 428.8 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.1221, allocations: 43.7 kB / 428.8 MB, free: 2.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1221, allocations: 3.938 kB / 428.9 MB, free: 2.941 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1221, allocations: 0 / 428.9 MB, free: 2.941 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1221, allocations: 0 / 428.9 MB, free: 2.941 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004724/0.1226, allocations: 367.2 kB / 429.2 MB, free: 2.531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.1226, allocations: 8.031 kB / 429.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.026e-05/0.1226, allocations: 42.67 kB / 429.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.389e-05/0.1227, allocations: 4.891 kB / 429.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.1229, allocations: 190.2 kB / 429.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.241e-06/0.1229, allocations: 384 / 429.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.1229, allocations: 8.359 kB / 429.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.1232, allocations: 93.61 kB / 429.6 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1232, allocations: 3.938 kB / 429.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.1232, allocations: 0 / 429.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1232, allocations: 0 / 429.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.362e-05/0.1233, allocations: 19.92 kB / 429.6 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003165/0.1236, allocations: 261.8 kB / 429.8 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.585e-05/0.1237, allocations: 49.09 kB / 429.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.891e-05/0.1237, allocations: 17.77 kB / 429.9 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.1237, allocations: 3.984 kB / 429.9 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.1238, allocations: 38.56 kB / 429.9 MB, free: 1.656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1238, allocations: 0 / 429.9 MB, free: 1.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002247/0.124, allocations: 61.61 kB / 430 MB, free: 1.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/0.1241, allocations: 77.11 kB / 430.1 MB, free: 1.496 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.1242, allocations: 138 kB / 430.2 MB, free: 1.348 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.1242, allocations: 29.7 kB / 430.2 MB, free: 1.312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.1243, allocations: 88.39 kB / 430.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.136e-06/0.1243, allocations: 0 / 430.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.1243, allocations: 21.7 kB / 430.3 MB, free: 1.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1244, allocations: 310.8 kB / 430.6 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.771e-05/0.1245, allocations: 8 kB / 430.7 MB, free: 0.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.676e-05/0.1245, allocations: 25.64 kB / 430.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.006e-05/0.1246, allocations: 29.77 kB / 430.7 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.1246, allocations: 3.938 kB / 430.7 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001072/0.1247, allocations: 53.58 kB / 430.8 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1247, allocations: 4 kB / 430.8 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.1247, allocations: 4 kB / 430.8 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1247, allocations: 0 / 430.8 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.335e-05/0.1248, allocations: 8.062 kB / 430.8 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1248, allocations: 3.984 kB / 430.8 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.914e-05/0.1248, allocations: 8 kB / 430.8 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.1248, allocations: 0 / 430.8 MB, free: 0.7188 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.388e-05/0.1249, allocations: 121.7 kB / 430.9 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.375e-05/0.125, allocations: 49.58 kB / 431 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.789e-05/0.125, allocations: 3.875 kB / 431 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.125, allocations: 4 kB / 431 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.125, allocations: 0 / 431 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.125, allocations: 4.031 kB / 431 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.1252, allocations: 173.5 kB / 431.1 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.1252, allocations: 0 / 431.1 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.48e-05/0.1252, allocations: 4 kB / 431.1 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1253, allocations: 4 kB / 431.1 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.1253, allocations: 0 / 431.1 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1253, allocations: 0 / 431.1 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1253, allocations: 0 / 431.1 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.1254, allocations: 160.3 kB / 431.3 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.435e-05/0.1255, allocations: 93.05 kB / 431.4 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.1255, allocations: 0 / 431.4 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.967e-05/0.1256, allocations: 4.062 kB / 431.4 MB, free: 16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.851e-05/0.1256, allocations: 7.938 kB / 431.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.1256, allocations: 0 / 431.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.937e-05/0.1257, allocations: 109.4 kB / 431.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1257, allocations: 4.031 kB / 431.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002163/0.1259, allocations: 4 kB / 431.5 MB, free: 15.88 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0004741/0.1264, allocations: 0.6864 MB / 432.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.1265, allocations: 27.95 kB / 432.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1265, allocations: 0 / 432.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.678e-05/0.1265, allocations: 11.98 kB / 432.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.1268, allocations: 12.02 kB / 432.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.1281, allocations: 1.276 MB / 433.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.1284, allocations: 0.6807 MB / 434.2 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.544e-05/0.1284, allocations: 4 kB / 434.2 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.1285, allocations: 15.52 kB / 434.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1285, allocations: 3.938 kB / 434.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/0.1509, allocations: 1.382 MB / 435.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.709/7.86, allocations: 7.859 kB / 435.6 MB, free: 11.77 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.662826145067811] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 7.931270837318152 8.121649795 7.827733381 Calling exit ...