Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.001351/0.001351, allocations: 121.2 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.002117/0.002117, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.51/1.51, allocations: 230.5 MB / 254.8 MB, free: 15.1 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.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",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.002004/0.002004, allocations: 75.81 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1038, allocations: 53.32 MB / 427 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002869/0.1067, allocations: 1.568 MB / 428.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.1077, allocations: 0.5727 MB / 429.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.048e-05/0.1077, allocations: 3.938 kB / 429.1 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.674e-05/0.1078, allocations: 7.922 kB / 429.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.1079, allocations: 15.88 kB / 429.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002895/0.1082, allocations: 67.19 kB / 429.2 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.1083, allocations: 51.78 kB / 429.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.932e-05/0.1084, allocations: 12.17 kB / 429.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.1085, allocations: 27.86 kB / 429.3 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.796e-05/0.1085, allocations: 23.84 kB / 429.3 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.1086, allocations: 4 kB / 429.3 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.525e-05/0.1086, allocations: 8 kB / 429.3 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.978e-05/0.1086, allocations: 15.92 kB / 429.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.705e-05/0.1087, allocations: 23.81 kB / 429.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.1088, allocations: 67.67 kB / 429.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1088, allocations: 0 / 429.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1088, allocations: 0 / 429.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.1088, allocations: 0 / 429.5 MB, free: 2.324 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005052/0.1093, allocations: 379.1 kB / 429.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.1094, allocations: 8.031 kB / 429.8 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.035e-05/0.1094, allocations: 38.73 kB / 429.9 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.1095, allocations: 16.89 kB / 429.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.1098, allocations: 210 kB / 430.1 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1098, allocations: 4.375 kB / 430.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.1098, allocations: 4.375 kB / 430.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.1101, allocations: 105 kB / 430.2 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.1101, allocations: 4 kB / 430.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.1101, allocations: 0 / 430.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.1101, allocations: 4 kB / 430.2 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.94e-05/0.1102, allocations: 19.92 kB / 430.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.1105, allocations: 257.8 kB / 430.5 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.377e-05/0.1106, allocations: 53.14 kB / 430.5 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.076e-05/0.1107, allocations: 17.77 kB / 430.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.1107, allocations: 0 / 430.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.1107, allocations: 42.5 kB / 430.6 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.1107, allocations: 0 / 430.6 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.000252/0.111, allocations: 69.56 kB / 430.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.111, allocations: 81.11 kB / 430.7 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.1112, allocations: 133.8 kB / 430.9 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.1112, allocations: 25.7 kB / 430.9 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.1113, allocations: 96.12 kB / 431 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.322e-05/0.1113, allocations: 3.953 kB / 431 MB, free: 0.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.1113, allocations: 13.97 kB / 431 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.1115, allocations: 330.7 kB / 431.3 MB, free: 196 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.974e-05/0.1115, allocations: 4 kB / 431.3 MB, free: 192 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.995e-05/0.1116, allocations: 25.7 kB / 431.4 MB, free: 160 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.28e-05/0.1116, allocations: 29.66 kB / 431.4 MB, free: 124 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1116, allocations: 4.062 kB / 431.4 MB, free: 120 kB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001301/0.1118, allocations: 57.56 kB / 431.4 MB, free: 56 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1118, allocations: 4 kB / 431.5 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1118, allocations: 0 / 431.5 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.1118, allocations: 4 kB / 431.5 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.308e-05/0.1119, allocations: 4 kB / 431.5 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.1119, allocations: 3.984 kB / 431.5 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.644e-05/0.1119, allocations: 4 kB / 431.5 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.1119, allocations: 4.062 kB / 431.5 MB, free: 32 kB / 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: 0 () * 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 0.0001312/0.1121, allocations: 117.8 kB / 431.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.128e-05/0.1121, allocations: 45.64 kB / 431.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.282e-05/0.1122, allocations: 3.875 kB / 431.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1122, allocations: 4 kB / 431.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1122, allocations: 0 / 431.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1122, allocations: 0 / 431.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.1124, allocations: 181.5 kB / 431.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1124, allocations: 4 kB / 431.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.718e-05/0.1125, allocations: 12.02 kB / 431.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1125, allocations: 0 / 431.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.1125, allocations: 0 / 431.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.1125, allocations: 0 / 431.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1125, allocations: 4 kB / 431.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.1127, allocations: 156.3 kB / 432 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.1128, allocations: 101 kB / 432.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.1128, allocations: 7.984 kB / 432.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.59e-05/0.1129, allocations: 0 / 432.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.1129, allocations: 0 / 432.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.1129, allocations: 4 kB / 432.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.172e-05/0.113, allocations: 114.1 kB / 432.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.113, allocations: 0 / 432.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002228/0.1132, allocations: 4 kB / 432.2 MB, free: 15.18 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: 0 () * 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.0005367/0.1138, allocations: 0.6937 MB / 432.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001325/0.1139, allocations: 27.92 kB / 432.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1139, allocations: 0 / 432.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.745e-05/0.1139, allocations: 8.156 kB / 432.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.1143, allocations: 24.73 kB / 433 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.1157, allocations: 1.324 MB / 434.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.1161, allocations: 0.6924 MB / 435 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.99e-05/0.1161, allocations: 4 kB / 435 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.752e-05/0.1161, allocations: 19.42 kB / 435 MB, free: 12.25 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1161, allocations: 0 / 435 MB, free: 12.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/0.1409, allocations: 1.581 MB / 436.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.109/8.249, allocations: 7.922 kB / 436.6 MB, free: 10.8 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.csv --start-time 0 --stop-time 0.08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.59331e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.10191665776074] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 8.321830307133496 8.582987013 8.470622643 Calling exit ...