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.00202/0.00202, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002246/0.002246, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.561/1.561, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.003258/0.003258, allocations: 68.75 kB / 378.6 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.296, allocations: 53.37 MB / 431.9 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.00297/0.2989, allocations: 1.475 MB / 433.4 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001932/0.2991, allocations: 27.91 kB / 433.4 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.679e-05/0.2992, allocations: 4 kB / 433.4 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.147e-05/0.2992, allocations: 3.938 kB / 433.4 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.439e-05/0.2993, allocations: 7.938 kB / 433.4 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.2995, allocations: 30.66 kB / 433.5 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.087e-05/0.2996, allocations: 27.92 kB / 433.5 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.2997, allocations: 15.92 kB / 433.5 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.829e-05/0.2998, allocations: 7.984 kB / 433.5 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.024e-05/0.2998, allocations: 15.92 kB / 433.5 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.2998, allocations: 4 kB / 433.5 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.766e-06/0.2999, allocations: 0 / 433.5 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.2999, allocations: 11.94 kB / 433.6 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.835e-05/0.2999, allocations: 15.94 kB / 433.6 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.3, allocations: 35.53 kB / 433.6 MB, free: 5.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3, allocations: 0 / 433.6 MB, free: 5.199 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3, allocations: 0 / 433.6 MB, free: 5.199 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.3, allocations: 4 kB / 433.6 MB, free: 5.195 MB / 334.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.0004596/0.3005, allocations: 255.5 kB / 433.9 MB, free: 4.914 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.3005, allocations: 19.95 kB / 433.9 MB, free: 4.895 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.723e-05/0.3006, allocations: 34.75 kB / 433.9 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.3006, allocations: 8.891 kB / 433.9 MB, free: 4.844 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.3008, allocations: 126.4 kB / 434.1 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.3009, allocations: 4.375 kB / 434.1 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.3009, allocations: 384 / 434.1 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003521/0.3012, allocations: 115.9 kB / 434.2 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3012, allocations: 3.938 kB / 434.2 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.3012, allocations: 0 / 434.2 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3012, allocations: 4 kB / 434.2 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.3014, allocations: 27.97 kB / 434.2 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000164/0.3015, allocations: 128.7 kB / 434.3 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.3017, allocations: 62.47 kB / 434.4 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.799e-05/0.3018, allocations: 24.92 kB / 434.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.3018, allocations: 0 / 434.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.3018, allocations: 34.56 kB / 434.4 MB, free: 4.223 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.3018, allocations: 0 / 434.4 MB, free: 4.223 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002849/0.3021, allocations: 89.48 kB / 434.5 MB, free: 4.129 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/0.3022, allocations: 55.41 kB / 434.6 MB, free: 4.062 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.3023, allocations: 105.8 kB / 434.7 MB, free: 3.949 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.3023, allocations: 25.7 kB / 434.7 MB, free: 3.918 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.878e-05/0.3024, allocations: 84.14 kB / 434.8 MB, free: 3.832 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.3024, allocations: 4 kB / 434.8 MB, free: 3.828 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/0.3024, allocations: 17.66 kB / 434.8 MB, free: 3.805 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.3026, allocations: 322.8 kB / 435.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.47e-05/0.3026, allocations: 4 kB / 435.1 MB, free: 3.477 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.238e-05/0.3026, allocations: 27.44 kB / 435.2 MB, free: 3.438 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.14e-05/0.3027, allocations: 43.36 kB / 435.2 MB, free: 3.383 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3027, allocations: 0 / 435.2 MB, free: 3.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.882e-05/0.3028, allocations: 57.59 kB / 435.3 MB, free: 3.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3028, allocations: 15.86 kB / 435.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.3028, allocations: 4 kB / 435.3 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.3028, allocations: 0 / 435.3 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.747e-05/0.3029, allocations: 15.94 kB / 435.3 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3029, allocations: 0 / 435.3 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.1e-05/0.3029, allocations: 8.5 kB / 435.3 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.3029, allocations: 3.984 kB / 435.3 MB, free: 3.273 MB / 334.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 9.559e-05/0.303, allocations: 117.8 kB / 435.4 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.3032, allocations: 61.61 kB / 435.5 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.21e-05/0.3032, allocations: 19.92 kB / 435.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.3032, allocations: 0 / 435.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3032, allocations: 0 / 435.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.3032, allocations: 0 / 435.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.3033, allocations: 128.7 kB / 435.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3033, allocations: 4 kB / 435.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.029e-05/0.3034, allocations: 11.98 kB / 435.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.18e-05/0.3034, allocations: 3.938 kB / 435.7 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.3034, allocations: 0 / 435.7 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3034, allocations: 4 kB / 435.7 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3034, allocations: 0 / 435.7 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.3036, allocations: 89.09 kB / 435.7 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-06/0.3036, allocations: 0 / 435.7 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.3036, allocations: 11.94 kB / 435.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.801e-05/0.3036, allocations: 0 / 435.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-06/0.3036, allocations: 0 / 435.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.3036, allocations: 4.281 kB / 435.8 MB, free: 2.742 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.192e-05/0.3037, allocations: 91.2 kB / 435.8 MB, free: 2.652 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3037, allocations: 0 / 435.8 MB, free: 2.652 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001837/0.3039, allocations: 4 kB / 435.9 MB, free: 2.648 MB / 334.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.0006539/0.3045, allocations: 0.6553 MB / 436.5 MB, free: 1.965 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001457/0.3047, allocations: 27.92 kB / 436.5 MB, free: 1.938 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3047, allocations: 0 / 436.5 MB, free: 1.938 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.3047, allocations: 3.938 kB / 436.5 MB, free: 1.934 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.305, allocations: 30.59 kB / 436.6 MB, free: 1.906 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.3063, allocations: 1.182 MB / 437.8 MB, free: 0.625 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004974/0.3068, allocations: 0.6807 MB / 438.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.578e-05/0.3068, allocations: 7.984 kB / 438.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/0.3069, allocations: 11.44 kB / 438.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3069, allocations: 0 / 438.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03225/0.3391, allocations: 1.39 MB / 439.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/8.413, allocations: 13.86 kB / 439.9 MB, free: 14.59 MB / 350.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.88572452031076] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 8.486849511042237 8.503205574 8.199657799 Calling exit ...