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.SubSample.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.001774/0.001774, allocations: 122.6 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.002049/0.002049, 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.55/1.55, allocations: 230.5 MB / 254.8 MB, free: 15.27 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.SubSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",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.001877/0.001877, allocations: 71.83 kB / 373.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1089, allocations: 53.32 MB / 427 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.00313/0.1121, allocations: 1.576 MB / 428.6 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1132, allocations: 0.5338 MB / 429.1 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.1133, allocations: 7.938 kB / 429.1 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.952e-05/0.1133, allocations: 3.938 kB / 429.1 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.1135, allocations: 23.78 kB / 429.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.1138, allocations: 55.81 kB / 429.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.1139, allocations: 47.86 kB / 429.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.114, allocations: 16.11 kB / 429.3 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.1141, allocations: 31.91 kB / 429.3 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.902e-05/0.1142, allocations: 15.88 kB / 429.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.1142, allocations: 4 kB / 429.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.225e-05/0.1143, allocations: 7.984 kB / 429.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.682e-05/0.1143, allocations: 11.94 kB / 429.3 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.256e-05/0.1144, allocations: 35.78 kB / 429.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.1145, allocations: 55.75 kB / 429.4 MB, free: 2.395 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1145, allocations: 0 / 429.4 MB, free: 2.395 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1145, allocations: 3.938 kB / 429.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.1145, allocations: 3.938 kB / 429.4 MB, free: 2.387 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.0005598/0.1151, allocations: 387 kB / 429.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.1151, allocations: 8.031 kB / 429.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.067e-05/0.1152, allocations: 30.75 kB / 429.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.1153, allocations: 20.88 kB / 429.9 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.1156, allocations: 202.6 kB / 430.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.1156, allocations: 4.375 kB / 430.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.1157, allocations: 4.375 kB / 430.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003024/0.116, allocations: 109 kB / 430.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.116, allocations: 0 / 430.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.116, allocations: 4 kB / 430.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.116, allocations: 0 / 430.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.517e-05/0.1161, allocations: 19.92 kB / 430.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003631/0.1164, allocations: 261.8 kB / 430.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.1165, allocations: 49.14 kB / 430.5 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.46e-05/0.1166, allocations: 17.78 kB / 430.5 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.1166, allocations: 4 kB / 430.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.1166, allocations: 30.56 kB / 430.5 MB, free: 1.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1166, allocations: 0 / 430.5 MB, free: 1.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002672/0.1169, allocations: 77.5 kB / 430.6 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/0.117, allocations: 81.11 kB / 430.7 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.1171, allocations: 137.8 kB / 430.8 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.1171, allocations: 25.7 kB / 430.9 MB, free: 0.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.432e-05/0.1172, allocations: 88.14 kB / 430.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.1172, allocations: 7.938 kB / 431 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/0.1172, allocations: 25.89 kB / 431 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1174, allocations: 322.8 kB / 431.3 MB, free: 260 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.905e-05/0.1175, allocations: 11.98 kB / 431.3 MB, free: 248 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.355e-05/0.1175, allocations: 13.72 kB / 431.3 MB, free: 228 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.553e-05/0.1176, allocations: 33.64 kB / 431.4 MB, free: 188 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1176, allocations: 4.062 kB / 431.4 MB, free: 184 kB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001327/0.1177, allocations: 61.56 kB / 431.4 MB, free: 116 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.1177, allocations: 4 kB / 431.4 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.1178, allocations: 4 kB / 431.4 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1178, allocations: 0 / 431.4 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.142e-05/0.1178, allocations: 4 kB / 431.4 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1178, allocations: 0 / 431.4 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.855e-05/0.1179, allocations: 8 kB / 431.4 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.1179, allocations: 64 / 431.4 MB, free: 96 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.0001382/0.118, allocations: 125.8 kB / 431.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-05/0.1181, allocations: 41.59 kB / 431.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.22e-05/0.1181, allocations: 15.81 kB / 431.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.1181, allocations: 0 / 431.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1181, allocations: 0 / 431.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1182, allocations: 0 / 431.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.1184, allocations: 173.6 kB / 431.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1184, allocations: 0 / 431.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.653e-05/0.1184, allocations: 8.031 kB / 431.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1184, allocations: 0 / 431.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.1184, allocations: 0 / 431.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.1184, allocations: 7.984 kB / 431.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1184, allocations: 0 / 431.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.1186, allocations: 160.2 kB / 432 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.272e-05/0.1187, allocations: 97.08 kB / 432.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.1187, allocations: 0 / 432.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.404e-05/0.1188, allocations: 3.938 kB / 432.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.1189, allocations: 15.97 kB / 432.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.1189, allocations: 0 / 432.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.196e-05/0.119, allocations: 104.5 kB / 432.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.119, allocations: 0 / 432.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.1192, allocations: 8 kB / 432.2 MB, free: 15.24 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.0005897/0.1198, allocations: 0.6898 MB / 432.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001438/0.1199, allocations: 31.91 kB / 432.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1199, allocations: 0 / 432.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.835e-05/0.12, allocations: 8.156 kB / 432.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.1203, allocations: 24.12 kB / 432.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.1219, allocations: 1.329 MB / 434.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.1223, allocations: 0.6924 MB / 435 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.594e-05/0.1224, allocations: 4 kB / 435 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.275e-05/0.1224, allocations: 11.44 kB / 435 MB, free: 12.31 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1224, allocations: 0 / 435 MB, free: 12.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/0.1499, allocations: 1.571 MB / 436.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.286/8.436, allocations: 10.27 kB / 436.6 MB, free: 10.88 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_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_ClockSignals_SubSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.241290480364114] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 8.506770324893296 8.747509922 8.413196465 Calling exit ...