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.TickBasedStep.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.001307/0.001307, 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.001289/0.001289, 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.485/1.485, allocations: 230.5 MB / 254.7 MB, free: 15.23 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.TickBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",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.00186/0.00186, allocations: 71.83 kB / 373.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1032, allocations: 53.3 MB / 426.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002683/0.1059, allocations: 1.481 MB / 428.4 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001975/0.1061, allocations: 31.86 kB / 428.4 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.815e-05/0.1061, allocations: 0 / 428.4 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.29e-05/0.1062, allocations: 3.984 kB / 428.4 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.279e-05/0.1062, allocations: 3.938 kB / 428.4 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.1065, allocations: 15.98 kB / 428.4 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.431e-05/0.1065, allocations: 31.92 kB / 428.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.091e-05/0.1066, allocations: 7.984 kB / 428.5 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.714e-05/0.1067, allocations: 15.94 kB / 428.5 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.578e-05/0.1067, allocations: 15.92 kB / 428.5 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.1067, allocations: 7.938 kB / 428.5 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.136e-06/0.1067, allocations: 0 / 428.5 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.254e-05/0.1068, allocations: 11.98 kB / 428.5 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.1068, allocations: 11.88 kB / 428.5 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.1069, allocations: 35.77 kB / 428.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1069, allocations: 0 / 428.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1069, allocations: 0 / 428.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.1069, allocations: 0 / 428.6 MB, free: 3.223 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.0004713/0.1074, allocations: 347.5 kB / 428.9 MB, free: 2.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.1074, allocations: 12.03 kB / 428.9 MB, free: 2.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.722e-05/0.1075, allocations: 30.75 kB / 428.9 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.576e-05/0.1075, allocations: 8.875 kB / 429 MB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.1077, allocations: 180.3 kB / 429.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.1077, allocations: 384 / 429.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.1078, allocations: 4.375 kB / 429.1 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003549/0.1081, allocations: 119.8 kB / 429.2 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1081, allocations: 7.875 kB / 429.3 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.1081, allocations: 4 kB / 429.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.1081, allocations: 3.938 kB / 429.3 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.1082, allocations: 23.97 kB / 429.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001793/0.1084, allocations: 161.7 kB / 429.4 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.1086, allocations: 54.55 kB / 429.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.878e-05/0.1087, allocations: 28.92 kB / 429.5 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.1087, allocations: 0 / 429.5 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.1087, allocations: 34.56 kB / 429.6 MB, free: 2.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1087, allocations: 7.938 kB / 429.6 MB, free: 2.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000274/0.109, allocations: 81.55 kB / 429.6 MB, free: 1.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.109, allocations: 55.41 kB / 429.7 MB, free: 1.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.514e-05/0.1091, allocations: 105.8 kB / 429.8 MB, free: 1.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.1091, allocations: 29.7 kB / 429.8 MB, free: 1.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.11e-05/0.1092, allocations: 84.14 kB / 429.9 MB, free: 1.648 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.05e-05/0.1092, allocations: 0 / 429.9 MB, free: 1.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.1092, allocations: 17.72 kB / 429.9 MB, free: 1.625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1094, allocations: 318.8 kB / 430.2 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.152e-05/0.1094, allocations: 0 / 430.2 MB, free: 1.305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.587e-05/0.1094, allocations: 35.38 kB / 430.3 MB, free: 1.258 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.73e-05/0.1095, allocations: 39.42 kB / 430.3 MB, free: 1.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1095, allocations: 0 / 430.3 MB, free: 1.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.51e-05/0.1095, allocations: 61.72 kB / 430.4 MB, free: 1.141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1096, allocations: 16.05 kB / 430.4 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1096, allocations: 4 kB / 430.4 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1096, allocations: 3.984 kB / 430.4 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.85e-05/0.1096, allocations: 11.94 kB / 430.4 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.1097, allocations: 7.984 kB / 430.4 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.799e-05/0.1097, allocations: 0 / 430.4 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-06/0.1097, allocations: 0 / 430.4 MB, free: 1.098 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.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.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 8.11e-05/0.1098, allocations: 117.8 kB / 430.5 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.1099, allocations: 65.61 kB / 430.6 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.382e-05/0.1099, allocations: 19.83 kB / 430.6 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1099, allocations: 0 / 430.6 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.1099, allocations: 0 / 430.6 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1099, allocations: 0 / 430.6 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.11, allocations: 157.6 kB / 430.8 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.11, allocations: 0 / 430.8 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.374e-05/0.1101, allocations: 11.98 kB / 430.8 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.1101, allocations: 8.312 kB / 430.8 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.1101, allocations: 0 / 430.8 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.1101, allocations: 4 kB / 430.8 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1101, allocations: 0 / 430.8 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.1103, allocations: 97.03 kB / 430.9 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.1103, allocations: 77.11 kB / 431 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.1103, allocations: 7.938 kB / 431 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.071e-05/0.1104, allocations: 4 kB / 431 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-06/0.1104, allocations: 0 / 431 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.1104, allocations: 4 kB / 431 MB, free: 432 kB / 350.1 MB Notification: Performance of sorting global known variables: time 4.969e-05/0.1104, allocations: 83.27 kB / 431.1 MB, free: 348 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1104, allocations: 0 / 431.1 MB, free: 348 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001848/0.1106, allocations: 12 kB / 431.1 MB, free: 336 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 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.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.0005846/0.1112, allocations: 0.6475 MB / 431.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.1113, allocations: 27.98 kB / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.1113, allocations: 320 / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.1113, allocations: 4 kB / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.1116, allocations: 31.95 kB / 431.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.1127, allocations: 1.173 MB / 433 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.113, allocations: 0.6846 MB / 433.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.871e-05/0.1131, allocations: 7.984 kB / 433.7 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.551e-05/0.1131, allocations: 11.44 kB / 433.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1131, allocations: 0 / 433.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.1353, allocations: 1.392 MB / 435.1 MB, free: 12.33 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.968/8.104, allocations: 23.27 kB / 435.1 MB, free: 12.31 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.603484545368701] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 8.170071095228195 8.366705635 8.075361283 Calling exit ...