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.SampleClocked.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.001763/0.001763, allocations: 122.6 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.002074/0.002074, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.506/1.506, allocations: 230.5 MB / 254.8 MB, free: 14.92 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.SampleClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",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.00317/0.00317, allocations: 75.83 kB / 373.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1302, allocations: 53.32 MB / 427 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003142/0.1334, allocations: 1.574 MB / 428.6 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.1346, allocations: 0.5376 MB / 429.1 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.1347, allocations: 3.938 kB / 429.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.09e-05/0.1348, allocations: 7.922 kB / 429.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.1349, allocations: 11.94 kB / 429.1 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00036/0.1353, allocations: 51.83 kB / 429.2 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.1354, allocations: 43.78 kB / 429.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1355, allocations: 11.98 kB / 429.3 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.1357, allocations: 27.92 kB / 429.3 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.703e-05/0.1357, allocations: 15.92 kB / 429.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.1357, allocations: 4 kB / 429.3 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.09e-05/0.1358, allocations: 4 kB / 429.3 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.681e-05/0.1358, allocations: 15.92 kB / 429.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.792e-05/0.1359, allocations: 27.8 kB / 429.3 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.136, allocations: 55.7 kB / 429.4 MB, free: 2.363 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.136, allocations: 0 / 429.4 MB, free: 2.363 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.136, allocations: 0 / 429.4 MB, free: 2.363 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.136, allocations: 0 / 429.4 MB, free: 2.363 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005607/0.1366, allocations: 375.1 kB / 429.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.1367, allocations: 12.02 kB / 429.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/0.1367, allocations: 34.75 kB / 429.8 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.1368, allocations: 12.89 kB / 429.8 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.1371, allocations: 200.2 kB / 430 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.1371, allocations: 4.359 kB / 430 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.1372, allocations: 4.375 kB / 430 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.1374, allocations: 97.16 kB / 430.1 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.1374, allocations: 4 kB / 430.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.1374, allocations: 0 / 430.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1374, allocations: 0 / 430.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.623e-05/0.1375, allocations: 23.92 kB / 430.1 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003714/0.1379, allocations: 261.7 kB / 430.4 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.138, allocations: 49.16 kB / 430.5 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.623e-05/0.1381, allocations: 21.77 kB / 430.5 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.1381, allocations: 0 / 430.5 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.1381, allocations: 30.56 kB / 430.5 MB, free: 1.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1381, allocations: 4 kB / 430.5 MB, free: 1.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002816/0.1384, allocations: 69.66 kB / 430.6 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.009e-05/0.1385, allocations: 77.11 kB / 430.7 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.1386, allocations: 144.7 kB / 430.8 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.1386, allocations: 29.64 kB / 430.8 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.91e-05/0.1387, allocations: 88.12 kB / 430.9 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.1387, allocations: 4 kB / 430.9 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/0.1388, allocations: 13.67 kB / 430.9 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.1389, allocations: 330.9 kB / 431.2 MB, free: 260 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.224e-05/0.139, allocations: 4 kB / 431.3 MB, free: 256 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.679e-05/0.139, allocations: 25.64 kB / 431.3 MB, free: 224 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.49e-05/0.1391, allocations: 29.7 kB / 431.3 MB, free: 188 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1391, allocations: 0 / 431.3 MB, free: 188 kB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001223/0.1392, allocations: 53.69 kB / 431.4 MB, free: 128 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.1393, allocations: 10.34 kB / 431.4 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1393, allocations: 3.938 kB / 431.4 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1393, allocations: 0 / 431.4 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.496e-05/0.1393, allocations: 7.984 kB / 431.4 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1393, allocations: 0 / 431.4 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.876e-05/0.1394, allocations: 8 kB / 431.4 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.1394, allocations: 0 / 431.4 MB, free: 100 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.1941/0.3334, allocations: 117.4 kB / 431.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.3336, allocations: 40.7 kB / 431.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.601e-05/0.3336, allocations: 12.69 kB / 431.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3336, allocations: 1.094 kB / 431.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3336, allocations: 1 kB / 431.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3336, allocations: 0.5 kB / 431.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.3338, allocations: 175.5 kB / 431.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3338, allocations: 0.5625 kB / 431.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.194e-05/0.3339, allocations: 10.53 kB / 431.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.3339, allocations: 1.5 kB / 431.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.3339, allocations: 1.078 kB / 431.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.3339, allocations: 1.75 kB / 431.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3339, allocations: 2.656 kB / 431.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.3341, allocations: 164.4 kB / 431.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.3341, allocations: 89.8 kB / 432 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.3341, allocations: 1.953 kB / 432 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.3342, allocations: 2.75 kB / 432 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.3342, allocations: 7.828 kB / 432 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.3343, allocations: 1.594 kB / 432 MB, free: 10.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.674e-05/0.3343, allocations: 109.1 kB / 432.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3343, allocations: 0 / 432.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.3346, allocations: 5.031 kB / 432.1 MB, free: 10.29 MB / 350.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 (2): * Single equations (assignments): 2 * 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.0002676/0.3349, allocations: 0.6934 MB / 432.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001369/0.335, allocations: 23.75 kB / 432.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.335, allocations: 0 / 432.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.056e-05/0.335, allocations: 14.56 kB / 432.9 MB, free: 9.633 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.3354, allocations: 22.16 kB / 432.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.3364, allocations: 1.315 MB / 434.2 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.3365, allocations: 0.6887 MB / 434.9 MB, free: 7.754 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.15e-05/0.3365, allocations: 3.531 kB / 434.9 MB, free: 7.754 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.238e-05/0.3366, allocations: 14.34 kB / 434.9 MB, free: 7.746 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3366, allocations: 0 / 434.9 MB, free: 7.746 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02405/0.3606, allocations: 1.507 MB / 436.4 MB, free: 7.438 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.398/8.759, allocations: 7.594 kB / 436.4 MB, free: 7.434 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_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_SampleClocked.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.429759790189564] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 8.82612661877647 8.837969196 8.69932772 Calling exit ...