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.Sample1.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.001658/0.001658, 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.002174/0.002174, 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.563/1.563, allocations: 230.5 MB / 254.8 MB, free: 15.12 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.Sample1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",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.002042/0.002042, allocations: 63.84 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1285, allocations: 53.32 MB / 427 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003817/0.1323, allocations: 1.587 MB / 428.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.1336, allocations: 0.5453 MB / 429.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.1337, allocations: 3.938 kB / 429.2 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.444e-05/0.1338, allocations: 7.938 kB / 429.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.134, allocations: 11.92 kB / 429.2 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.1344, allocations: 59.33 kB / 429.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.1346, allocations: 47.78 kB / 429.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.1347, allocations: 8 kB / 429.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.1349, allocations: 31.91 kB / 429.3 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.263e-05/0.135, allocations: 19.86 kB / 429.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.135, allocations: 4 kB / 429.3 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.432e-05/0.135, allocations: 4 kB / 429.3 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.759e-05/0.1351, allocations: 15.92 kB / 429.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.667e-05/0.1352, allocations: 31.75 kB / 429.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.1354, allocations: 59.73 kB / 429.4 MB, free: 2.332 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/0.1354, allocations: 4 kB / 429.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1354, allocations: 0 / 429.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.1354, allocations: 0 / 429.5 MB, free: 2.328 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.0006306/0.136, allocations: 383 kB / 429.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.1361, allocations: 8.031 kB / 429.8 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.766e-05/0.1361, allocations: 30.75 kB / 429.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001954/0.1363, allocations: 28.83 kB / 429.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.1366, allocations: 206 kB / 430.1 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.1367, allocations: 4.375 kB / 430.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.1367, allocations: 8.359 kB / 430.1 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.137, allocations: 117.1 kB / 430.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.137, allocations: 4 kB / 430.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.137, allocations: 4 kB / 430.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.137, allocations: 0 / 430.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.854e-05/0.1371, allocations: 19.98 kB / 430.2 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/0.1375, allocations: 265.7 kB / 430.5 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.1378, allocations: 142.3 kB / 430.6 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.226e-05/0.1378, allocations: 25.72 kB / 430.7 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.1379, allocations: 7.984 kB / 430.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.1379, allocations: 30.56 kB / 430.7 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.1379, allocations: 0 / 430.7 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002865/0.1382, allocations: 81.56 kB / 430.8 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/0.1383, allocations: 89.05 kB / 430.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.1384, allocations: 138.1 kB / 431 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.1384, allocations: 25.7 kB / 431 MB, free: 496 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.448e-05/0.1385, allocations: 88.14 kB / 431.1 MB, free: 404 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.1385, allocations: 3.953 kB / 431.1 MB, free: 400 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.1385, allocations: 21.83 kB / 431.1 MB, free: 372 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1387, allocations: 322.8 kB / 431.5 MB, free: 40 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.828e-05/0.1388, allocations: 11.98 kB / 431.5 MB, free: 28 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.891e-05/0.1388, allocations: 31.44 kB / 431.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.1389, allocations: 47.36 kB / 431.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1389, allocations: 0 / 431.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001523/0.1391, allocations: 77.5 kB / 431.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1391, allocations: 7.938 kB / 431.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.1391, allocations: 8 kB / 431.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1391, allocations: 128 / 431.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.002e-05/0.1392, allocations: 15.98 kB / 431.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.1392, allocations: 0 / 431.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.171e-05/0.1392, allocations: 4 kB / 431.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.1392, allocations: 0 / 431.7 MB, free: 15.81 MB / 366.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.0001055/0.1393, allocations: 125.8 kB / 431.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.01e-05/0.1394, allocations: 49.59 kB / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.336e-05/0.1395, allocations: 12.23 kB / 431.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1395, allocations: 4 kB / 431.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1395, allocations: 4 kB / 431.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1395, allocations: 336 / 431.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.1397, allocations: 173.6 kB / 432 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1397, allocations: 0 / 432 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.645e-05/0.1397, allocations: 11.98 kB / 432 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1397, allocations: 0 / 432 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.1397, allocations: 0 / 432 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1397, allocations: 0 / 432 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1397, allocations: 3.984 kB / 432 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/0.14, allocations: 176.2 kB / 432.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.305e-05/0.14, allocations: 96.98 kB / 432.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.14, allocations: 4 kB / 432.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.381e-05/0.1401, allocations: 0 / 432.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.1401, allocations: 4 kB / 432.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.1402, allocations: 7.984 kB / 432.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.641e-05/0.1402, allocations: 106.2 kB / 432.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1402, allocations: 0 / 432.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002266/0.1405, allocations: 12 kB / 432.4 MB, free: 14.92 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.0004955/0.141, allocations: 0.7092 MB / 433.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001429/0.1411, allocations: 27.98 kB / 433.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1411, allocations: 0 / 433.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.775e-05/0.1411, allocations: 15.92 kB / 433.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.1415, allocations: 20.03 kB / 433.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.1429, allocations: 1.375 MB / 434.6 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.1432, allocations: 0.6885 MB / 435.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.352e-05/0.1432, allocations: 11.89 kB / 435.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.715e-05/0.1433, allocations: 15.44 kB / 435.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1433, allocations: 0 / 435.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02475/0.168, allocations: 1.596 MB / 436.9 MB, free: 10.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.207/8.375, allocations: 4 kB / 436.9 MB, free: 10.45 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.31098660826683] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 8.445600640028715 8.72426874 8.584786357 Calling exit ...