Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001682/0.001682, allocations: 181.1 kB / 15.8 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 205.4 MB / 221.9 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009909/0.0009908, allocations: 98.84 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07986/0.07986, allocations: 12.6 MB / 331.1 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003757/0.0003756, allocations: 11.09 kB / 392 MB, free: 54.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08418/0.08458, allocations: 50.37 MB / 442.4 MB, free: 10.97 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.104/0.1886, allocations: 78.51 MB / 0.5087 GB, free: 12.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/0.1888, allocations: 55.97 kB / 0.5087 GB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005184/0.194, allocations: 1.791 MB / 0.5105 GB, free: 10.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1941, allocations: 0 / 0.5105 GB, free: 10.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.1941, allocations: 4 kB / 0.5105 GB, free: 10.5 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004484/0.1945, allocations: 379 kB / 0.5108 GB, free: 10.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1946, allocations: 12.03 kB / 0.5108 GB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.1946, allocations: 11.89 kB / 0.5108 GB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.1948, allocations: 203.1 kB / 0.511 GB, free: 9.824 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.1949, allocations: 7.953 kB / 0.5111 GB, free: 9.816 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.1949, allocations: 7.906 kB / 0.5111 GB, free: 9.809 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002847/0.1952, allocations: 117 kB / 0.5112 GB, free: 9.676 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1952, allocations: 0 / 0.5112 GB, free: 9.676 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.1952, allocations: 0 / 0.5112 GB, free: 9.676 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1952, allocations: 0 / 0.5112 GB, free: 9.676 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.754e-05/0.1953, allocations: 23.98 kB / 0.5112 GB, free: 9.652 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003777/0.1957, allocations: 289.7 kB / 0.5115 GB, free: 9.316 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.196, allocations: 74.97 kB / 0.5115 GB, free: 9.227 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.1961, allocations: 16.02 kB / 0.5116 GB, free: 9.211 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.1961, allocations: 30.56 kB / 0.5116 GB, free: 9.172 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1961, allocations: 0 / 0.5116 GB, free: 9.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.000256/0.1964, allocations: 85.52 kB / 0.5117 GB, free: 9.082 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/0.1964, allocations: 85.23 kB / 0.5117 GB, free: 8.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.1965, allocations: 138.1 kB / 0.5119 GB, free: 8.832 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.1966, allocations: 25.7 kB / 0.5119 GB, free: 8.801 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/0.1966, allocations: 88.14 kB / 0.512 GB, free: 8.711 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.1966, allocations: 7.906 kB / 0.512 GB, free: 8.703 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/0.1966, allocations: 0 / 0.512 GB, free: 8.703 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.694e-05/0.1967, allocations: 322.8 kB / 0.5123 GB, free: 8.379 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.087e-05/0.1968, allocations: 15.98 kB / 0.5123 GB, free: 8.363 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.068e-05/0.1969, allocations: 52.28 kB / 0.5124 GB, free: 8.297 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.197, allocations: 113 kB / 0.5125 GB, free: 8.168 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.197, allocations: 3.938 kB / 0.5125 GB, free: 8.164 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001614/0.1972, allocations: 93.52 kB / 0.5126 GB, free: 8.066 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1972, allocations: 4 kB / 0.5126 GB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1972, allocations: 4.156 kB / 0.5126 GB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1973, allocations: 0 / 0.5126 GB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.408e-05/0.1973, allocations: 15.94 kB / 0.5126 GB, free: 8.043 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.1973, allocations: 12.12 kB / 0.5126 GB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.597e-05/0.1974, allocations: 8 kB / 0.5126 GB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.1974, allocations: 0 / 0.5126 GB, free: 8.023 MB / 362.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: firstOrder.y = firstOrder.y_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 2 (firstOrder.y,$DER.firstOrder.y) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.1975, allocations: 137.5 kB / 0.5127 GB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.533e-05/0.1976, allocations: 61.48 kB / 0.5128 GB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.655e-05/0.1977, allocations: 16.23 kB / 0.5128 GB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1977, allocations: 384 / 0.5128 GB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1977, allocations: 0 / 0.5128 GB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1977, allocations: 4 kB / 0.5128 GB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.1979, allocations: 181.5 kB / 0.513 GB, free: 7.566 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1979, allocations: 3.953 kB / 0.513 GB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.198, allocations: 23.97 kB / 0.513 GB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.198, allocations: 0 / 0.513 GB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.198, allocations: 4 kB / 0.513 GB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.198, allocations: 3.984 kB / 0.513 GB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.198, allocations: 0 / 0.513 GB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.1982, allocations: 197.9 kB / 0.5132 GB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/0.1983, allocations: 93 kB / 0.5133 GB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.1983, allocations: 4 kB / 0.5133 GB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.401e-05/0.1984, allocations: 0 / 0.5133 GB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.1985, allocations: 4 kB / 0.5133 GB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.1985, allocations: 7.984 kB / 0.5133 GB, free: 7.188 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.328e-05/0.1986, allocations: 112.6 kB / 0.5134 GB, free: 7.078 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1986, allocations: 0 / 0.5134 GB, free: 7.078 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002255/0.1988, allocations: 11.98 kB / 0.5134 GB, free: 7.066 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 2 ($DER.firstOrder.y,firstOrder.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.01e-05/0.1989, allocations: 95.25 kB / 0.5135 GB, free: 6.961 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001799/0.1991, allocations: 51.91 kB / 0.5136 GB, free: 6.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.1991, allocations: 4.312 kB / 0.5136 GB, free: 6.906 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.774e-05/0.1991, allocations: 8 kB / 0.5136 GB, free: 6.898 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.1994, allocations: 44.42 kB / 0.5136 GB, free: 6.855 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003664/0.1998, allocations: 227.8 kB / 0.5139 GB, free: 6.598 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.2, allocations: 0.7004 MB / 0.5145 GB, free: 5.871 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.878e-05/0.2001, allocations: 11.84 kB / 0.5145 GB, free: 5.859 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/0.2001, allocations: 15.36 kB / 0.5146 GB, free: 5.848 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2001, allocations: 4 kB / 0.5146 GB, free: 5.844 MB / 362.7 MB Notification: Performance of Templates: time 0.002561/0.2027, allocations: 0.6677 MB / 0.5152 GB, free: 5.184 MB / 362.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe 2>&1)