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.001423/0.001423, allocations: 109.6 kB / 19.74 MB, free: 2.453 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.00156/0.00156, allocations: 218.5 kB / 22.92 MB, free: 5.191 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.4 MB / 256.4 MB, free: 8.258 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.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.00178/0.00178, allocations: 67.84 kB / 376.1 MB, free: 4.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.209, allocations: 53.31 MB / 429.4 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002353/0.2114, allocations: 1.486 MB / 430.9 MB, free: 5.961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001569/0.2115, allocations: 31.91 kB / 430.9 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.895e-05/0.2116, allocations: 0 / 430.9 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.608e-05/0.2116, allocations: 7.938 kB / 430.9 MB, free: 5.922 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.36e-05/0.2116, allocations: 3.938 kB / 430.9 MB, free: 5.918 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.2118, allocations: 15.98 kB / 431 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.345e-05/0.2119, allocations: 31.92 kB / 431 MB, free: 5.871 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.37e-05/0.212, allocations: 15.91 kB / 431 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.273e-05/0.212, allocations: 8 kB / 431 MB, free: 5.848 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.138e-05/0.2121, allocations: 15.92 kB / 431 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.2121, allocations: 0 / 431 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.828e-06/0.2121, allocations: 4 kB / 431 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.856e-05/0.2121, allocations: 7.938 kB / 431 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.067e-05/0.2122, allocations: 19.92 kB / 431.1 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.831e-05/0.2123, allocations: 28.88 kB / 431.1 MB, free: 5.773 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2123, allocations: 0 / 431.1 MB, free: 5.773 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2123, allocations: 0 / 431.1 MB, free: 5.773 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.2123, allocations: 0 / 431.1 MB, free: 5.773 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.0003939/0.2127, allocations: 350.8 kB / 431.4 MB, free: 5.383 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.2127, allocations: 11.97 kB / 431.4 MB, free: 5.371 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.522e-05/0.2127, allocations: 34.75 kB / 431.5 MB, free: 5.328 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.169e-05/0.2127, allocations: 8.828 kB / 431.5 MB, free: 5.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.2129, allocations: 188.3 kB / 431.7 MB, free: 5.098 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.213, allocations: 384 / 431.7 MB, free: 5.098 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.213, allocations: 8.359 kB / 431.7 MB, free: 5.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.2133, allocations: 111.9 kB / 431.8 MB, free: 4.969 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.2133, allocations: 3.938 kB / 431.8 MB, free: 4.965 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.2133, allocations: 4 kB / 431.8 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.2133, allocations: 4 kB / 431.8 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.2134, allocations: 27.91 kB / 431.8 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.2135, allocations: 157.7 kB / 432 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.2137, allocations: 50.55 kB / 432 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.346e-05/0.2138, allocations: 28.91 kB / 432 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.012e-06/0.2138, allocations: 0 / 432 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.2138, allocations: 34.56 kB / 432.1 MB, free: 4.594 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.2138, allocations: 4 kB / 432.1 MB, free: 4.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002553/0.2141, allocations: 89.48 kB / 432.2 MB, free: 4.496 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.2141, allocations: 55.41 kB / 432.2 MB, free: 4.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.8e-05/0.2142, allocations: 105.8 kB / 432.3 MB, free: 4.316 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.2142, allocations: 29.7 kB / 432.4 MB, free: 4.281 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.2142, allocations: 84.14 kB / 432.4 MB, free: 4.195 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.167e-06/0.2142, allocations: 0 / 432.4 MB, free: 4.195 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.2143, allocations: 17.72 kB / 432.5 MB, free: 4.172 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.2144, allocations: 318.8 kB / 432.8 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.396e-05/0.2144, allocations: 8 kB / 432.8 MB, free: 3.844 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.003e-05/0.2144, allocations: 27.69 kB / 432.8 MB, free: 3.805 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.779e-05/0.2145, allocations: 39.38 kB / 432.8 MB, free: 3.754 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.2145, allocations: 0 / 432.8 MB, free: 3.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.334e-05/0.2146, allocations: 69.52 kB / 432.9 MB, free: 3.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.2146, allocations: 15.88 kB / 432.9 MB, free: 3.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.2146, allocations: 0 / 432.9 MB, free: 3.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.2146, allocations: 0 / 432.9 MB, free: 3.664 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.979e-05/0.2147, allocations: 11.98 kB / 432.9 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.2147, allocations: 0 / 432.9 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.956e-05/0.2147, allocations: 4.125 kB / 432.9 MB, free: 3.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-06/0.2147, allocations: 4 kB / 432.9 MB, free: 3.645 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 7.424e-05/0.2148, allocations: 113.8 kB / 433.1 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.2149, allocations: 69.55 kB / 433.1 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.488e-05/0.2149, allocations: 7.906 kB / 433.1 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.2149, allocations: 240 / 433.1 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.2149, allocations: 3.938 kB / 433.1 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.215, allocations: 7.969 kB / 433.1 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.2151, allocations: 157.6 kB / 433.3 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2151, allocations: 0 / 433.3 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.482e-05/0.2151, allocations: 15.98 kB / 433.3 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.2151, allocations: 3.938 kB / 433.3 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.2151, allocations: 4 kB / 433.3 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.2151, allocations: 0 / 433.3 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2151, allocations: 0 / 433.3 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.2153, allocations: 85.11 kB / 433.4 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.954e-05/0.2153, allocations: 81.09 kB / 433.5 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.2153, allocations: 7.938 kB / 433.5 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.798e-05/0.2154, allocations: 11.94 kB / 433.5 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.913e-06/0.2154, allocations: 0 / 433.5 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.2154, allocations: 4 kB / 433.5 MB, free: 2.969 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.397e-05/0.2154, allocations: 87.39 kB / 433.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2154, allocations: 0 / 433.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001726/0.2156, allocations: 8 kB / 433.6 MB, free: 2.875 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.0005271/0.2161, allocations: 0.6436 MB / 434.2 MB, free: 2.203 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001231/0.2162, allocations: 39.91 kB / 434.3 MB, free: 2.164 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2163, allocations: 0 / 434.3 MB, free: 2.164 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.2163, allocations: 3.938 kB / 434.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.2165, allocations: 24.02 kB / 434.3 MB, free: 2.137 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009429/0.2174, allocations: 1.174 MB / 435.5 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.2177, allocations: 0.6832 MB / 436.2 MB, free: 160 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.584e-05/0.2177, allocations: 0 / 436.2 MB, free: 160 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.2177, allocations: 19.42 kB / 436.2 MB, free: 140 kB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2177, allocations: 0 / 436.2 MB, free: 140 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/0.2389, allocations: 1.363 MB / 437.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.856/7.095, allocations: 4 kB / 437.6 MB, free: 14.85 MB / 350.1 MB " [Timeout remaining time 653] (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 --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: 9.110650132002775]