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.Sample2.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.001891/0.001891, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.002283/0.002283, allocations: 214.6 kB / 21.46 MB, free: 1.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.508/1.508, allocations: 230.5 MB / 254.7 MB, free: 15.18 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.Sample2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",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.002023/0.002023, allocations: 79.81 kB / 373.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.128, allocations: 53.31 MB / 426.9 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003186/0.1311, allocations: 1.556 MB / 428.5 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004072/0.1315, allocations: 147.5 kB / 428.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.153e-05/0.1316, allocations: 4 kB / 428.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.749e-05/0.1317, allocations: 3.938 kB / 428.6 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.1318, allocations: 3.938 kB / 428.6 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.132, allocations: 43.83 kB / 428.7 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.1321, allocations: 31.86 kB / 428.7 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1322, allocations: 15.98 kB / 428.7 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.799e-05/0.1323, allocations: 15.92 kB / 428.7 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.047e-05/0.1323, allocations: 19.86 kB / 428.7 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.1324, allocations: 4 kB / 428.7 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.223e-05/0.1324, allocations: 4 kB / 428.7 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.6e-05/0.1324, allocations: 11.94 kB / 428.8 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.35e-05/0.1325, allocations: 19.88 kB / 428.8 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.1326, allocations: 51.67 kB / 428.8 MB, free: 2.938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1326, allocations: 4 kB / 428.8 MB, free: 2.934 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1326, allocations: 0 / 428.8 MB, free: 2.934 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1326, allocations: 4 kB / 428.8 MB, free: 2.93 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005984/0.1332, allocations: 367.2 kB / 429.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.1332, allocations: 8.031 kB / 429.2 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.446e-05/0.1333, allocations: 38.69 kB / 429.2 MB, free: 2.465 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.826e-05/0.1333, allocations: 12.88 kB / 429.2 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.1336, allocations: 192.2 kB / 429.4 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.1336, allocations: 384 / 429.4 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.1336, allocations: 8.375 kB / 429.4 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.1339, allocations: 117.6 kB / 429.6 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1339, allocations: 3.938 kB / 429.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1339, allocations: 4 kB / 429.6 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.1339, allocations: 0 / 429.6 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.806e-05/0.134, allocations: 23.92 kB / 429.6 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003696/0.1344, allocations: 253.8 kB / 429.8 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.1346, allocations: 142.2 kB / 430 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.045e-05/0.1347, allocations: 33.77 kB / 430 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.1347, allocations: 3.938 kB / 430 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.1347, allocations: 30.56 kB / 430 MB, free: 1.496 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.1347, allocations: 0 / 430 MB, free: 1.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002618/0.135, allocations: 77.56 kB / 430.1 MB, free: 1.414 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.1351, allocations: 77.23 kB / 430.2 MB, free: 1.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.1352, allocations: 148.8 kB / 430.3 MB, free: 1.164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.1352, allocations: 25.7 kB / 430.4 MB, free: 1.133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.79e-05/0.1353, allocations: 84.14 kB / 430.4 MB, free: 1.047 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.1353, allocations: 7.953 kB / 430.5 MB, free: 1.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.1353, allocations: 21.66 kB / 430.5 MB, free: 1.012 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1355, allocations: 318.8 kB / 430.8 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.866e-05/0.1355, allocations: 4 kB / 430.8 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.959e-05/0.1356, allocations: 39.42 kB / 430.8 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.258e-05/0.1357, allocations: 43.36 kB / 430.9 MB, free: 0.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.1357, allocations: 3.938 kB / 430.9 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001337/0.1358, allocations: 65.62 kB / 430.9 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.1358, allocations: 4 kB / 430.9 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1358, allocations: 7.984 kB / 431 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1358, allocations: 0 / 431 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.119e-05/0.1359, allocations: 8 kB / 431 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.1359, allocations: 3.938 kB / 431 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.371e-05/0.1359, allocations: 7.953 kB / 431 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.1359, allocations: 4.125 kB / 431 MB, free: 484 kB / 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 0.0001007/0.136, allocations: 125.8 kB / 431.1 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.13e-05/0.1361, allocations: 41.69 kB / 431.1 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.509e-05/0.1362, allocations: 12.58 kB / 431.1 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1362, allocations: 0 / 431.1 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.1362, allocations: 4 kB / 431.2 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1362, allocations: 3.984 kB / 431.2 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.1364, allocations: 173.5 kB / 431.3 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1364, allocations: 4 kB / 431.3 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.602e-05/0.1364, allocations: 15.94 kB / 431.3 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1364, allocations: 0 / 431.3 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.1364, allocations: 3.984 kB / 431.3 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1364, allocations: 4 kB / 431.4 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1364, allocations: 0 / 431.4 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.1366, allocations: 168.2 kB / 431.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.084e-05/0.1367, allocations: 93.05 kB / 431.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.1367, allocations: 7.984 kB / 431.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.444e-05/0.1368, allocations: 0 / 431.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/0.1368, allocations: 4 kB / 431.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.1368, allocations: 0 / 431.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.653e-05/0.1369, allocations: 103.3 kB / 431.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1369, allocations: 0 / 431.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000219/0.1371, allocations: 4 kB / 431.7 MB, free: 15.61 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0005717/0.1377, allocations: 0.7093 MB / 432.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001289/0.1378, allocations: 27.92 kB / 432.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1378, allocations: 0 / 432.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.757e-05/0.1378, allocations: 12.23 kB / 432.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.1382, allocations: 19.97 kB / 432.5 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.1397, allocations: 1.33 MB / 433.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.14, allocations: 0.6885 MB / 434.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.129e-05/0.1401, allocations: 4 kB / 434.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.358e-05/0.1401, allocations: 11.44 kB / 434.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1401, allocations: 0 / 434.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.1651, allocations: 1.505 MB / 436 MB, free: 11.28 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.338/8.503, allocations: 8 kB / 436 MB, free: 11.27 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.128164728172123] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 8.573234436102211 8.776836916 8.461479359 Calling exit ...