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.001382/0.001382, allocations: 118.6 kB / 18.5 MB, free: 4.602 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.001481/0.001481, allocations: 206.6 kB / 21.45 MB, free: 1.652 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.472/1.472, allocations: 230.5 MB / 254.8 MB, free: 14.95 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.00195/0.00195, allocations: 71.83 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1066, allocations: 53.31 MB / 427 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002884/0.1095, allocations: 1.492 MB / 428.5 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002107/0.1097, allocations: 31.91 kB / 428.5 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.421e-05/0.1098, allocations: 0 / 428.5 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.416e-05/0.1098, allocations: 3.938 kB / 428.5 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.104e-05/0.1098, allocations: 3.938 kB / 428.5 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.1101, allocations: 26.59 kB / 428.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.1102, allocations: 43.91 kB / 428.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1103, allocations: 8 kB / 428.6 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.771e-05/0.1104, allocations: 15.92 kB / 428.6 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.105e-05/0.1104, allocations: 19.91 kB / 428.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.1105, allocations: 4 kB / 428.7 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.1105, allocations: 4 kB / 428.7 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.048e-05/0.1105, allocations: 11.92 kB / 428.7 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.447e-05/0.1105, allocations: 19.88 kB / 428.7 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.1107, allocations: 39.81 kB / 428.7 MB, free: 3.059 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.1107, allocations: 7.922 kB / 428.7 MB, free: 3.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1107, allocations: 4 kB / 428.7 MB, free: 3.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1107, allocations: 0 / 428.7 MB, free: 3.047 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.0005794/0.1112, allocations: 359.4 kB / 429.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1113, allocations: 8.031 kB / 429.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.978e-05/0.1113, allocations: 30.75 kB / 429.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.801e-05/0.1114, allocations: 8.891 kB / 429.1 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.1116, allocations: 180.3 kB / 429.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.1116, allocations: 4.375 kB / 429.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.1116, allocations: 384 / 429.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005987/0.1122, allocations: 167.7 kB / 429.5 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1122, allocations: 3.938 kB / 429.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-06/0.1122, allocations: 0 / 429.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1122, allocations: 0 / 429.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002815/0.1125, allocations: 47.94 kB / 429.5 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.1127, allocations: 161.7 kB / 429.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003389/0.113, allocations: 82.45 kB / 429.8 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.1132, allocations: 36.91 kB / 429.8 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.1132, allocations: 3.984 kB / 429.8 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.1132, allocations: 34.56 kB / 429.8 MB, free: 1.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1132, allocations: 0 / 429.8 MB, free: 1.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005048/0.1137, allocations: 113.5 kB / 430 MB, free: 1.645 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/0.1138, allocations: 59.41 kB / 430 MB, free: 1.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.074e-05/0.1139, allocations: 113.8 kB / 430.1 MB, free: 1.453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.1139, allocations: 25.7 kB / 430.1 MB, free: 1.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.25e-05/0.114, allocations: 84.14 kB / 430.2 MB, free: 1.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.114, allocations: 11.94 kB / 430.2 MB, free: 1.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.114, allocations: 13.72 kB / 430.3 MB, free: 1.305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1142, allocations: 314.8 kB / 430.6 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.38e-05/0.1142, allocations: 4 kB / 430.6 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.829e-05/0.1142, allocations: 39.36 kB / 430.6 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.788e-05/0.1143, allocations: 35.38 kB / 430.6 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.1143, allocations: 0 / 430.6 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.368e-05/0.1144, allocations: 65.62 kB / 430.7 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1144, allocations: 10.28 kB / 430.7 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.1144, allocations: 4 kB / 430.7 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1144, allocations: 0 / 430.7 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.735e-05/0.1145, allocations: 8.188 kB / 430.7 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1145, allocations: 3.938 kB / 430.7 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.244e-05/0.1145, allocations: 7.938 kB / 430.7 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-06/0.1145, allocations: 0 / 430.7 MB, free: 0.7852 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 0.0001049/0.1146, allocations: 130.1 kB / 430.9 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000311/0.1149, allocations: 89.53 kB / 431 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.811e-05/0.1149, allocations: 7.906 kB / 431 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1149, allocations: 4 kB / 431 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1149, allocations: 0 / 431 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1149, allocations: 0 / 431 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.1151, allocations: 161.6 kB / 431.1 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1151, allocations: 0 / 431.1 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.996e-05/0.1152, allocations: 15.92 kB / 431.1 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.1152, allocations: 7.938 kB / 431.1 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.1152, allocations: 0 / 431.1 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1152, allocations: 4 kB / 431.1 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1152, allocations: 0 / 431.1 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.1155, allocations: 117 kB / 431.3 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.39e-05/0.1156, allocations: 77.11 kB / 431.3 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.1156, allocations: 3.938 kB / 431.3 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.463e-05/0.1157, allocations: 11.98 kB / 431.4 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-06/0.1157, allocations: 0 / 431.4 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.1157, allocations: 0 / 431.4 MB, free: 56 kB / 350.1 MB Notification: Performance of sorting global known variables: time 7.304e-05/0.1158, allocations: 91.27 kB / 431.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1158, allocations: 0 / 431.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001874/0.1159, allocations: 11.94 kB / 431.5 MB, free: 15.95 MB / 366.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.0008965/0.1168, allocations: 0.6865 MB / 432.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002203/0.1171, allocations: 51.95 kB / 432.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1171, allocations: 0 / 432.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.1171, allocations: 0 / 432.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.1174, allocations: 40 kB / 432.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.1186, allocations: 1.201 MB / 433.4 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.1189, allocations: 0.6807 MB / 434.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.444e-05/0.1189, allocations: 3.984 kB / 434.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.35e-05/0.1189, allocations: 15.44 kB / 434.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1189, allocations: 0 / 434.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/0.1425, allocations: 1.505 MB / 435.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.682/7.825, allocations: 18.05 kB / 435.7 MB, free: 11.74 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 & 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.525209777988493] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 7.892802805174142 8.09668475 7.7962598419999996 Calling exit ...