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.00178/0.00178, allocations: 120 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.002152/0.002152, allocations: 213.6 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.427/1.427, allocations: 230.5 MB / 254.8 MB, free: 15.12 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.00192/0.00192, allocations: 71.81 kB / 373.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09486/0.09678, allocations: 53.32 MB / 427 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.003455/0.1002, allocations: 1.905 MB / 428.9 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.1024, allocations: 1.309 MB / 430.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.1025, allocations: 3.938 kB / 430.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000288/0.1028, allocations: 71.66 kB / 430.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.1031, allocations: 127.4 kB / 430.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006336/0.1037, allocations: 222.5 kB / 430.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.104, allocations: 183.5 kB / 430.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1041, allocations: 21.53 kB / 430.8 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.1042, allocations: 83.58 kB / 430.9 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.1043, allocations: 83.67 kB / 431 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.1044, allocations: 8 kB / 431 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.1045, allocations: 75.88 kB / 431.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.05e-05/0.1046, allocations: 51.78 kB / 431.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.682e-05/0.1047, allocations: 79.47 kB / 431.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003372/0.105, allocations: 250.9 kB / 431.4 MB, free: 356 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.105, allocations: 0 / 431.4 MB, free: 356 kB / 350.1 MB Notification: Performance of FrontEnd: time 3.307e-06/0.105, allocations: 4 kB / 431.4 MB, free: 352 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.105, allocations: 0 / 431.4 MB, free: 352 kB / 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.1746/0.2796, allocations: 0.5322 MB / 432 MB, free: 11.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.2797, allocations: 8.562 kB / 432 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.074e-05/0.2797, allocations: 39.72 kB / 432 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.713e-05/0.2798, allocations: 24.11 kB / 432.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004502/0.2803, allocations: 294.1 kB / 432.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.2803, allocations: 8.844 kB / 432.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.2803, allocations: 5.547 kB / 432.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003691/0.2807, allocations: 157.4 kB / 432.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.2807, allocations: 3.938 kB / 432.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.2807, allocations: 9.203 kB / 432.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.2807, allocations: 1.75 kB / 432.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.2808, allocations: 35.56 kB / 432.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004932/0.2813, allocations: 384.5 kB / 432.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/0.2815, allocations: 115.5 kB / 433 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.041e-05/0.2816, allocations: 41.39 kB / 433.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.2817, allocations: 9.719 kB / 433.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.2818, allocations: 85.08 kB / 433.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.2818, allocations: 0 / 433.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004161/0.2822, allocations: 149.5 kB / 433.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.2823, allocations: 164 kB / 433.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.2826, allocations: 338.8 kB / 433.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.2826, allocations: 31.02 kB / 433.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.258e-05/0.2827, allocations: 127.7 kB / 434 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.2828, allocations: 22.75 kB / 434 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.047e-05/0.2828, allocations: 32.92 kB / 434 MB, free: 10 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.871e-05/0.2829, allocations: 340.9 kB / 434.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.155e-05/0.283, allocations: 22.09 kB / 434.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.2831, allocations: 81.98 kB / 434.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.2832, allocations: 87 kB / 434.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.2832, allocations: 0 / 434.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002119/0.2834, allocations: 130.6 kB / 434.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.2834, allocations: 4.688 kB / 434.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2834, allocations: 5.312 kB / 434.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.2834, allocations: 0 / 434.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.2835, allocations: 23.88 kB / 434.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.2836, allocations: 0 / 434.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.185e-05/0.2836, allocations: 7.062 kB / 434.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.2836, allocations: 3.812 kB / 434.7 MB, free: 9.539 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.0001001/0.2837, allocations: 167 kB / 434.9 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.898e-05/0.2838, allocations: 69.02 kB / 434.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.955e-05/0.2839, allocations: 36.25 kB / 435 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2839, allocations: 2.094 kB / 435 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2839, allocations: 0 / 435 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2839, allocations: 5.25 kB / 435 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.284, allocations: 241.9 kB / 435.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.284, allocations: 3.406 kB / 435.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.345e-05/0.2841, allocations: 13.06 kB / 435.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2841, allocations: 0 / 435.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.2841, allocations: 5.344 kB / 435.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.2841, allocations: 5.406 kB / 435.3 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2841, allocations: 3.844 kB / 435.3 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.2843, allocations: 163.2 kB / 435.4 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.095e-05/0.2844, allocations: 115.8 kB / 435.5 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.2844, allocations: 5.469 kB / 435.5 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.538e-05/0.2845, allocations: 8.281 kB / 435.5 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.2845, allocations: 10.5 kB / 435.6 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.2846, allocations: 5.031 kB / 435.6 MB, free: 8.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002123/0.2848, allocations: 252.4 kB / 435.8 MB, free: 8.883 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2848, allocations: 0 / 435.8 MB, free: 8.883 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.2851, allocations: 36.45 kB / 435.8 MB, free: 8.879 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.001786/0.2868, allocations: 1.016 MB / 436.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000213/0.2871, allocations: 76.98 kB / 436.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2871, allocations: 1.062 kB / 436.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.664e-05/0.2871, allocations: 25.73 kB / 437 MB, free: 8.199 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.2875, allocations: 65.59 kB / 437 MB, free: 8.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.2896, allocations: 2.235 MB / 439.3 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.2898, allocations: 0.7452 MB / 440 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.2899, allocations: 29.62 kB / 440 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.151e-05/0.29, allocations: 61.84 kB / 440.1 MB, free: 5.992 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.29, allocations: 1.812 kB / 440.1 MB, free: 5.992 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02902/0.319, allocations: 5.403 MB / 445.5 MB, free: 5.145 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.146/8.465, allocations: 3.672 kB / 445.5 MB, free: 5.145 MB / 350.1 MB " [Timeout remaining time 651] (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.994210550095886] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y'] 8.591160509269685 8.614371386 8.504996401 Calling exit ...