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.001768/0.001768, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.002137/0.002137, allocations: 220.6 kB / 23 MB, free: 5.605 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.407/1.407, allocations: 230.4 MB / 256.5 MB, free: 8.449 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.001979/0.001979, allocations: 71.83 kB / 376.2 MB, free: 4.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2367, allocations: 53.3 MB / 429.5 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002979/0.2397, allocations: 1.612 MB / 431.1 MB, free: 5.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.2408, allocations: 0.5609 MB / 431.7 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.2409, allocations: 7.938 kB / 431.7 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.554e-05/0.241, allocations: 7.875 kB / 431.7 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.2412, allocations: 15.92 kB / 431.7 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.2416, allocations: 62.52 kB / 431.8 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.2417, allocations: 47.84 kB / 431.8 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.2418, allocations: 12.17 kB / 431.9 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.242, allocations: 27.86 kB / 431.9 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.762e-05/0.242, allocations: 19.92 kB / 431.9 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.2421, allocations: 4 kB / 431.9 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.328e-05/0.2421, allocations: 8 kB / 431.9 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.593e-05/0.2422, allocations: 15.91 kB / 431.9 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.705e-05/0.2422, allocations: 31.69 kB / 432 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.2424, allocations: 64.16 kB / 432 MB, free: 4.957 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2425, allocations: 4 kB / 432 MB, free: 4.953 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.2425, allocations: 0 / 432 MB, free: 4.953 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.2425, allocations: 0 / 432 MB, free: 4.953 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.0006815/0.2431, allocations: 387 kB / 432.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.2432, allocations: 8.031 kB / 432.4 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.8e-05/0.2432, allocations: 34.75 kB / 432.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/0.2434, allocations: 20.88 kB / 432.5 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003699/0.2438, allocations: 206.2 kB / 432.7 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.2438, allocations: 8.125 kB / 432.7 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.2438, allocations: 7.938 kB / 432.7 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/0.2442, allocations: 121.9 kB / 432.8 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.2442, allocations: 4 kB / 432.8 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.2442, allocations: 0 / 432.8 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.2442, allocations: 4 kB / 432.8 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.807e-05/0.2443, allocations: 19.98 kB / 432.8 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.2447, allocations: 270.5 kB / 433.1 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.2448, allocations: 71.78 kB / 433.2 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.181e-05/0.2449, allocations: 30.62 kB / 433.2 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.2449, allocations: 4 kB / 433.2 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/0.245, allocations: 38.56 kB / 433.2 MB, free: 3.527 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/0.245, allocations: 3.938 kB / 433.2 MB, free: 3.523 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002959/0.2453, allocations: 89.45 kB / 433.3 MB, free: 3.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.317e-05/0.2453, allocations: 106.8 kB / 433.4 MB, free: 3.301 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.2455, allocations: 155 kB / 433.6 MB, free: 3.141 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.2455, allocations: 29.7 kB / 433.6 MB, free: 3.105 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.2456, allocations: 88.14 kB / 433.7 MB, free: 3.016 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.2456, allocations: 4 kB / 433.7 MB, free: 3.012 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.2456, allocations: 21.66 kB / 433.7 MB, free: 2.984 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.2458, allocations: 318.8 kB / 434 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.277e-05/0.2458, allocations: 7.984 kB / 434 MB, free: 2.656 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.643e-05/0.2459, allocations: 43.41 kB / 434.1 MB, free: 2.602 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.246, allocations: 47.36 kB / 434.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.246, allocations: 0 / 434.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001404/0.2461, allocations: 73.56 kB / 434.2 MB, free: 2.465 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.2461, allocations: 4 kB / 434.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2461, allocations: 0 / 434.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.2462, allocations: 4 kB / 434.2 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.224e-05/0.2462, allocations: 7.984 kB / 434.2 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.2462, allocations: 7.938 kB / 434.2 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.819e-05/0.2463, allocations: 0 / 434.2 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.2463, allocations: 4 kB / 434.2 MB, free: 2.438 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.686e-05/0.2464, allocations: 122 kB / 434.3 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.676e-05/0.2465, allocations: 57.55 kB / 434.4 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.855e-05/0.2465, allocations: 15.86 kB / 434.4 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2465, allocations: 0 / 434.4 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.2465, allocations: 3.938 kB / 434.4 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2465, allocations: 0 / 434.4 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.2467, allocations: 173.6 kB / 434.6 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2467, allocations: 0 / 434.6 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.033e-05/0.2468, allocations: 11.98 kB / 434.6 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.2468, allocations: 8.062 kB / 434.6 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.2468, allocations: 0 / 434.6 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.2468, allocations: 3.938 kB / 434.6 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.2468, allocations: 3.938 kB / 434.6 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.247, allocations: 177.2 kB / 434.8 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-05/0.2471, allocations: 97.05 kB / 434.9 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.2471, allocations: 11.92 kB / 434.9 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.87e-05/0.2472, allocations: 4 kB / 434.9 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.2473, allocations: 3.938 kB / 434.9 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.2473, allocations: 4 kB / 434.9 MB, free: 1.641 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.91e-05/0.2473, allocations: 111 kB / 435 MB, free: 1.535 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2473, allocations: 0 / 435 MB, free: 1.535 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.2476, allocations: 12 kB / 435 MB, free: 1.523 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.0005728/0.2481, allocations: 0.7101 MB / 435.7 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.2483, allocations: 35.91 kB / 435.8 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2483, allocations: 4.25 kB / 435.8 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.675e-05/0.2484, allocations: 4 kB / 435.8 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.2488, allocations: 38.84 kB / 435.8 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.2503, allocations: 1.409 MB / 437.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.2506, allocations: 0.6885 MB / 437.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.84e-05/0.2507, allocations: 8 kB / 437.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.875e-05/0.2507, allocations: 19.42 kB / 437.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2507, allocations: 0 / 437.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02397/0.2747, allocations: 1.73 MB / 439.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.608/7.883, allocations: 11.23 kB / 439.7 MB, free: 12.8 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 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.115697314002318] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y'] 7.952482041990152 7.971029207 7.72451834 Calling exit ...