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.001748/0.001748, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.002124/0.002124, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.476/1.476, allocations: 230.5 MB / 254.7 MB, free: 15.01 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.002977/0.002977, allocations: 75.81 kB / 373.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1281, allocations: 53.31 MB / 426.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003083/0.1312, allocations: 1.607 MB / 428.5 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001/0.1322, allocations: 0.561 MB / 429.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.269e-05/0.1323, allocations: 0 / 429.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.359e-05/0.1323, allocations: 7.938 kB / 429.1 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.1324, allocations: 15.86 kB / 429.1 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003136/0.1328, allocations: 55.83 kB / 429.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.1329, allocations: 51.78 kB / 429.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.632e-05/0.133, allocations: 12.17 kB / 429.2 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.1331, allocations: 31.86 kB / 429.2 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.405e-05/0.1332, allocations: 19.86 kB / 429.2 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.1332, allocations: 4 kB / 429.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.896e-05/0.1332, allocations: 12 kB / 429.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.486e-05/0.1333, allocations: 19.91 kB / 429.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.592e-05/0.1333, allocations: 23.81 kB / 429.3 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.1335, allocations: 59.67 kB / 429.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1335, allocations: 0 / 429.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1335, allocations: 0 / 429.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.1335, allocations: 7.938 kB / 429.4 MB, free: 2.359 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.0005343/0.134, allocations: 387 kB / 429.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1341, allocations: 15.97 kB / 429.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.435e-05/0.1341, allocations: 34.75 kB / 429.8 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.1342, allocations: 16.88 kB / 429.8 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.1345, allocations: 203.2 kB / 430 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.1346, allocations: 8.125 kB / 430 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.1346, allocations: 0 / 430 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.1348, allocations: 121.9 kB / 430.1 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/0.1349, allocations: 3.984 kB / 430.1 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.1349, allocations: 0 / 430.1 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.1349, allocations: 0 / 430.1 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.135, allocations: 27.92 kB / 430.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.1354, allocations: 274.6 kB / 430.4 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.1355, allocations: 67.78 kB / 430.5 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.442e-05/0.1356, allocations: 30.64 kB / 430.5 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.1356, allocations: 7.922 kB / 430.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.1356, allocations: 34.56 kB / 430.6 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1356, allocations: 0 / 430.6 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002654/0.1359, allocations: 89.86 kB / 430.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.992e-05/0.136, allocations: 110.8 kB / 430.8 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.1361, allocations: 145.8 kB / 430.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.1361, allocations: 25.7 kB / 430.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.1362, allocations: 92.14 kB / 431 MB, free: 444 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.196e-05/0.1362, allocations: 0 / 431 MB, free: 444 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.1363, allocations: 25.66 kB / 431.1 MB, free: 412 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1364, allocations: 310.8 kB / 431.4 MB, free: 92 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.59e-05/0.1364, allocations: 19.98 kB / 431.4 MB, free: 72 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.134e-05/0.1365, allocations: 39.41 kB / 431.4 MB, free: 20 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1886/0.3251, allocations: 41.02 kB / 431.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3251, allocations: 5.469 kB / 431.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001911/0.3253, allocations: 65.36 kB / 431.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.3253, allocations: 5.312 kB / 431.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.3253, allocations: 1.719 kB / 431.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.3254, allocations: 4.266 kB / 431.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.202e-05/0.3255, allocations: 8.094 kB / 431.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3255, allocations: 10.31 kB / 431.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.92e-05/0.3255, allocations: 6.625 kB / 431.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-06/0.3255, allocations: 2.531 kB / 431.6 MB, free: 10.92 MB / 350.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 7.03e-05/0.3256, allocations: 123 kB / 431.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.116e-05/0.3257, allocations: 55.19 kB / 431.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.385e-05/0.3257, allocations: 14 kB / 431.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3257, allocations: 5.5 kB / 431.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3257, allocations: 1.75 kB / 431.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.3257, allocations: 0.5 kB / 431.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.3259, allocations: 173.5 kB / 431.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3259, allocations: 0.75 kB / 431.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.159e-05/0.3259, allocations: 10.73 kB / 431.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.326, allocations: 1.094 kB / 431.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.326, allocations: 6.141 kB / 431.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.326, allocations: 1.125 kB / 431.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.326, allocations: 2.5 kB / 432 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.3261, allocations: 182.1 kB / 432.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.918e-05/0.3262, allocations: 92.86 kB / 432.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.3262, allocations: 2.219 kB / 432.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.391e-05/0.3263, allocations: 3.797 kB / 432.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.3263, allocations: 1.016 kB / 432.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-06/0.3263, allocations: 6.609 kB / 432.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.69e-05/0.3264, allocations: 115.1 kB / 432.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3264, allocations: 0 / 432.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000233/0.3266, allocations: 9.125 kB / 432.4 MB, free: 10.25 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: 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.0002917/0.3269, allocations: 0.7141 MB / 433.1 MB, free: 9.578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001482/0.327, allocations: 35.23 kB / 433.1 MB, free: 9.578 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.327, allocations: 0 / 433.1 MB, free: 9.578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.963e-05/0.3271, allocations: 14.27 kB / 433.1 MB, free: 9.578 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.3275, allocations: 32.42 kB / 433.1 MB, free: 9.574 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.3286, allocations: 1.395 MB / 434.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.3287, allocations: 0.694 MB / 435.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.597e-05/0.3288, allocations: 10.12 kB / 435.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.798e-05/0.3288, allocations: 17.72 kB / 435.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3288, allocations: 0 / 435.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/0.3537, allocations: 1.77 MB / 437 MB, free: 7.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.058/8.411, allocations: 7.594 kB / 437 MB, free: 7.316 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 --stepSize=1.79319e-05 --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.784621972125024] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y'] 8.478219655808061 8.48920711 8.353275502 Calling exit ...