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.TimeBasedRamp.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.001556/0.001556, allocations: 118.7 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.001714/0.001714, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.455/1.455, allocations: 230.4 MB / 254.7 MB, free: 15.01 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.TimeBasedRamp,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",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.001862/0.001862, allocations: 71.83 kB / 373.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1036, allocations: 53.31 MB / 426.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002611/0.1062, allocations: 1.505 MB / 428.4 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007382/0.1069, allocations: 442.9 kB / 428.8 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.082e-05/0.107, allocations: 0 / 428.8 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.626e-05/0.107, allocations: 11.92 kB / 428.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.348e-05/0.1071, allocations: 7.922 kB / 428.8 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.1073, allocations: 23.92 kB / 428.9 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.541e-05/0.1073, allocations: 31.92 kB / 428.9 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.492e-05/0.1074, allocations: 15.91 kB / 428.9 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.379e-05/0.1075, allocations: 15.94 kB / 428.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.77e-05/0.1075, allocations: 15.92 kB / 428.9 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.1075, allocations: 4 kB / 428.9 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.785e-06/0.1075, allocations: 0 / 428.9 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.13e-05/0.1076, allocations: 15.92 kB / 429 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.277e-05/0.1076, allocations: 15.94 kB / 429 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.734e-05/0.1077, allocations: 47.69 kB / 429 MB, free: 2.695 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1077, allocations: 0 / 429 MB, free: 2.695 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1077, allocations: 0 / 429 MB, free: 2.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.197e-06/0.1077, allocations: 0 / 429 MB, free: 2.695 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.000484/0.1082, allocations: 347.4 kB / 429.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1082, allocations: 12.03 kB / 429.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.171e-05/0.1083, allocations: 30.75 kB / 429.4 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.496e-05/0.1083, allocations: 8.891 kB / 429.4 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.1085, allocations: 184.3 kB / 429.6 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.1085, allocations: 384 / 429.6 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.395e-06/0.1085, allocations: 4.375 kB / 429.6 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004289/0.1089, allocations: 143.3 kB / 429.7 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.109, allocations: 4 kB / 429.7 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.109, allocations: 0 / 429.7 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.109, allocations: 0 / 429.7 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.1091, allocations: 35.95 kB / 429.8 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001764/0.1093, allocations: 157.7 kB / 429.9 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.1096, allocations: 82.55 kB / 430 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.718e-05/0.1097, allocations: 36.81 kB / 430 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.1097, allocations: 0 / 430 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.1097, allocations: 38.5 kB / 430.1 MB, free: 1.457 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.1097, allocations: 0 / 430.1 MB, free: 1.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003378/0.1101, allocations: 93.64 kB / 430.2 MB, free: 1.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.1101, allocations: 59.39 kB / 430.2 MB, free: 1.289 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.431e-05/0.1102, allocations: 101.9 kB / 430.3 MB, free: 1.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.1102, allocations: 25.7 kB / 430.4 MB, free: 1.148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.184e-05/0.1103, allocations: 88.12 kB / 430.4 MB, free: 1.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.267e-06/0.1103, allocations: 7.938 kB / 430.5 MB, free: 1.051 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.1103, allocations: 13.72 kB / 430.5 MB, free: 1.031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1104, allocations: 318.8 kB / 430.8 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.494e-05/0.1105, allocations: 3.984 kB / 430.8 MB, free: 0.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.846e-05/0.1105, allocations: 27.44 kB / 430.8 MB, free: 0.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.464e-05/0.1105, allocations: 39.38 kB / 430.8 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1105, allocations: 0 / 430.8 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.194e-05/0.1106, allocations: 61.52 kB / 430.9 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1106, allocations: 7.938 kB / 430.9 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1106, allocations: 7.938 kB / 430.9 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1107, allocations: 0 / 430.9 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.085e-05/0.1107, allocations: 8 kB / 430.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1107, allocations: 320 / 430.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.955e-05/0.1107, allocations: 12 kB / 430.9 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.1107, allocations: 8 kB / 431 MB, free: 0.5078 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: 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 8.751e-05/0.1108, allocations: 113.8 kB / 431.1 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.111, allocations: 81.55 kB / 431.1 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.016e-05/0.111, allocations: 3.906 kB / 431.1 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.1111, allocations: 4 kB / 431.2 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1111, allocations: 0 / 431.2 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.1111, allocations: 4 kB / 431.2 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.1112, allocations: 157.7 kB / 431.3 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1112, allocations: 0 / 431.3 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.257e-05/0.1113, allocations: 19.92 kB / 431.3 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1113, allocations: 0 / 431.3 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.1113, allocations: 0 / 431.3 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.1113, allocations: 4 kB / 431.3 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1113, allocations: 3.938 kB / 431.3 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.1115, allocations: 97.42 kB / 431.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.961e-05/0.1116, allocations: 89.03 kB / 431.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.1116, allocations: 7.984 kB / 431.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.536e-05/0.1116, allocations: 8 kB / 431.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-06/0.1116, allocations: 0 / 431.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.1116, allocations: 0 / 431.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.429e-05/0.1117, allocations: 87.25 kB / 431.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1117, allocations: 0 / 431.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002005/0.1119, allocations: 12 kB / 431.6 MB, free: 15.71 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: 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.0005342/0.1124, allocations: 0.6436 MB / 432.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001497/0.1126, allocations: 32.05 kB / 432.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1126, allocations: 3.938 kB / 432.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.81e-07/0.1126, allocations: 0 / 432.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.1129, allocations: 30.03 kB / 432.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.114, allocations: 1.185 MB / 433.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.1143, allocations: 0.6807 MB / 434.2 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.416e-05/0.1143, allocations: 3.938 kB / 434.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.1143, allocations: 11.42 kB / 434.2 MB, free: 12.97 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1143, allocations: 0 / 434.2 MB, free: 12.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02099/0.1353, allocations: 1.373 MB / 435.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.929/8.065, allocations: 14.34 kB / 435.6 MB, free: 11.72 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.55435932893306] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 8.13128739502281 8.307562038 8.035159543 Calling exit ...