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.001683/0.001683, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001986/0.001986, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.438/1.438, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.00194/0.00194, allocations: 64.77 kB / 378.6 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2601, allocations: 53.36 MB / 431.9 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002822/0.2629, allocations: 1.6 MB / 433.5 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009623/0.2638, allocations: 0.5415 MB / 434.1 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.626e-05/0.2639, allocations: 11.88 kB / 434.1 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.023e-05/0.264, allocations: 3.938 kB / 434.1 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.2641, allocations: 7.922 kB / 434.1 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.2644, allocations: 58.2 kB / 434.1 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.2645, allocations: 43.84 kB / 434.2 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.114e-05/0.2646, allocations: 11.98 kB / 434.2 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.2647, allocations: 31.86 kB / 434.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.071e-05/0.2648, allocations: 23.86 kB / 434.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.2648, allocations: 4 kB / 434.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.082e-05/0.2648, allocations: 12 kB / 434.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.708e-05/0.2649, allocations: 19.91 kB / 434.3 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.2649, allocations: 19.81 kB / 434.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.2651, allocations: 64.52 kB / 434.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2651, allocations: 0 / 434.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2651, allocations: 0 / 434.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.2651, allocations: 0 / 434.4 MB, free: 4.414 MB / 334.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.0004591/0.2655, allocations: 302 kB / 434.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.2656, allocations: 12.03 kB / 434.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.684e-05/0.2656, allocations: 38.75 kB / 434.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.2658, allocations: 20.83 kB / 434.7 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.266, allocations: 134.4 kB / 434.9 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.266, allocations: 4.375 kB / 434.9 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.266, allocations: 384 / 434.9 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.2663, allocations: 125.1 kB / 435 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.2663, allocations: 0 / 435 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.2663, allocations: 4 kB / 435 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2664, allocations: 3.938 kB / 435 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.895e-05/0.2664, allocations: 19.92 kB / 435 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003334/0.2668, allocations: 244.8 kB / 435.3 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.267, allocations: 57.14 kB / 435.3 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.828e-05/0.267, allocations: 29.77 kB / 435.3 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.267, allocations: 7.984 kB / 435.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.2671, allocations: 34.56 kB / 435.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.2671, allocations: 4 kB / 435.4 MB, free: 3.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002535/0.2673, allocations: 77.7 kB / 435.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.091e-05/0.2674, allocations: 85.12 kB / 435.6 MB, free: 3.051 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.2675, allocations: 141 kB / 435.7 MB, free: 2.902 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.2675, allocations: 37.83 kB / 435.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.407e-05/0.2676, allocations: 84.14 kB / 435.8 MB, free: 2.773 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.2676, allocations: 7.938 kB / 435.8 MB, free: 2.766 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.2677, allocations: 17.72 kB / 435.8 MB, free: 2.742 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.2678, allocations: 318.8 kB / 436.1 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.481e-05/0.2678, allocations: 15.98 kB / 436.2 MB, free: 2.406 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.136e-05/0.2679, allocations: 39.36 kB / 436.2 MB, free: 2.355 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.977e-05/0.268, allocations: 51.36 kB / 436.3 MB, free: 2.293 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.268, allocations: 0 / 436.3 MB, free: 2.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001336/0.2681, allocations: 69.58 kB / 436.3 MB, free: 2.219 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.2681, allocations: 4 kB / 436.3 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.2681, allocations: 3.984 kB / 436.3 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.2681, allocations: 4 kB / 436.3 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.062e-05/0.2682, allocations: 4 kB / 436.3 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.2682, allocations: 4 kB / 436.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.614e-05/0.2683, allocations: 0 / 436.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.2683, allocations: 7.984 kB / 436.3 MB, free: 2.191 MB / 334.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 9.604e-05/0.2684, allocations: 129.8 kB / 436.5 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.533e-05/0.2685, allocations: 53.64 kB / 436.5 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.206e-05/0.2685, allocations: 8.344 kB / 436.5 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2685, allocations: 0 / 436.5 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.2685, allocations: 0 / 436.5 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2685, allocations: 4 kB / 436.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.2687, allocations: 140.7 kB / 436.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2687, allocations: 0 / 436.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.657e-05/0.2687, allocations: 11.98 kB / 436.7 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.2687, allocations: 0 / 436.7 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.2687, allocations: 8 kB / 436.7 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2687, allocations: 4 kB / 436.7 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2687, allocations: 0 / 436.7 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.2689, allocations: 172.2 kB / 436.9 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/0.269, allocations: 19.88 kB / 436.9 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.269, allocations: 4 kB / 436.9 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.143e-05/0.269, allocations: 0 / 436.9 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.2691, allocations: 11.98 kB / 436.9 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-06/0.2691, allocations: 3.938 kB / 436.9 MB, free: 1.547 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.872e-05/0.2692, allocations: 103.3 kB / 437 MB, free: 1.445 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2692, allocations: 0 / 437 MB, free: 1.445 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002193/0.2694, allocations: 8 kB / 437 MB, free: 1.438 MB / 334.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.0004701/0.2698, allocations: 0.7092 MB / 437.7 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001376/0.27, allocations: 35.92 kB / 437.8 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.27, allocations: 0 / 437.8 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.51e-05/0.27, allocations: 7.984 kB / 437.8 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.2704, allocations: 16.03 kB / 437.8 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.2717, allocations: 1.381 MB / 439.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.272, allocations: 0.6924 MB / 439.9 MB, free: 14.44 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.894e-05/0.2721, allocations: 12.02 kB / 439.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.728e-05/0.2721, allocations: 15.44 kB / 439.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2721, allocations: 0 / 439.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.2961, allocations: 1.589 MB / 441.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.609/7.905, allocations: 7.453 kB / 441.5 MB, free: 12.91 MB / 350.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: 10.313048373907804] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 7.974079107865691 7.998641245 7.729263347 Calling exit ...