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.001357/0.001357, allocations: 121.3 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.001349/0.001349, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.471/1.471, allocations: 230.5 MB / 254.7 MB, free: 15.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.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.001959/0.001959, allocations: 71.81 kB / 373.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.111, allocations: 53.32 MB / 426.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002723/0.1137, allocations: 1.482 MB / 428.4 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000255/0.1139, allocations: 39.84 kB / 428.4 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.222e-05/0.114, allocations: 0 / 428.4 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.218e-05/0.114, allocations: 7.875 kB / 428.4 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.227e-05/0.1141, allocations: 7.938 kB / 428.4 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.1143, allocations: 15.98 kB / 428.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.987e-05/0.1144, allocations: 43.89 kB / 428.5 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.1145, allocations: 8 kB / 428.5 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.745e-05/0.1146, allocations: 15.92 kB / 428.5 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.231e-05/0.1147, allocations: 23.92 kB / 428.5 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.1147, allocations: 0 / 428.5 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.987e-06/0.1147, allocations: 8 kB / 428.5 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.1147, allocations: 11.98 kB / 428.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.1147, allocations: 15.88 kB / 428.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.1149, allocations: 39.81 kB / 428.6 MB, free: 3.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1149, allocations: 0 / 428.6 MB, free: 3.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1149, allocations: 0 / 428.6 MB, free: 3.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1149, allocations: 0 / 428.6 MB, free: 3.121 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005968/0.1155, allocations: 359.4 kB / 429 MB, free: 2.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.1155, allocations: 8.031 kB / 429 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.155e-05/0.1156, allocations: 34.75 kB / 429 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.497e-05/0.1156, allocations: 8.891 kB / 429 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.1158, allocations: 188.2 kB / 429.2 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.1158, allocations: 384 / 429.2 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.1159, allocations: 384 / 429.2 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006059/0.1165, allocations: 167.7 kB / 429.4 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1165, allocations: 3.938 kB / 429.4 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1165, allocations: 4 kB / 429.4 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1165, allocations: 4 kB / 429.4 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002377/0.1167, allocations: 43.94 kB / 429.4 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001753/0.1169, allocations: 161.7 kB / 429.6 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.1172, allocations: 78.52 kB / 429.6 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.1173, allocations: 36.91 kB / 429.7 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.1174, allocations: 0 / 429.7 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.1174, allocations: 42.48 kB / 429.7 MB, free: 1.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.1174, allocations: 0 / 429.7 MB, free: 1.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004626/0.1179, allocations: 113.7 kB / 429.8 MB, free: 1.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.1179, allocations: 59.39 kB / 429.9 MB, free: 1.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.025e-05/0.118, allocations: 109.8 kB / 430 MB, free: 1.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.118, allocations: 25.7 kB / 430 MB, free: 1.488 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.186e-05/0.1181, allocations: 84.14 kB / 430.1 MB, free: 1.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.1181, allocations: 3.953 kB / 430.1 MB, free: 1.398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/0.1181, allocations: 25.7 kB / 430.1 MB, free: 1.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1183, allocations: 314.8 kB / 430.4 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.336e-05/0.1183, allocations: 3.938 kB / 430.4 MB, free: 1.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.552e-05/0.1183, allocations: 43.3 kB / 430.5 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.031e-05/0.1184, allocations: 39.5 kB / 430.5 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.1184, allocations: 4 kB / 430.5 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.939e-05/0.1185, allocations: 57.62 kB / 430.6 MB, free: 0.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.1185, allocations: 11.94 kB / 430.6 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.1185, allocations: 0 / 430.6 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.1185, allocations: 0 / 430.6 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.614e-05/0.1186, allocations: 8.125 kB / 430.6 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.1186, allocations: 8 kB / 430.6 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.913e-05/0.1186, allocations: 0 / 430.6 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.1186, allocations: 0 / 430.6 MB, free: 0.8477 MB / 350.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.537e-05/0.1187, allocations: 117.8 kB / 430.7 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002836/0.119, allocations: 93.52 kB / 430.8 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.705e-05/0.119, allocations: 11.91 kB / 430.8 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.119, allocations: 0 / 430.8 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.119, allocations: 0 / 430.8 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1191, allocations: 0 / 430.8 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.1192, allocations: 161.7 kB / 431 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1192, allocations: 0 / 431 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.794e-05/0.1193, allocations: 19.97 kB / 431 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1193, allocations: 3.938 kB / 431 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.1193, allocations: 0 / 431 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1193, allocations: 0 / 431 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1193, allocations: 320 / 431 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/0.1196, allocations: 121 kB / 431.1 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.1197, allocations: 81.11 kB / 431.2 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.1197, allocations: 7.938 kB / 431.2 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.43e-05/0.1198, allocations: 7.984 kB / 431.2 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-06/0.1198, allocations: 0 / 431.2 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.1198, allocations: 4 kB / 431.2 MB, free: 120 kB / 350.1 MB Notification: Performance of sorting global known variables: time 5.717e-05/0.1198, allocations: 91.25 kB / 431.3 MB, free: 28 kB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1198, allocations: 3.938 kB / 431.3 MB, free: 24 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001832/0.12, allocations: 8 kB / 431.3 MB, free: 16 kB / 350.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.0008367/0.1209, allocations: 0.6865 MB / 432 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001928/0.121, allocations: 35.97 kB / 432.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.121, allocations: 4 kB / 432.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-07/0.1211, allocations: 0 / 432.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.1214, allocations: 51.86 kB / 432.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.1226, allocations: 1.197 MB / 433.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.1229, allocations: 0.6809 MB / 434 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.131e-05/0.1229, allocations: 4 kB / 434 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.123, allocations: 19.42 kB / 434 MB, free: 13.18 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.123, allocations: 0 / 434 MB, free: 13.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.146, allocations: 1.508 MB / 435.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.851/7.997, allocations: 7.938 kB / 435.5 MB, free: 11.81 MB / 366.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 --stepSize=0.000199561 --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.566704316064715] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 8.063567152246833 8.299153361 7.966858225 Calling exit ...