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.001281/0.001281, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001546/0.001546, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.416/1.416, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.002152/0.002152, allocations: 56.78 kB / 378.5 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2769, allocations: 53.37 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.003419/0.2803, allocations: 1.909 MB / 433.8 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002259/0.2826, allocations: 1.327 MB / 435.2 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.2827, allocations: 7.938 kB / 435.2 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00032/0.283, allocations: 67.66 kB / 435.2 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003677/0.2834, allocations: 131.4 kB / 435.4 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006783/0.2841, allocations: 230.7 kB / 435.6 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002654/0.2843, allocations: 183.5 kB / 435.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.2845, allocations: 21.73 kB / 435.8 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.2846, allocations: 83.62 kB / 435.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.2847, allocations: 87.55 kB / 435.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.2847, allocations: 12 kB / 436 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.2849, allocations: 79.88 kB / 436 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.565e-05/0.285, allocations: 47.84 kB / 436.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.273e-05/0.2851, allocations: 83.41 kB / 436.2 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003746/0.2855, allocations: 243.8 kB / 436.4 MB, free: 2.383 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2855, allocations: 4 kB / 436.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2855, allocations: 0 / 436.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.2855, allocations: 0 / 436.4 MB, free: 2.379 MB / 334.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.0007231/0.2862, allocations: 470.6 kB / 436.9 MB, free: 1.883 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.2863, allocations: 12.03 kB / 436.9 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.017e-05/0.2863, allocations: 34.75 kB / 436.9 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.519e-05/0.2864, allocations: 28.8 kB / 436.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004455/0.2868, allocations: 245.4 kB / 437.2 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.2868, allocations: 8.375 kB / 437.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.2868, allocations: 7.938 kB / 437.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003448/0.2872, allocations: 155.6 kB / 437.3 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.2872, allocations: 0 / 437.3 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.2872, allocations: 0 / 437.3 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.2872, allocations: 4 kB / 437.4 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.2873, allocations: 35.92 kB / 437.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005383/0.2879, allocations: 361.4 kB / 437.7 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.2881, allocations: 111.9 kB / 437.8 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.195e-05/0.2882, allocations: 50.5 kB / 437.9 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.2882, allocations: 4 kB / 437.9 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.2884, allocations: 75.38 kB / 438 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.2884, allocations: 0 / 438 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003953/0.2888, allocations: 157.5 kB / 438.1 MB, free: 464 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.2889, allocations: 158.2 kB / 438.3 MB, free: 268 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003852/0.2893, allocations: 337.9 kB / 438.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.2893, allocations: 33.7 kB / 438.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.977e-05/0.2894, allocations: 128.1 kB / 438.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.2895, allocations: 19.89 kB / 438.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/0.2895, allocations: 29.72 kB / 438.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.2897, allocations: 338.9 kB / 439.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.264e-05/0.2897, allocations: 23.98 kB / 439.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.2898, allocations: 90.84 kB / 439.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.29, allocations: 88.47 kB / 439.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.29, allocations: 0 / 439.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002562/0.2903, allocations: 125.4 kB / 439.5 MB, free: 15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.2903, allocations: 4 kB / 439.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2903, allocations: 0 / 439.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.2903, allocations: 12.06 kB / 439.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.2904, allocations: 23.92 kB / 439.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2904, allocations: 4 kB / 439.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.603e-05/0.2905, allocations: 11.88 kB / 439.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.2905, allocations: 7.984 kB / 439.5 MB, free: 14.93 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.0001482/0.2907, allocations: 153.8 kB / 439.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.582e-05/0.2908, allocations: 73.44 kB / 439.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002658/0.291, allocations: 115.4 kB / 439.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.291, allocations: 4 kB / 439.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.291, allocations: 0 / 439.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.291, allocations: 3.938 kB / 439.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.2913, allocations: 212.6 kB / 440.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2913, allocations: 4 kB / 440.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.25e-05/0.2913, allocations: 12 kB / 440.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.2913, allocations: 3.984 kB / 440.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.2913, allocations: 4 kB / 440.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2913, allocations: 0 / 440.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.2913, allocations: 8.109 kB / 440.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.2916, allocations: 170.5 kB / 440.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.779e-05/0.2917, allocations: 35.84 kB / 440.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.2917, allocations: 4 kB / 440.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.468e-05/0.2918, allocations: 7.984 kB / 440.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/0.2918, allocations: 23.86 kB / 440.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.2919, allocations: 4.047 kB / 440.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002474/0.2921, allocations: 241.2 kB / 440.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2921, allocations: 0 / 440.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.2924, allocations: 39.92 kB / 440.6 MB, free: 13.75 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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * 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.001966/0.2943, allocations: 1.024 MB / 441.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002482/0.2946, allocations: 75.91 kB / 441.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2946, allocations: 0 / 441.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.909e-05/0.2947, allocations: 23.98 kB / 441.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.2951, allocations: 65.3 kB / 441.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/0.2977, allocations: 2.23 MB / 444 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.298, allocations: 0.7437 MB / 444.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.2981, allocations: 25.48 kB / 444.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.2982, allocations: 59.41 kB / 444.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2982, allocations: 0 / 444.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03165/0.3299, allocations: 5.469 MB / 450.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.109/8.439, allocations: 7.188 kB / 450.3 MB, free: 4.059 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.911293884273618] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y'] 8.58143585268408 8.606974515 8.316686075 Calling exit ...