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.00116/0.00116, allocations: 109.7 kB / 19.74 MB, free: 2.586 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.001265/0.001265, allocations: 222.3 kB / 22.92 MB, free: 5.559 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.268/1.268, allocations: 230.5 MB / 256.4 MB, free: 8.27 MB / 206.1 MB " [Timeout remaining time 179] 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.001759/0.001759, allocations: 79.81 kB / 376.1 MB, free: 4.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2158, allocations: 53.31 MB / 429.4 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002493/0.2183, allocations: 1.452 MB / 430.8 MB, free: 5.992 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001648/0.2184, allocations: 27.91 kB / 430.9 MB, free: 5.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.762e-05/0.2185, allocations: 7.938 kB / 430.9 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.716e-05/0.2185, allocations: 0 / 430.9 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.116e-05/0.2186, allocations: 3.938 kB / 430.9 MB, free: 5.953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.2188, allocations: 23.97 kB / 430.9 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.768e-05/0.2189, allocations: 27.92 kB / 430.9 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.674e-05/0.2189, allocations: 11.98 kB / 430.9 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.427e-05/0.219, allocations: 7.938 kB / 431 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.733e-05/0.219, allocations: 19.91 kB / 431 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.219, allocations: 4 kB / 431 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.447e-06/0.2191, allocations: 4 kB / 431 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.2191, allocations: 7.938 kB / 431 MB, free: 5.848 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.2191, allocations: 15.92 kB / 431 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.508e-05/0.2192, allocations: 28.88 kB / 431 MB, free: 5.805 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2192, allocations: 4 kB / 431 MB, free: 5.801 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2192, allocations: 0 / 431 MB, free: 5.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.2192, allocations: 0 / 431 MB, free: 5.801 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.000422/0.2196, allocations: 350.8 kB / 431.4 MB, free: 5.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.2197, allocations: 8.031 kB / 431.4 MB, free: 5.402 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.146e-05/0.2197, allocations: 34.75 kB / 431.4 MB, free: 5.359 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.648e-05/0.2197, allocations: 8.891 kB / 431.4 MB, free: 5.352 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.22, allocations: 176.2 kB / 431.6 MB, free: 5.141 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.22, allocations: 4.375 kB / 431.6 MB, free: 5.137 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.22, allocations: 8.312 kB / 431.6 MB, free: 5.129 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.2203, allocations: 131.8 kB / 431.7 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2203, allocations: 3.938 kB / 431.7 MB, free: 4.984 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.2203, allocations: 0 / 431.7 MB, free: 4.984 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2203, allocations: 0 / 431.7 MB, free: 4.984 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.2204, allocations: 27.91 kB / 431.8 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001438/0.2206, allocations: 157.7 kB / 431.9 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.2207, allocations: 54.55 kB / 432 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.505e-05/0.2208, allocations: 28.91 kB / 432 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-06/0.2208, allocations: 4 kB / 432 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.2208, allocations: 30.56 kB / 432 MB, free: 4.617 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.2209, allocations: 0 / 432 MB, free: 4.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002628/0.2211, allocations: 89.48 kB / 432.1 MB, free: 4.523 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.2212, allocations: 51.41 kB / 432.2 MB, free: 4.461 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.773e-05/0.2212, allocations: 113.8 kB / 432.3 MB, free: 4.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.2213, allocations: 25.7 kB / 432.3 MB, free: 4.309 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.145e-05/0.2213, allocations: 88.14 kB / 432.4 MB, free: 4.219 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.054e-05/0.2213, allocations: 0 / 432.4 MB, free: 4.219 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.2213, allocations: 17.72 kB / 432.4 MB, free: 4.195 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.2214, allocations: 318.8 kB / 432.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.261e-05/0.2215, allocations: 4 kB / 432.7 MB, free: 3.871 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.969e-05/0.2215, allocations: 31.44 kB / 432.8 MB, free: 3.828 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.696e-05/0.2215, allocations: 39.36 kB / 432.8 MB, free: 3.777 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2215, allocations: 0 / 432.8 MB, free: 3.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.538e-05/0.2216, allocations: 61.66 kB / 432.9 MB, free: 3.711 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.2216, allocations: 11.94 kB / 432.9 MB, free: 3.699 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.2216, allocations: 4 kB / 432.9 MB, free: 3.695 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.2217, allocations: 3.984 kB / 432.9 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.65e-05/0.2217, allocations: 8 kB / 432.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.2217, allocations: 0 / 432.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.153e-05/0.2217, allocations: 11.94 kB / 432.9 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-06/0.2217, allocations: 0 / 432.9 MB, free: 3.672 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 7.652e-05/0.2218, allocations: 109.8 kB / 433 MB, free: 3.555 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.222, allocations: 77.5 kB / 433.1 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.418e-05/0.222, allocations: 7.906 kB / 433.1 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.222, allocations: 3.984 kB / 433.1 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.222, allocations: 0 / 433.1 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.222, allocations: 0 / 433.1 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.2221, allocations: 157.6 kB / 433.3 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2221, allocations: 0 / 433.3 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.069e-05/0.2222, allocations: 15.98 kB / 433.3 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/0.2222, allocations: 4.172 kB / 433.3 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.2222, allocations: 0 / 433.3 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.2222, allocations: 4 kB / 433.3 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2222, allocations: 4 kB / 433.3 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.2224, allocations: 97.02 kB / 433.4 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.147e-05/0.2224, allocations: 81.06 kB / 433.5 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.2224, allocations: 4.312 kB / 433.5 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.165e-05/0.2224, allocations: 4 kB / 433.5 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.398e-06/0.2225, allocations: 4 kB / 433.5 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.2225, allocations: 0 / 433.5 MB, free: 2.996 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.409e-05/0.2225, allocations: 95.27 kB / 433.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2225, allocations: 0 / 433.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001798/0.2227, allocations: 4 kB / 433.6 MB, free: 2.898 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.0005166/0.2232, allocations: 0.6437 MB / 434.2 MB, free: 2.227 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001257/0.2233, allocations: 32.17 kB / 434.2 MB, free: 2.195 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2233, allocations: 4.062 kB / 434.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.2233, allocations: 0 / 434.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.2236, allocations: 27.95 kB / 434.3 MB, free: 2.164 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009313/0.2245, allocations: 1.173 MB / 435.4 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.2248, allocations: 0.6807 MB / 436.1 MB, free: 188 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.611e-05/0.2248, allocations: 0 / 436.1 MB, free: 188 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.2248, allocations: 19.42 kB / 436.1 MB, free: 168 kB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2248, allocations: 0 / 436.1 MB, free: 168 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02153/0.2463, allocations: 1.351 MB / 437.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.962/7.209, allocations: 15.44 kB / 437.5 MB, free: 14.89 MB / 350.1 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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: 9.247212793001381]