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.TimeBasedStep.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.001194/0.001194, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001533/0.001533, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.482/1.482, 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.TimeBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",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.001982/0.001982, allocations: 67.83 kB / 373.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1021, allocations: 53.31 MB / 426.9 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002724/0.1048, allocations: 1.478 MB / 428.4 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003571/0.1052, allocations: 99.67 kB / 428.5 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.328e-05/0.1053, allocations: 3.938 kB / 428.5 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.978e-05/0.1053, allocations: 3.938 kB / 428.5 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.616e-05/0.1053, allocations: 7.938 kB / 428.5 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.1055, allocations: 15.97 kB / 428.5 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.736e-05/0.1056, allocations: 27.92 kB / 428.5 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.211e-05/0.1057, allocations: 15.98 kB / 428.5 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.276e-05/0.1057, allocations: 11.92 kB / 428.6 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.101e-05/0.1058, allocations: 11.94 kB / 428.6 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.1058, allocations: 0 / 428.6 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.061e-05/0.1058, allocations: 4 kB / 428.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.1058, allocations: 4 kB / 428.6 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/0.1059, allocations: 19.86 kB / 428.6 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.534e-05/0.1059, allocations: 31.83 kB / 428.6 MB, free: 3.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1059, allocations: 0 / 428.6 MB, free: 3.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1059, allocations: 0 / 428.6 MB, free: 3.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1059, allocations: 0 / 428.6 MB, free: 3.082 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.0004193/0.1064, allocations: 347.3 kB / 429 MB, free: 2.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1064, allocations: 8.031 kB / 429 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.944e-05/0.1064, allocations: 38.73 kB / 429 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.264e-05/0.1065, allocations: 4.891 kB / 429 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.1067, allocations: 176.4 kB / 429.2 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.1067, allocations: 384 / 429.2 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.1067, allocations: 8.359 kB / 429.2 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003565/0.1071, allocations: 99.88 kB / 429.3 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.1071, allocations: 3.938 kB / 429.3 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.1071, allocations: 8 kB / 429.3 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1071, allocations: 0 / 429.3 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.782e-05/0.1072, allocations: 15.92 kB / 429.3 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.1073, allocations: 165.6 kB / 429.5 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.1075, allocations: 54.58 kB / 429.5 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.758e-05/0.1075, allocations: 16.86 kB / 429.5 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.1076, allocations: 3.938 kB / 429.6 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.1076, allocations: 38.59 kB / 429.6 MB, free: 1.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 3.076e-06/0.1076, allocations: 4 kB / 429.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002113/0.1078, allocations: 73.55 kB / 429.7 MB, free: 1.852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.1079, allocations: 55.41 kB / 429.7 MB, free: 1.785 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.728e-05/0.1079, allocations: 109.8 kB / 429.8 MB, free: 1.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.108, allocations: 25.7 kB / 429.9 MB, free: 1.637 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.042e-05/0.108, allocations: 80.14 kB / 429.9 MB, free: 1.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.454e-06/0.108, allocations: 8 kB / 429.9 MB, free: 1.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/0.108, allocations: 9.719 kB / 429.9 MB, free: 1.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1082, allocations: 322.8 kB / 430.3 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.198e-05/0.1082, allocations: 7.922 kB / 430.3 MB, free: 1.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.84e-05/0.1082, allocations: 23.44 kB / 430.3 MB, free: 1.164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.91e-05/0.1083, allocations: 43.38 kB / 430.3 MB, free: 1.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1083, allocations: 0 / 430.3 MB, free: 1.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.21e-05/0.1084, allocations: 57.56 kB / 430.4 MB, free: 1.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1084, allocations: 7.938 kB / 430.4 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1084, allocations: 4 kB / 430.4 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1084, allocations: 0 / 430.4 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.368e-05/0.1084, allocations: 12 kB / 430.4 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1085, allocations: 3.984 kB / 430.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.041e-05/0.1085, allocations: 8.078 kB / 430.4 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/0.1085, allocations: 4 kB / 430.4 MB, free: 1.008 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 7.428e-05/0.1086, allocations: 105.8 kB / 430.5 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.1087, allocations: 65.56 kB / 430.6 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.1087, allocations: 3.906 kB / 430.6 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1087, allocations: 336 / 430.6 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1087, allocations: 3.984 kB / 430.6 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1087, allocations: 4 kB / 430.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.1088, allocations: 157.6 kB / 430.8 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1088, allocations: 7.984 kB / 430.8 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.435e-05/0.1089, allocations: 4 kB / 430.8 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.1089, allocations: 7.922 kB / 430.8 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.1089, allocations: 4 kB / 430.8 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1089, allocations: 0 / 430.8 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1089, allocations: 0 / 430.8 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.1091, allocations: 85.02 kB / 430.9 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/0.1091, allocations: 89.09 kB / 431 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.1092, allocations: 3.938 kB / 431 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.378e-05/0.1092, allocations: 4 kB / 431 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.094e-06/0.1092, allocations: 3.938 kB / 431 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.1092, allocations: 256 / 431 MB, free: 364 kB / 350.1 MB Notification: Performance of sorting global known variables: time 5.294e-05/0.1092, allocations: 91.27 kB / 431.1 MB, free: 272 kB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1092, allocations: 0 / 431.1 MB, free: 272 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001832/0.1094, allocations: 4 kB / 431.1 MB, free: 268 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: 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.0004579/0.1099, allocations: 0.6241 MB / 431.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001138/0.11, allocations: 27.92 kB / 431.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.11, allocations: 0 / 431.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.11, allocations: 0 / 431.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.1102, allocations: 26.67 kB / 431.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.1112, allocations: 1.15 MB / 432.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.1115, allocations: 0.6807 MB / 433.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.226e-05/0.1115, allocations: 4 kB / 433.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.1116, allocations: 19.42 kB / 433.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1116, allocations: 0 / 433.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/0.1361, allocations: 1.259 MB / 434.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.037/8.173, allocations: 9.625 kB / 434.9 MB, free: 12.45 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.649299526587129] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 8.238984445109963 8.438566045 8.144355609 Calling exit ...