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.ShiftSample.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.001505/0.001505, allocations: 123.4 kB / 18.46 MB, free: 4.566 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.001964/0.001964, allocations: 209.7 kB / 21.41 MB, free: 1.617 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.47/1.47, allocations: 227.7 MB / 251.9 MB, free: 15.86 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.ShiftSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_ShiftSample",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.001961/0.001961, allocations: 71.83 kB / 365.2 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09997/0.1019, allocations: 50.54 MB / 415.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.003296/0.1053, allocations: 1.891 MB / 417.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002108/0.1074, allocations: 1.29 MB / 418.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.1075, allocations: 0 / 418.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000307/0.1079, allocations: 75.66 kB / 419 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003543/0.1082, allocations: 131.4 kB / 419.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006216/0.1089, allocations: 222.3 kB / 419.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.1091, allocations: 175.5 kB / 419.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1092, allocations: 29.56 kB / 419.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.1094, allocations: 79.62 kB / 419.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.1095, allocations: 79.67 kB / 419.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.1095, allocations: 11.94 kB / 419.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.1097, allocations: 63.97 kB / 419.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.108e-05/0.1098, allocations: 55.81 kB / 419.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.1099, allocations: 79.42 kB / 419.9 MB, free: 9.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003657/0.1103, allocations: 246.9 kB / 420.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1103, allocations: 4 kB / 420.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1103, allocations: 0 / 420.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.1103, allocations: 3.938 kB / 420.2 MB, free: 9.16 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007835/0.1111, allocations: 0.5465 MB / 420.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.1111, allocations: 8.031 kB / 420.7 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.693e-05/0.1112, allocations: 34.75 kB / 420.8 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.11e-05/0.1112, allocations: 24.8 kB / 420.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.1117, allocations: 299.7 kB / 421.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.1117, allocations: 4.375 kB / 421.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.1117, allocations: 11.94 kB / 421.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.1121, allocations: 151.6 kB / 421.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1121, allocations: 4 kB / 421.2 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.1121, allocations: 4 kB / 421.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1121, allocations: 0 / 421.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.1122, allocations: 35.92 kB / 421.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005419/0.1128, allocations: 386.3 kB / 421.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.1131, allocations: 127.8 kB / 421.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.948e-05/0.1132, allocations: 42.56 kB / 421.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.1132, allocations: 7.984 kB / 421.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.1134, allocations: 83.38 kB / 421.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.1134, allocations: 0 / 421.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.000403/0.1138, allocations: 153.4 kB / 422.1 MB, free: 7.023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.1139, allocations: 162.5 kB / 422.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003739/0.1143, allocations: 342.6 kB / 422.6 MB, free: 6.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.1143, allocations: 25.7 kB / 422.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.1144, allocations: 140 kB / 422.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.1145, allocations: 15.91 kB / 422.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-05/0.1145, allocations: 25.7 kB / 422.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1147, allocations: 334.8 kB / 423.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.01e-05/0.1148, allocations: 19.98 kB / 423.1 MB, free: 5.906 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.1149, allocations: 90.78 kB / 423.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.1151, allocations: 84.22 kB / 423.3 MB, free: 5.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.1151, allocations: 4 kB / 423.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002332/0.1153, allocations: 121.5 kB / 423.4 MB, free: 5.566 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1153, allocations: 8 kB / 423.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1154, allocations: 3.984 kB / 423.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1154, allocations: 0 / 423.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.1155, allocations: 19.94 kB / 423.4 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.1155, allocations: 4 kB / 423.4 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.27e-05/0.1156, allocations: 19.98 kB / 423.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.1156, allocations: 4 kB / 423.5 MB, free: 5.508 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.000142/0.1158, allocations: 149.8 kB / 423.6 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.886e-05/0.1159, allocations: 77.44 kB / 423.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.364e-05/0.1159, allocations: 25.7 kB / 423.7 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1159, allocations: 7.938 kB / 423.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1159, allocations: 320 / 423.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.116, allocations: 3.938 kB / 423.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/0.1162, allocations: 241.6 kB / 424 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1162, allocations: 3.984 kB / 424 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.258e-05/0.1163, allocations: 15.94 kB / 424 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.1163, allocations: 0 / 424 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.1163, allocations: 8 kB / 424 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1163, allocations: 0 / 424 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.1163, allocations: 3.984 kB / 424 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/0.1166, allocations: 170.5 kB / 424.2 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.1168, allocations: 112.9 kB / 424.3 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.1168, allocations: 8 kB / 424.3 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.365e-05/0.1169, allocations: 3.984 kB / 424.3 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.321e-05/0.1169, allocations: 11.94 kB / 424.3 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.117, allocations: 4 kB / 424.3 MB, free: 4.566 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002706/0.1172, allocations: 249.9 kB / 424.5 MB, free: 4.324 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1172, allocations: 0 / 424.5 MB, free: 4.324 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.1175, allocations: 35.94 kB / 424.6 MB, free: 4.289 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: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001972/0.1195, allocations: 1.02 MB / 425.6 MB, free: 3.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002382/0.1197, allocations: 87.78 kB / 425.7 MB, free: 3.324 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1198, allocations: 0 / 425.7 MB, free: 3.324 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.665e-05/0.1198, allocations: 31.98 kB / 425.7 MB, free: 3.293 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.1203, allocations: 70.17 kB / 425.8 MB, free: 3.223 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/0.123, allocations: 2.224 MB / 428 MB, free: 0.875 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.1234, allocations: 0.7436 MB / 428.7 MB, free: 108 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.174e-05/0.1235, allocations: 25.53 kB / 428.8 MB, free: 84 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.1237, allocations: 67.41 kB / 428.8 MB, free: 16 kB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1237, allocations: 0 / 428.8 MB, free: 16 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02704/0.1507, allocations: 5.362 MB / 434.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.07/8.221, allocations: 13.59 kB / 434.2 MB, free: 10.81 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79104e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_ShiftSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.87200092501007] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y'] 8.350536888930947 8.555697121 8.442782883 Calling exit ...