Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001665/0.001665, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001984/0.001984, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.468/1.468, allocations: 230.6 MB / 258.3 MB, free: 8.055 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.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.00322/0.00322, allocations: 64.77 kB / 378.5 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2975, allocations: 53.37 MB / 431.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002655/0.3002, allocations: 1.474 MB / 433.4 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002736/0.3005, allocations: 95.62 kB / 433.5 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.747e-05/0.3005, allocations: 0 / 433.5 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.095e-05/0.3006, allocations: 7.922 kB / 433.5 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.795e-05/0.3006, allocations: 4 kB / 433.5 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.3009, allocations: 23.91 kB / 433.5 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.496e-05/0.301, allocations: 23.94 kB / 433.5 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.3011, allocations: 15.92 kB / 433.5 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.256e-05/0.3011, allocations: 8 kB / 433.6 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.92e-05/0.3011, allocations: 19.91 kB / 433.6 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.3012, allocations: 0 / 433.6 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.079e-05/0.3012, allocations: 4 kB / 433.6 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.3012, allocations: 3.938 kB / 433.6 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.618e-05/0.3012, allocations: 11.94 kB / 433.6 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.768e-05/0.3013, allocations: 33.95 kB / 433.6 MB, free: 5.164 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3013, allocations: 0 / 433.6 MB, free: 5.164 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3013, allocations: 0 / 433.6 MB, free: 5.164 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.3013, allocations: 0 / 433.6 MB, free: 5.164 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.0004219/0.3018, allocations: 270.3 kB / 433.9 MB, free: 4.867 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.3018, allocations: 12.03 kB / 433.9 MB, free: 4.855 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.126e-05/0.3018, allocations: 34.75 kB / 433.9 MB, free: 4.812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.407e-05/0.3019, allocations: 8.828 kB / 433.9 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.3021, allocations: 118.5 kB / 434.1 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.3021, allocations: 8.359 kB / 434.1 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-06/0.3021, allocations: 4.375 kB / 434.1 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003032/0.3024, allocations: 103.9 kB / 434.2 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3024, allocations: 7.875 kB / 434.2 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.3024, allocations: 0 / 434.2 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3024, allocations: 0 / 434.2 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.779e-05/0.3025, allocations: 23.97 kB / 434.2 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.3027, allocations: 132.7 kB / 434.3 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.3028, allocations: 58.47 kB / 434.4 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.11e-05/0.3029, allocations: 24.92 kB / 434.4 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.3029, allocations: 0 / 434.4 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.3029, allocations: 30.56 kB / 434.4 MB, free: 4.203 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.3029, allocations: 0 / 434.4 MB, free: 4.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002295/0.3032, allocations: 77.55 kB / 434.5 MB, free: 4.121 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.3032, allocations: 59.41 kB / 434.6 MB, free: 4.051 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.159e-05/0.3033, allocations: 109.8 kB / 434.7 MB, free: 3.934 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.3033, allocations: 25.7 kB / 434.7 MB, free: 3.902 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.356e-05/0.3034, allocations: 80.14 kB / 434.8 MB, free: 3.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.205e-06/0.3034, allocations: 4 kB / 434.8 MB, free: 3.816 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.3034, allocations: 13.72 kB / 434.8 MB, free: 3.797 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3036, allocations: 322.8 kB / 435.1 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.19e-05/0.3036, allocations: 4 kB / 435.1 MB, free: 3.469 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.491e-05/0.3036, allocations: 23.44 kB / 435.2 MB, free: 3.434 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.872e-05/0.3037, allocations: 43.36 kB / 435.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3037, allocations: 0 / 435.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.188e-05/0.3037, allocations: 53.59 kB / 435.2 MB, free: 3.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3038, allocations: 7.938 kB / 435.3 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.3038, allocations: 0 / 435.3 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.3038, allocations: 4 kB / 435.3 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.94e-05/0.3038, allocations: 15.92 kB / 435.3 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.3038, allocations: 4 kB / 435.3 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.829e-05/0.3039, allocations: 4.125 kB / 435.3 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-06/0.3039, allocations: 0 / 435.3 MB, free: 3.285 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: 3 (assignClock1.y,assignClock1.u,step.y) * 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.798e-05/0.304, allocations: 113.8 kB / 435.4 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.3041, allocations: 65.61 kB / 435.5 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.017e-05/0.3041, allocations: 4 kB / 435.5 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3041, allocations: 0 / 435.5 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3041, allocations: 0 / 435.5 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3041, allocations: 0 / 435.5 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.3042, allocations: 132.6 kB / 435.6 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.3042, allocations: 4 kB / 435.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.076e-05/0.3043, allocations: 11.98 kB / 435.6 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.3043, allocations: 3.938 kB / 435.6 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.3043, allocations: 4 kB / 435.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.3043, allocations: 4 kB / 435.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3043, allocations: 0 / 435.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.3044, allocations: 85.06 kB / 435.7 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-06/0.3044, allocations: 8.312 kB / 435.7 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.3044, allocations: 3.938 kB / 435.7 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.539e-05/0.3045, allocations: 4 kB / 435.7 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.594e-06/0.3045, allocations: 0 / 435.7 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.3045, allocations: 256 / 435.7 MB, free: 2.766 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.753e-05/0.3045, allocations: 91.27 kB / 435.8 MB, free: 2.676 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3045, allocations: 0 / 435.8 MB, free: 2.676 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001819/0.3047, allocations: 4 kB / 435.8 MB, free: 2.672 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: 3 (step.y,assignClock1.u,assignClock1.y) * 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.0004702/0.3052, allocations: 0.6318 MB / 436.4 MB, free: 2.012 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.3053, allocations: 27.92 kB / 436.5 MB, free: 1.984 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3053, allocations: 0 / 436.5 MB, free: 1.984 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.2e-07/0.3053, allocations: 0 / 436.5 MB, free: 1.984 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.3055, allocations: 20.23 kB / 436.5 MB, free: 1.965 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.3065, allocations: 1.15 MB / 437.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.3068, allocations: 0.6806 MB / 438.3 MB, free: 8 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.4e-05/0.3069, allocations: 12.03 kB / 438.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.522e-05/0.3069, allocations: 11.44 kB / 438.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3069, allocations: 0 / 438.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.3312, allocations: 1.242 MB / 439.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.062/8.393, allocations: 14.72 kB / 439.6 MB, free: 14.83 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.730072380043566] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 8.46339893527329 8.478584824 8.173992881 Calling exit ...