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.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.001681/0.001681, allocations: 122.5 kB / 18.51 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.002062/0.002062, allocations: 215.2 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.682/1.682, 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.ShiftSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_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.001974/0.001974, allocations: 67.97 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1145, allocations: 53.33 MB / 427 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.002914/0.1174, allocations: 1.578 MB / 428.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.1184, allocations: 0.5571 MB / 429.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.828e-05/0.1185, allocations: 3.938 kB / 429.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.533e-05/0.1185, allocations: 11.92 kB / 429.1 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.1187, allocations: 11.88 kB / 429.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.119, allocations: 63.8 kB / 429.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.1191, allocations: 47.8 kB / 429.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.215e-05/0.1192, allocations: 12.17 kB / 429.3 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.1193, allocations: 31.86 kB / 429.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.339e-05/0.1194, allocations: 27.84 kB / 429.3 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.1194, allocations: 0 / 429.3 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.346e-05/0.1194, allocations: 15.94 kB / 429.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.684e-05/0.1195, allocations: 11.94 kB / 429.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.57e-05/0.1195, allocations: 23.8 kB / 429.4 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.1196, allocations: 63.67 kB / 429.4 MB, free: 2.316 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1197, allocations: 4 kB / 429.4 MB, free: 2.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1197, allocations: 0 / 429.4 MB, free: 2.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.1197, allocations: 0 / 429.4 MB, free: 2.312 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.000501/0.1202, allocations: 379.1 kB / 429.8 MB, free: 1.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1202, allocations: 12.03 kB / 429.8 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.559e-05/0.1202, allocations: 38.73 kB / 429.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.1204, allocations: 20.83 kB / 429.9 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.1207, allocations: 211.3 kB / 430.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.1207, allocations: 4.125 kB / 430.1 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.1207, allocations: 4 kB / 430.1 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.121, allocations: 113 kB / 430.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.121, allocations: 0 / 430.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.121, allocations: 0 / 430.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.121, allocations: 4 kB / 430.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.488e-05/0.1211, allocations: 15.92 kB / 430.2 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.1214, allocations: 261.8 kB / 430.5 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.471e-05/0.1215, allocations: 49.14 kB / 430.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.131e-05/0.1216, allocations: 17.77 kB / 430.6 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.1216, allocations: 8 kB / 430.6 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.1216, allocations: 34.56 kB / 430.6 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1216, allocations: 0 / 430.6 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002559/0.1219, allocations: 65.56 kB / 430.7 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.1219, allocations: 81.11 kB / 430.7 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.1221, allocations: 146 kB / 430.9 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.1221, allocations: 29.7 kB / 430.9 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.994e-05/0.1222, allocations: 88.12 kB / 431 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.1222, allocations: 3.953 kB / 431 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/0.1222, allocations: 17.72 kB / 431 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1224, allocations: 318.8 kB / 431.3 MB, free: 180 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.458e-05/0.1224, allocations: 8 kB / 431.3 MB, free: 172 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.597e-05/0.1225, allocations: 21.7 kB / 431.4 MB, free: 144 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.507e-05/0.1225, allocations: 33.64 kB / 431.4 MB, free: 104 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1225, allocations: 0 / 431.4 MB, free: 104 kB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000125/0.1227, allocations: 57.58 kB / 431.4 MB, free: 40 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1227, allocations: 8 kB / 431.5 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1227, allocations: 0 / 431.5 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1227, allocations: 4.125 kB / 431.5 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.008e-05/0.1228, allocations: 11.97 kB / 431.5 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1228, allocations: 11.81 kB / 431.5 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.622e-05/0.1228, allocations: 4 kB / 431.5 MB, free: 0 / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.1228, allocations: 0 / 431.5 MB, free: 0 / 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.0001057/0.1229, allocations: 113.8 kB / 431.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.721e-05/0.123, allocations: 45.64 kB / 431.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.575e-05/0.123, allocations: 11.88 kB / 431.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.123, allocations: 4.031 kB / 431.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.123, allocations: 7.875 kB / 431.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.123, allocations: 4 kB / 431.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.1232, allocations: 165.7 kB / 431.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1232, allocations: 0 / 431.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.671e-05/0.1233, allocations: 7.984 kB / 431.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.738e-06/0.1233, allocations: 4 kB / 431.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.1233, allocations: 0 / 431.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1233, allocations: 0 / 431.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.1233, allocations: 3.938 kB / 431.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/0.1235, allocations: 164.3 kB / 432 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.058e-05/0.1236, allocations: 89.05 kB / 432.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.1236, allocations: 0 / 432.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.899e-05/0.1237, allocations: 4 kB / 432.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.1237, allocations: 11.88 kB / 432.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.1237, allocations: 0 / 432.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.62e-05/0.1238, allocations: 119.4 kB / 432.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1238, allocations: 0 / 432.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002187/0.124, allocations: 4 kB / 432.2 MB, free: 15.15 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.0004913/0.1245, allocations: 0.6937 MB / 432.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001305/0.1246, allocations: 23.92 kB / 432.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1246, allocations: 4 kB / 433 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.851e-05/0.1247, allocations: 7.984 kB / 433 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.125, allocations: 17.86 kB / 433 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.1265, allocations: 1.337 MB / 434.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.1268, allocations: 0.6923 MB / 435 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.594e-05/0.1268, allocations: 0 / 435 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.246e-05/0.1269, allocations: 19.44 kB / 435 MB, free: 12.21 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1269, allocations: 4.031 kB / 435 MB, free: 12.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.1515, allocations: 1.658 MB / 436.7 MB, free: 10.69 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.12/8.272, allocations: 3.859 kB / 436.7 MB, free: 10.69 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79319e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.332021116279066] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 8.34159791097045 8.60408118 8.481298431999999 Calling exit ...