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.TickBasedRamp.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.001779/0.001779, allocations: 109 kB / 21.23 MB, free: 0.6719 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.002241/0.002241, allocations: 209.2 kB / 24.53 MB, free: 4.035 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.364/1.364, allocations: 230.6 MB / 258.3 MB, free: 8.059 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.TickBasedRamp,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",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.001884/0.001884, allocations: 64.77 kB / 378.6 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2625, allocations: 53.37 MB / 431.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002637/0.2651, allocations: 1.491 MB / 433.4 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001789/0.2653, allocations: 31.91 kB / 433.4 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.518e-05/0.2653, allocations: 7.938 kB / 433.5 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.579e-05/0.2654, allocations: 7.938 kB / 433.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.664e-05/0.2654, allocations: 3.984 kB / 433.5 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.2657, allocations: 27.3 kB / 433.5 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.344e-05/0.2657, allocations: 35.91 kB / 433.5 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.41e-05/0.2658, allocations: 15.92 kB / 433.5 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.572e-05/0.2659, allocations: 15.98 kB / 433.6 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.579e-05/0.2659, allocations: 15.92 kB / 433.6 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.266, allocations: 4 kB / 433.6 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.012e-05/0.266, allocations: 4 kB / 433.6 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.266, allocations: 7.938 kB / 433.6 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.11e-05/0.266, allocations: 19.92 kB / 433.6 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.2661, allocations: 45.92 kB / 433.7 MB, free: 5.176 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2661, allocations: 0 / 433.7 MB, free: 5.176 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2661, allocations: 0 / 433.7 MB, free: 5.176 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.2661, allocations: 0 / 433.7 MB, free: 5.176 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004948/0.2666, allocations: 282.2 kB / 433.9 MB, free: 4.867 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.2667, allocations: 12.03 kB / 433.9 MB, free: 4.855 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.279e-05/0.2667, allocations: 38.73 kB / 434 MB, free: 4.809 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.679e-05/0.2667, allocations: 8.891 kB / 434 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.2669, allocations: 126.4 kB / 434.1 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.267, allocations: 8.312 kB / 434.1 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.267, allocations: 384 / 434.1 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005403/0.2675, allocations: 159.8 kB / 434.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.2675, allocations: 3.938 kB / 434.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.2675, allocations: 0 / 434.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.2675, allocations: 0 / 434.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002342/0.2678, allocations: 51.88 kB / 434.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001461/0.2679, allocations: 136.7 kB / 434.5 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002994/0.2682, allocations: 78.5 kB / 434.5 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.2684, allocations: 36.91 kB / 434.6 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.2684, allocations: 4 kB / 434.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.2684, allocations: 34.5 kB / 434.6 MB, free: 4.074 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 3.217e-06/0.2684, allocations: 4 kB / 434.6 MB, free: 4.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004637/0.2689, allocations: 117.5 kB / 434.7 MB, free: 3.949 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/0.2689, allocations: 59.39 kB / 434.8 MB, free: 3.879 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.704e-05/0.269, allocations: 101.9 kB / 434.9 MB, free: 3.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.269, allocations: 29.7 kB / 434.9 MB, free: 3.734 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.276e-05/0.2691, allocations: 88.12 kB / 435 MB, free: 3.645 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.2691, allocations: 3.953 kB / 435 MB, free: 3.641 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.2691, allocations: 13.72 kB / 435 MB, free: 3.621 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.2693, allocations: 318.8 kB / 435.3 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.618e-05/0.2693, allocations: 7.984 kB / 435.3 MB, free: 3.293 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.216e-05/0.2693, allocations: 27.44 kB / 435.4 MB, free: 3.254 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.945e-05/0.2694, allocations: 39.38 kB / 435.4 MB, free: 3.203 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2694, allocations: 0 / 435.4 MB, free: 3.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.479e-05/0.2694, allocations: 65.56 kB / 435.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.2695, allocations: 14.91 kB / 435.5 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.2695, allocations: 192 / 435.5 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.2695, allocations: 0 / 435.5 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.073e-05/0.2695, allocations: 11.98 kB / 435.5 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.2695, allocations: 320 / 435.5 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.326e-05/0.2696, allocations: 7.984 kB / 435.5 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-06/0.2696, allocations: 4.125 kB / 435.5 MB, free: 3.098 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: 2 ($CLKPRE.ramp.counter,ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.481e-05/0.2696, allocations: 113.8 kB / 435.6 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002676/0.2699, allocations: 93.47 kB / 435.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.2699, allocations: 11.98 kB / 435.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.27, allocations: 4 kB / 435.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.27, allocations: 3.938 kB / 435.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.27, allocations: 0 / 435.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.988e-05/0.2701, allocations: 128.7 kB / 435.9 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.2701, allocations: 128 / 435.9 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.2e-05/0.2701, allocations: 27.92 kB / 435.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.2702, allocations: 3.938 kB / 435.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.2702, allocations: 0 / 435.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-06/0.2702, allocations: 0 / 435.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2702, allocations: 0 / 435.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/0.2705, allocations: 121 kB / 436 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-06/0.2705, allocations: 0 / 436 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.2705, allocations: 11.92 kB / 436 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.334e-05/0.2705, allocations: 12 kB / 436 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.044e-06/0.2705, allocations: 0 / 436 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.2706, allocations: 3.984 kB / 436 MB, free: 2.488 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.599e-05/0.2706, allocations: 87.27 kB / 436.1 MB, free: 2.402 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2706, allocations: 0 / 436.1 MB, free: 2.402 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001792/0.2708, allocations: 8 kB / 436.1 MB, free: 2.395 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * 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.0007363/0.2715, allocations: 0.6826 MB / 436.8 MB, free: 1.684 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.2717, allocations: 43.89 kB / 436.9 MB, free: 1.641 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2717, allocations: 0 / 436.9 MB, free: 1.641 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.91e-07/0.2717, allocations: 0 / 436.9 MB, free: 1.641 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.2721, allocations: 40 kB / 436.9 MB, free: 1.602 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.2731, allocations: 1.189 MB / 438.1 MB, free: 320 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.2734, allocations: 0.6874 MB / 438.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.048e-05/0.2734, allocations: 4 kB / 438.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/0.2734, allocations: 11.44 kB / 438.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2734, allocations: 0 / 438.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/0.2954, allocations: 1.517 MB / 440.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.612/7.908, allocations: 14.34 kB / 440.3 MB, free: 14.14 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.250862817279994] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 7.9728666031733155 7.98731164 7.718259081 Calling exit ...