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.001787/0.001787, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.001838/0.001838, allocations: 219 kB / 23 MB, free: 5.609 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.414/1.414, allocations: 230.4 MB / 256.5 MB, free: 8.418 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.002083/0.002083, allocations: 71.83 kB / 376.2 MB, free: 4.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2541, allocations: 53.3 MB / 429.5 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002837/0.2569, allocations: 1.49 MB / 431 MB, free: 5.906 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000206/0.2571, allocations: 43.83 kB / 431.1 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.217e-05/0.2572, allocations: 0 / 431.1 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.35e-05/0.2572, allocations: 3.938 kB / 431.1 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.828e-05/0.2573, allocations: 7.938 kB / 431.1 MB, free: 5.852 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.2576, allocations: 30.03 kB / 431.1 MB, free: 5.824 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.2577, allocations: 35.92 kB / 431.1 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.2578, allocations: 19.91 kB / 431.2 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.08e-05/0.2578, allocations: 11.98 kB / 431.2 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.842e-05/0.2579, allocations: 15.92 kB / 431.2 MB, free: 5.742 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.2579, allocations: 4 kB / 431.2 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.151e-05/0.2579, allocations: 4 kB / 431.2 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.508e-05/0.258, allocations: 11.94 kB / 431.2 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.278e-05/0.258, allocations: 15.92 kB / 431.2 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.2581, allocations: 44.8 kB / 431.3 MB, free: 5.664 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.2581, allocations: 4 kB / 431.3 MB, free: 5.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2581, allocations: 0 / 431.3 MB, free: 5.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.2581, allocations: 0 / 431.3 MB, free: 5.66 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.000604/0.2587, allocations: 354.8 kB / 431.6 MB, free: 5.266 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.2588, allocations: 8.031 kB / 431.6 MB, free: 5.258 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.106e-05/0.2588, allocations: 38.73 kB / 431.7 MB, free: 5.211 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.999e-05/0.2589, allocations: 8.891 kB / 431.7 MB, free: 5.203 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.2591, allocations: 184.2 kB / 431.8 MB, free: 4.984 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.2592, allocations: 8.375 kB / 431.9 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.2592, allocations: 384 / 431.9 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005718/0.2597, allocations: 151.8 kB / 432 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.2598, allocations: 3.938 kB / 432 MB, free: 4.812 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.2598, allocations: 3.938 kB / 432 MB, free: 4.809 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.2598, allocations: 4 kB / 432 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002496/0.26, allocations: 47.94 kB / 432.1 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001868/0.2602, allocations: 161.7 kB / 432.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/0.2605, allocations: 86.48 kB / 432.3 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.2607, allocations: 40.91 kB / 432.3 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.2607, allocations: 0 / 432.3 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.2607, allocations: 34.5 kB / 432.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.2607, allocations: 0 / 432.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0006512/0.2614, allocations: 125.5 kB / 432.5 MB, free: 4.242 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.2614, allocations: 51.41 kB / 432.6 MB, free: 4.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.2616, allocations: 113.8 kB / 432.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.2616, allocations: 29.7 kB / 432.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.634e-05/0.2616, allocations: 80.14 kB / 432.8 MB, free: 3.941 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.2616, allocations: 3.953 kB / 432.8 MB, free: 3.938 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/0.2617, allocations: 17.72 kB / 432.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.2619, allocations: 318.8 kB / 433.1 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/0.2619, allocations: 8 kB / 433.1 MB, free: 3.586 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.919e-05/0.2619, allocations: 35.38 kB / 433.1 MB, free: 3.539 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.162e-05/0.262, allocations: 35.42 kB / 433.2 MB, free: 3.492 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.262, allocations: 8 kB / 433.2 MB, free: 3.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.177e-05/0.2621, allocations: 53.58 kB / 433.2 MB, free: 3.426 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.2621, allocations: 15.92 kB / 433.3 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2621, allocations: 320 / 433.3 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.2621, allocations: 0 / 433.3 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.059e-05/0.2622, allocations: 12 kB / 433.3 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.2622, allocations: 0 / 433.3 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.337e-05/0.2622, allocations: 4 kB / 433.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.2622, allocations: 4.109 kB / 433.3 MB, free: 3.391 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 9.433e-05/0.2623, allocations: 121.8 kB / 433.4 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002972/0.2626, allocations: 93.52 kB / 433.5 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/0.2626, allocations: 7.906 kB / 433.5 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.2626, allocations: 0 / 433.5 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2626, allocations: 3.938 kB / 433.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2627, allocations: 0 / 433.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.2628, allocations: 161.7 kB / 433.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2628, allocations: 0 / 433.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.548e-05/0.2629, allocations: 23.91 kB / 433.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.2629, allocations: 7.938 kB / 433.7 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.2629, allocations: 0 / 433.7 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2629, allocations: 0 / 433.7 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2629, allocations: 0 / 433.7 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003121/0.2632, allocations: 121 kB / 433.8 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.2632, allocations: 77.11 kB / 433.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.2633, allocations: 8.219 kB / 433.9 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.418e-05/0.2633, allocations: 7.984 kB / 433.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-06/0.2633, allocations: 4 kB / 433.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.2633, allocations: 0 / 433.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.899e-05/0.2634, allocations: 91.27 kB / 434 MB, free: 2.562 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2634, allocations: 0 / 434 MB, free: 2.562 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001811/0.2636, allocations: 4 kB / 434 MB, free: 2.559 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.0008643/0.2644, allocations: 0.6904 MB / 434.7 MB, free: 1.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002227/0.2647, allocations: 39.97 kB / 434.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2647, allocations: 0 / 434.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.2647, allocations: 0 / 434.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.265, allocations: 52.05 kB / 434.8 MB, free: 1.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.2663, allocations: 1.189 MB / 436 MB, free: 472 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.2666, allocations: 0.6807 MB / 436.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.151e-05/0.2667, allocations: 0 / 436.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.389e-05/0.2667, allocations: 15.42 kB / 436.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2667, allocations: 4 kB / 436.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.2899, allocations: 1.49 MB / 438.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.554/7.844, allocations: 7.203 kB / 438.2 MB, free: 14.32 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.062954541994259] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 7.909181235998403 7.924115532 7.662608767 Calling exit ...