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.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.001271/0.001271, 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.001411/0.001411, allocations: 213.2 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.401/1.401, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.TickBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.002956/0.002956, allocations: 72.73 kB / 378.5 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3193, allocations: 53.38 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002888/0.3221, allocations: 1.448 MB / 433.4 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001937/0.3223, allocations: 31.91 kB / 433.4 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.865e-05/0.3224, allocations: 0 / 433.4 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.84e-05/0.3224, allocations: 3.938 kB / 433.4 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.524e-05/0.3225, allocations: 3.938 kB / 433.4 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.3227, allocations: 23.97 kB / 433.4 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.3228, allocations: 31.92 kB / 433.5 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.3229, allocations: 8 kB / 433.5 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.548e-05/0.323, allocations: 15.92 kB / 433.5 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.048e-05/0.323, allocations: 11.94 kB / 433.5 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.3231, allocations: 0 / 433.5 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.185e-05/0.3231, allocations: 4 kB / 433.5 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.541e-05/0.3231, allocations: 11.91 kB / 433.5 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.745e-05/0.3231, allocations: 15.94 kB / 433.5 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.3232, allocations: 25.03 kB / 433.6 MB, free: 5.266 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3232, allocations: 0 / 433.6 MB, free: 5.266 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3232, allocations: 0 / 433.6 MB, free: 5.266 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.3232, allocations: 7.938 kB / 433.6 MB, free: 5.258 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.0004484/0.3237, allocations: 270 kB / 433.8 MB, free: 4.965 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.3237, allocations: 8.031 kB / 433.8 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.533e-05/0.3238, allocations: 38.73 kB / 433.9 MB, free: 4.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.685e-05/0.3238, allocations: 4.891 kB / 433.9 MB, free: 4.906 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.324, allocations: 130.3 kB / 434 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.324, allocations: 4.375 kB / 434 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.3241, allocations: 4.375 kB / 434 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003578/0.3244, allocations: 123.8 kB / 434.1 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3244, allocations: 3.938 kB / 434.1 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.3244, allocations: 0 / 434.1 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3244, allocations: 0 / 434.1 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.3245, allocations: 27.97 kB / 434.2 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001415/0.3247, allocations: 128.7 kB / 434.3 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.3248, allocations: 58.53 kB / 434.3 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.253e-05/0.3249, allocations: 24.88 kB / 434.4 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.3249, allocations: 3.984 kB / 434.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.325, allocations: 38.56 kB / 434.4 MB, free: 4.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.325, allocations: 0 / 434.4 MB, free: 4.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002763/0.3252, allocations: 85.55 kB / 434.5 MB, free: 4.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.3253, allocations: 55.34 kB / 434.5 MB, free: 4.113 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.709e-05/0.3254, allocations: 109.8 kB / 434.7 MB, free: 3.996 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.3254, allocations: 25.7 kB / 434.7 MB, free: 3.965 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.767e-05/0.3254, allocations: 84.14 kB / 434.8 MB, free: 3.879 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.3255, allocations: 4 kB / 434.8 MB, free: 3.875 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.3255, allocations: 17.72 kB / 434.8 MB, free: 3.852 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3256, allocations: 314.8 kB / 435.1 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.622e-05/0.3256, allocations: 8 kB / 435.1 MB, free: 3.527 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.2e-05/0.3257, allocations: 27.44 kB / 435.1 MB, free: 3.488 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.478e-05/0.3257, allocations: 43.36 kB / 435.2 MB, free: 3.434 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3257, allocations: 0 / 435.2 MB, free: 3.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.525e-05/0.3258, allocations: 61.62 kB / 435.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.3258, allocations: 11.92 kB / 435.2 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.3258, allocations: 0 / 435.2 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3259, allocations: 4 kB / 435.2 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.516e-05/0.3259, allocations: 11.94 kB / 435.3 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.3259, allocations: 3.938 kB / 435.3 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.802e-05/0.3259, allocations: 0 / 435.3 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.3259, allocations: 4 kB / 435.3 MB, free: 3.332 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: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * 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.769e-05/0.326, allocations: 117.9 kB / 435.4 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.3262, allocations: 73.56 kB / 435.4 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.3262, allocations: 11.98 kB / 435.5 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.3262, allocations: 0 / 435.5 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3262, allocations: 0 / 435.5 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3262, allocations: 0 / 435.5 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.551e-05/0.3263, allocations: 128.7 kB / 435.6 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3263, allocations: 384 / 435.6 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.589e-05/0.3264, allocations: 11.98 kB / 435.6 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.3264, allocations: 3.938 kB / 435.6 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.3264, allocations: 8 kB / 435.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.3264, allocations: 7.984 kB / 435.6 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3264, allocations: 4 kB / 435.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.3265, allocations: 89.09 kB / 435.7 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.3266, allocations: 3.953 kB / 435.7 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.3266, allocations: 3.938 kB / 435.7 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.736e-05/0.3266, allocations: 4 kB / 435.7 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-06/0.3266, allocations: 0 / 435.7 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.3266, allocations: 4 kB / 435.7 MB, free: 2.785 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.662e-05/0.3267, allocations: 91.27 kB / 435.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3267, allocations: 0 / 435.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001775/0.3268, allocations: 4 kB / 435.8 MB, free: 2.691 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: 4 (assignClock1.u,assignClock1.y,step.y,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.0005577/0.3274, allocations: 0.6478 MB / 436.5 MB, free: 2.016 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.3275, allocations: 32.05 kB / 436.5 MB, free: 1.984 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3275, allocations: 0 / 436.5 MB, free: 1.984 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.3275, 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.0002745/0.3278, allocations: 24.08 kB / 436.5 MB, free: 1.961 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.3289, allocations: 1.189 MB / 437.7 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.3292, allocations: 0.6807 MB / 438.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.309e-05/0.3292, allocations: 7.938 kB / 438.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.903e-05/0.3292, allocations: 11.44 kB / 438.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3292, allocations: 0 / 438.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/0.3545, allocations: 1.374 MB / 439.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.583/7.938, allocations: 13.64 kB / 439.8 MB, free: 14.66 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.289375511929393] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 8.00886636506766 8.03413772 7.706040719 Calling exit ...