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.001815/0.001815, allocations: 120 kB / 18.5 MB, free: 4.52 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.002176/0.002176, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.658/1.658, allocations: 230.5 MB / 254.8 MB, free: 15.1 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.00201/0.00201, allocations: 67.84 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1226, allocations: 53.33 MB / 427 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003474/0.126, allocations: 1.63 MB / 428.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.1273, allocations: 0.5843 MB / 429.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.1275, allocations: 7.938 kB / 429.2 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.88e-05/0.1275, allocations: 7.875 kB / 429.2 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.1277, allocations: 19.84 kB / 429.3 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.1281, allocations: 63.06 kB / 429.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.1282, allocations: 67.72 kB / 429.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.1283, allocations: 16.22 kB / 429.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.1285, allocations: 35.8 kB / 429.4 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.564e-05/0.1286, allocations: 23.86 kB / 429.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.1286, allocations: 4 kB / 429.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.636e-05/0.1286, allocations: 7.984 kB / 429.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.495e-05/0.1287, allocations: 19.86 kB / 429.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.874e-05/0.1287, allocations: 39.73 kB / 429.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.1289, allocations: 67.61 kB / 429.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1289, allocations: 0 / 429.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1289, allocations: 4 kB / 429.6 MB, free: 2.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1289, allocations: 0 / 429.6 MB, free: 2.168 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.000612/0.1296, allocations: 395 kB / 430 MB, free: 1.734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.1296, allocations: 8.031 kB / 430 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.181e-05/0.1297, allocations: 38.75 kB / 430 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001789/0.1298, allocations: 24.83 kB / 430.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.1302, allocations: 220.1 kB / 430.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.1302, allocations: 384 / 430.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.1302, allocations: 8.375 kB / 430.3 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003585/0.1306, allocations: 138.8 kB / 430.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1306, allocations: 7.938 kB / 430.4 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.1306, allocations: 3.938 kB / 430.4 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.1306, allocations: 4 kB / 430.4 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.1307, allocations: 27.91 kB / 430.5 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.1312, allocations: 295.4 kB / 430.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.1314, allocations: 86.42 kB / 430.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.99e-05/0.1314, allocations: 39.5 kB / 430.9 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.41e-05/0.1315, allocations: 15.92 kB / 430.9 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.1315, allocations: 30.56 kB / 430.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.1315, allocations: 0 / 430.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003806/0.1319, allocations: 102 kB / 431 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.132, allocations: 140.5 kB / 431.2 MB, free: 352 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.1322, allocations: 153.5 kB / 431.3 MB, free: 192 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.1322, allocations: 25.7 kB / 431.3 MB, free: 160 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.979e-05/0.1323, allocations: 92.14 kB / 431.4 MB, free: 64 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.1323, allocations: 3.953 kB / 431.4 MB, free: 60 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-05/0.1324, allocations: 21.7 kB / 431.4 MB, free: 32 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002153/0.1326, allocations: 326.8 kB / 431.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.618e-05/0.1326, allocations: 15.98 kB / 431.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.547e-05/0.1327, allocations: 49.08 kB / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.1329, allocations: 65.08 kB / 431.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1329, allocations: 0 / 431.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001796/0.1331, allocations: 93.56 kB / 432 MB, free: 15.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.1331, allocations: 8 kB / 432 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1331, allocations: 0 / 432 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1331, allocations: 0 / 432 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.319e-05/0.1332, allocations: 15.98 kB / 432 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/0.1332, allocations: 3.938 kB / 432 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.805e-05/0.1332, allocations: 7.938 kB / 432 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.1333, allocations: 4 kB / 432 MB, free: 15.4 MB / 366.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 0.0001111/0.1334, allocations: 125.8 kB / 432.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.1335, allocations: 69.61 kB / 432.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.824e-05/0.1335, allocations: 15.86 kB / 432.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1335, allocations: 0 / 432.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.1335, allocations: 4 kB / 432.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1335, allocations: 0 / 432.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.1338, allocations: 185.5 kB / 432.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.1338, allocations: 0 / 432.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.067e-05/0.1338, allocations: 15.98 kB / 432.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1338, allocations: 0 / 432.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.1339, allocations: 12.22 kB / 432.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1339, allocations: 3.938 kB / 432.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1339, allocations: 0 / 432.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.1341, allocations: 198 kB / 432.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-05/0.1342, allocations: 101 kB / 432.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.1342, allocations: 0 / 432.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.531e-05/0.1343, allocations: 7.984 kB / 432.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.1343, allocations: 0 / 432.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.1343, allocations: 4 kB / 432.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.862e-05/0.1344, allocations: 115.2 kB / 432.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1344, allocations: 0 / 432.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002341/0.1346, allocations: 8 kB / 432.9 MB, free: 14.44 MB / 366.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.0005524/0.1352, allocations: 0.7304 MB / 433.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001725/0.1354, allocations: 51.91 kB / 433.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1354, allocations: 0 / 433.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.83e-05/0.1354, allocations: 12 kB / 433.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.1358, allocations: 46.38 kB / 433.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.1377, allocations: 1.499 MB / 435.2 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005823/0.1383, allocations: 0.6963 MB / 435.9 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.572e-05/0.1384, allocations: 8.656 kB / 435.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.37e-05/0.1385, allocations: 27.42 kB / 435.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1385, allocations: 0 / 435.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02853/0.167, allocations: 2.088 MB / 438 MB, free: 9.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.051/8.218, allocations: 11.45 kB / 438 MB, free: 9.242 MB / 366.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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_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_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: 11.235866968985647] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'backSample1.y'] 8.28801532369107 8.509119193 8.376231837 Calling exit ...