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.SuperSample.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.001737/0.001737, allocations: 122.5 kB / 18.51 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.002011/0.002011, allocations: 215.2 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.601/1.601, allocations: 230.5 MB / 254.8 MB, free: 15.11 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.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",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.00202/0.00202, allocations: 71.83 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1262, allocations: 53.32 MB / 427 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003527/0.1297, allocations: 1.603 MB / 428.6 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.1311, allocations: 0.5688 MB / 429.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1312, allocations: 7.938 kB / 429.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.036e-05/0.1313, allocations: 7.922 kB / 429.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.1314, allocations: 7.875 kB / 429.2 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/0.1318, allocations: 71.73 kB / 429.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.1319, allocations: 47.78 kB / 429.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.132, allocations: 16.17 kB / 429.3 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.1322, allocations: 27.92 kB / 429.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.896e-05/0.1323, allocations: 19.86 kB / 429.4 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.1323, allocations: 7.938 kB / 429.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.892e-05/0.1323, allocations: 8 kB / 429.4 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.975e-05/0.1324, allocations: 15.92 kB / 429.4 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.461e-05/0.1324, allocations: 31.8 kB / 429.4 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.1326, allocations: 59.67 kB / 429.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.1326, allocations: 0 / 429.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1326, allocations: 3.938 kB / 429.5 MB, free: 2.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1326, allocations: 0 / 429.5 MB, free: 2.27 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005786/0.1332, allocations: 387 kB / 429.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.1332, allocations: 8.031 kB / 429.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.652e-05/0.1333, allocations: 34.75 kB / 429.9 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001854/0.1335, allocations: 20.88 kB / 430 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/0.1338, allocations: 207.3 kB / 430.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.1338, allocations: 4.125 kB / 430.2 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.1338, allocations: 8 kB / 430.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003069/0.1341, allocations: 117.9 kB / 430.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1342, allocations: 0 / 430.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.1342, allocations: 4 kB / 430.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.1342, allocations: 0 / 430.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.51e-05/0.1343, allocations: 31.91 kB / 430.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004146/0.1347, allocations: 270.5 kB / 430.6 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.1348, allocations: 71.84 kB / 430.7 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.235e-05/0.1349, allocations: 30.58 kB / 430.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.1349, allocations: 7.984 kB / 430.7 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.1349, allocations: 34.55 kB / 430.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.1349, allocations: 0 / 430.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003223/0.1353, allocations: 89.52 kB / 430.8 MB, free: 0.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.1354, allocations: 110.8 kB / 430.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.1356, allocations: 145.8 kB / 431.1 MB, free: 476 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.1356, allocations: 25.7 kB / 431.1 MB, free: 444 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.484e-05/0.1357, allocations: 92.14 kB / 431.2 MB, free: 348 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.1357, allocations: 384 / 431.2 MB, free: 348 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.126e-05/0.1357, allocations: 29.66 kB / 431.2 MB, free: 312 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.1359, allocations: 314.8 kB / 431.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.268e-05/0.136, allocations: 11.98 kB / 431.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.663e-05/0.136, allocations: 31.42 kB / 431.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.1361, allocations: 55.36 kB / 431.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1361, allocations: 0 / 431.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001516/0.1363, allocations: 61.62 kB / 431.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.1363, allocations: 4 kB / 431.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1363, allocations: 128 / 431.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.1363, allocations: 11.94 kB / 431.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.823e-05/0.1364, allocations: 11.92 kB / 431.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.1365, allocations: 7.938 kB / 431.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.355e-05/0.1365, allocations: 3.938 kB / 431.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.1365, allocations: 8 kB / 431.7 MB, free: 15.75 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.0001245/0.1366, allocations: 121.8 kB / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.581e-05/0.1367, allocations: 61.55 kB / 431.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/0.1368, allocations: 15.92 kB / 431.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1368, allocations: 0 / 431.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.1368, allocations: 3.938 kB / 431.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.1368, allocations: 4 kB / 431.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.137, allocations: 169.7 kB / 432.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.137, allocations: 0 / 432.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.825e-05/0.1371, allocations: 11.98 kB / 432.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1371, allocations: 4 kB / 432.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.1371, allocations: 0 / 432.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1371, allocations: 0 / 432.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1371, allocations: 3.938 kB / 432.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.1373, allocations: 181.1 kB / 432.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.166e-05/0.1374, allocations: 93.05 kB / 432.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.1374, allocations: 0 / 432.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.762e-05/0.1375, allocations: 7.984 kB / 432.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.1375, allocations: 7.938 kB / 432.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.1375, allocations: 4 kB / 432.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001054/0.1376, allocations: 115.4 kB / 432.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1376, allocations: 0 / 432.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002383/0.1379, allocations: 8 kB / 432.5 MB, free: 14.85 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0006061/0.1385, allocations: 0.7063 MB / 433.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001766/0.1387, allocations: 35.91 kB / 433.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1387, allocations: 0 / 433.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.929e-05/0.1387, allocations: 8 kB / 433.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.1391, allocations: 30.34 kB / 433.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.1409, allocations: 1.401 MB / 434.7 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.1413, allocations: 0.6963 MB / 435.4 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.707e-05/0.1413, allocations: 8.172 kB / 435.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.658e-05/0.1414, allocations: 15.44 kB / 435.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of SimCode: time 1.012e-06/0.1414, allocations: 3.938 kB / 435.4 MB, free: 11.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02687/0.1683, allocations: 1.718 MB / 437.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.157/8.325, allocations: 12.97 kB / 437.1 MB, free: 10.2 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.csv --start-time 0 --stop-time 0.08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.59331e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.19521516887471] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'superSample1.y'] 8.398852352052927 8.581835804 8.446242634 Calling exit ...