Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.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.001316/0.001316, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001437/0.001437, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.481/1.481, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.RealSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_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.00198/0.00198, allocations: 80.69 kB / 378.6 MB, free: 3.223 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2519, allocations: 53.36 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002887/0.2548, allocations: 1.604 MB / 433.5 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.2559, allocations: 0.5609 MB / 434.1 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.256, allocations: 4 kB / 434.1 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.345e-05/0.2561, allocations: 11.86 kB / 434.1 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.2562, allocations: 19.86 kB / 434.1 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.2565, allocations: 63.69 kB / 434.2 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.2566, allocations: 43.86 kB / 434.2 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.2567, allocations: 16.17 kB / 434.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.2569, allocations: 31.91 kB / 434.3 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.376e-05/0.2569, allocations: 19.86 kB / 434.3 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.257, allocations: 8 kB / 434.3 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.043e-05/0.257, allocations: 4 kB / 434.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.106e-05/0.257, allocations: 11.94 kB / 434.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.152e-05/0.2571, allocations: 35.73 kB / 434.4 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.2572, allocations: 60.52 kB / 434.4 MB, free: 4.387 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2573, allocations: 0 / 434.4 MB, free: 4.387 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2573, allocations: 0 / 434.4 MB, free: 4.387 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.2573, allocations: 0 / 434.4 MB, free: 4.387 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004953/0.2578, allocations: 313.9 kB / 434.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.2578, allocations: 8.031 kB / 434.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.559e-05/0.2578, allocations: 42.75 kB / 434.8 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.258, allocations: 16.88 kB / 434.8 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/0.2583, allocations: 142.9 kB / 434.9 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.2583, allocations: 8.125 kB / 434.9 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.2583, allocations: 4 kB / 434.9 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.2586, allocations: 117.9 kB / 435.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.2586, allocations: 3.938 kB / 435.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.2586, allocations: 4 kB / 435.1 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2586, allocations: 0 / 435.1 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.949e-05/0.2587, allocations: 19.98 kB / 435.1 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.259, allocations: 253.6 kB / 435.3 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.2591, allocations: 59.8 kB / 435.4 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.804e-05/0.2592, allocations: 38.62 kB / 435.4 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.2592, allocations: 3.984 kB / 435.4 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.2593, allocations: 34.56 kB / 435.5 MB, free: 3.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.2593, allocations: 4 kB / 435.5 MB, free: 3.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002774/0.2595, allocations: 97.72 kB / 435.6 MB, free: 3.055 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.836e-05/0.2596, allocations: 106.8 kB / 435.7 MB, free: 2.926 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.2598, allocations: 151.6 kB / 435.8 MB, free: 2.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.2598, allocations: 25.7 kB / 435.8 MB, free: 2.738 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.2598, allocations: 88.12 kB / 435.9 MB, free: 2.648 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.2598, allocations: 4 kB / 435.9 MB, free: 2.645 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.2599, allocations: 21.67 kB / 435.9 MB, free: 2.617 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.26, allocations: 322.9 kB / 436.3 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.272e-05/0.2601, allocations: 8 kB / 436.3 MB, free: 2.285 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.476e-05/0.2601, allocations: 31.42 kB / 436.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.707e-05/0.2602, allocations: 51.36 kB / 436.4 MB, free: 2.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2602, allocations: 3.938 kB / 436.4 MB, free: 2.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001416/0.2604, allocations: 73.55 kB / 436.4 MB, free: 2.098 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.2604, allocations: 4 kB / 436.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.2604, allocations: 4 kB / 436.4 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.2604, allocations: 0 / 436.4 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.379e-05/0.2605, allocations: 11.98 kB / 436.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.2605, allocations: 12.05 kB / 436.5 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.038e-05/0.2605, allocations: 4 kB / 436.5 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.2605, allocations: 0 / 436.5 MB, free: 2.062 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 9.326e-05/0.2606, allocations: 117.8 kB / 436.6 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.895e-05/0.2607, allocations: 57.53 kB / 436.6 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.707e-05/0.2608, allocations: 11.97 kB / 436.6 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2608, allocations: 3.984 kB / 436.7 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.2608, allocations: 7.938 kB / 436.7 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.2608, allocations: 4.062 kB / 436.7 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.261, allocations: 144.7 kB / 436.8 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.261, allocations: 0 / 436.8 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.268e-05/0.261, allocations: 15.98 kB / 436.8 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.261, allocations: 0 / 436.8 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.261, allocations: 0 / 436.8 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.261, allocations: 4 kB / 436.8 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.2611, allocations: 7.875 kB / 436.8 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.2613, allocations: 177.2 kB / 437 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.592e-05/0.2613, allocations: 19.94 kB / 437 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.2613, allocations: 0 / 437 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.871e-05/0.2614, allocations: 7.938 kB / 437 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.2614, allocations: 3.938 kB / 437 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.2614, allocations: 0 / 437 MB, free: 1.406 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.627e-05/0.2615, allocations: 118.1 kB / 437.2 MB, free: 1.293 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2615, allocations: 0 / 437.2 MB, free: 1.293 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002233/0.2617, allocations: 8 kB / 437.2 MB, free: 1.285 MB / 334.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0004931/0.2622, allocations: 0.7142 MB / 437.9 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001425/0.2624, allocations: 31.91 kB / 437.9 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2624, allocations: 0 / 437.9 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.828e-05/0.2624, allocations: 11.98 kB / 437.9 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.2628, allocations: 38.53 kB / 438 MB, free: 472 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.2643, allocations: 1.412 MB / 439.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.2646, allocations: 0.6924 MB / 440.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.405e-05/0.2646, allocations: 3.984 kB / 440.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.486e-05/0.2647, allocations: 15.44 kB / 440.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2647, allocations: 0 / 440.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02557/0.2903, allocations: 1.767 MB / 441.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.888/8.178, allocations: 6.578 kB / 441.8 MB, free: 12.53 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.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_RealSignals_ShiftSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.670271688140929] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y'] 8.250069891102612 8.278571011 8.015892485 Calling exit ...