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.BackSample.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.001367/0.001367, allocations: 121.3 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.001406/0.001406, 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.447/1.447, allocations: 230.4 MB / 254.7 MB, free: 15.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.RealSignals.BackSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",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.002235/0.002235, allocations: 67.83 kB / 373.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1194, allocations: 53.32 MB / 426.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003465/0.1229, allocations: 1.63 MB / 428.5 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.1243, allocations: 0.5843 MB / 429.1 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.1244, allocations: 4 kB / 429.1 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.745e-05/0.1245, allocations: 11.86 kB / 429.1 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.1247, allocations: 19.86 kB / 429.1 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004474/0.1251, allocations: 63.75 kB / 429.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.1253, allocations: 63.72 kB / 429.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.1254, allocations: 16.2 kB / 429.3 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.1256, allocations: 39.8 kB / 429.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.1257, allocations: 27.86 kB / 429.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.1257, allocations: 0 / 429.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.506e-05/0.1258, allocations: 8 kB / 429.4 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.44e-05/0.1258, allocations: 19.91 kB / 429.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.439e-05/0.1259, allocations: 35.75 kB / 429.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.1261, allocations: 71.59 kB / 429.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1261, allocations: 0 / 429.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1261, allocations: 0 / 429.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.323e-06/0.1261, allocations: 0 / 429.5 MB, free: 2.238 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007672/0.1269, allocations: 391 kB / 429.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.127, allocations: 12.03 kB / 429.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.855e-05/0.127, allocations: 38.73 kB / 429.9 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/0.1272, allocations: 24.83 kB / 429.9 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003919/0.1276, allocations: 216.1 kB / 430.1 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.154e-06/0.1276, allocations: 384 / 430.1 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.1276, allocations: 8.375 kB / 430.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003477/0.128, allocations: 142.8 kB / 430.3 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.128, allocations: 7.875 kB / 430.3 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.128, allocations: 0 / 430.3 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.128, allocations: 0 / 430.3 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.727e-05/0.1281, allocations: 27.92 kB / 430.3 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004739/0.1286, allocations: 291.4 kB / 430.6 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.1289, allocations: 94.42 kB / 430.7 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.285e-05/0.129, allocations: 43.48 kB / 430.7 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.129, allocations: 7.938 kB / 430.8 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.129, allocations: 34.56 kB / 430.8 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.986e-06/0.129, allocations: 3.984 kB / 430.8 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003514/0.1294, allocations: 101.5 kB / 430.9 MB, free: 0.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.1295, allocations: 137 kB / 431 MB, free: 428 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.1297, allocations: 157.5 kB / 431.2 MB, free: 264 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.1297, allocations: 25.7 kB / 431.2 MB, free: 232 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.26e-05/0.1298, allocations: 88.14 kB / 431.3 MB, free: 140 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.1298, allocations: 11.94 kB / 431.3 MB, free: 128 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.1298, allocations: 17.72 kB / 431.3 MB, free: 104 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.2232/0.353, allocations: 326.6 kB / 431.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.3532, allocations: 6.625 kB / 431.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.965e-05/0.3533, allocations: 47.39 kB / 431.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.3534, allocations: 67.19 kB / 431.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.3534, allocations: 0 / 431.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000215/0.3536, allocations: 88.45 kB / 431.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.3536, allocations: 5.719 kB / 431.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3536, allocations: 3.219 kB / 431.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.3536, allocations: 1.094 kB / 431.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.3537, allocations: 16.5 kB / 431.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.3538, allocations: 1.75 kB / 431.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.026e-05/0.3538, allocations: 7.828 kB / 431.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.3538, allocations: 2.781 kB / 431.9 MB, free: 10.8 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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 8.486e-05/0.3539, allocations: 125.1 kB / 432 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.853e-05/0.354, allocations: 69.8 kB / 432.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.065e-05/0.354, allocations: 13.84 kB / 432.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3541, allocations: 5.625 kB / 432.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3541, allocations: 4.594 kB / 432.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.3541, allocations: 5.609 kB / 432.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.3542, allocations: 179.3 kB / 432.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3542, allocations: 2.266 kB / 432.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.032e-05/0.3543, allocations: 13.55 kB / 432.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.3543, allocations: 1.812 kB / 432.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.3543, allocations: 4.406 kB / 432.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3543, allocations: 5.578 kB / 432.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3543, allocations: 2.453 kB / 432.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.3545, allocations: 202 kB / 432.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.655e-05/0.3546, allocations: 99.52 kB / 432.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.3546, allocations: 5.297 kB / 432.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.095e-05/0.3547, allocations: 10.11 kB / 432.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.428e-05/0.3547, allocations: 3.359 kB / 432.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.3547, allocations: 2.875 kB / 432.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.94e-05/0.3548, allocations: 113.6 kB / 432.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3548, allocations: 0 / 432.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002483/0.355, allocations: 11.69 kB / 432.7 MB, free: 10.12 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0003075/0.3553, allocations: 0.7301 MB / 433.5 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001694/0.3555, allocations: 47.45 kB / 433.5 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3555, allocations: 0 / 433.5 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.232e-05/0.3555, allocations: 9.359 kB / 433.5 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.356, allocations: 45.03 kB / 433.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.3572, allocations: 1.495 MB / 435.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.3573, allocations: 0.7045 MB / 435.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.183e-05/0.3574, allocations: 6.391 kB / 435.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.429e-05/0.3574, allocations: 21.83 kB / 435.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3574, allocations: 0 / 435.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/0.3822, allocations: 2.088 MB / 437.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.364, allocations: 1.312 kB / 437.9 MB, free: 7.09 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample_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_BackSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.680594646837562] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'backSample1.y'] 8.433179250918329 8.450763055 8.321879213 Calling exit ...