Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality") translateModel(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7835/0.7835, allocations: 133.4 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 222.9 MB / 404.7 MB, free: 6.023 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001052, allocations: 99.38 kB / 485.9 MB, free: 7.16 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 51.92 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1845, allocations: 80.43 MB / 0.6421 GB, free: 5.434 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.004192/0.1887, allocations: 1.583 MB / 0.6437 GB, free: 3.836 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.1898, allocations: 439 kB / 0.6441 GB, free: 3.402 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.716e-05/0.1899, allocations: 0 / 0.6441 GB, free: 3.402 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 5.057e-05/0.19, allocations: 0 / 0.6441 GB, free: 3.402 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.099e-05/0.1901, allocations: 11.92 kB / 0.6441 GB, free: 3.391 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.1904, allocations: 19.98 kB / 0.6441 GB, free: 3.371 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.1905, allocations: 43.86 kB / 0.6442 GB, free: 3.328 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.1907, allocations: 15.98 kB / 0.6442 GB, free: 3.312 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.1908, allocations: 23.91 kB / 0.6442 GB, free: 3.289 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.428e-05/0.1909, allocations: 19.86 kB / 0.6442 GB, free: 3.27 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.362e-05/0.191, allocations: 4 kB / 0.6442 GB, free: 3.266 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.623e-05/0.191, allocations: 8 kB / 0.6442 GB, free: 3.258 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.737e-05/0.191, allocations: 7.984 kB / 0.6442 GB, free: 3.25 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.527e-05/0.1911, allocations: 15.88 kB / 0.6443 GB, free: 3.234 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.1912, allocations: 39.81 kB / 0.6443 GB, free: 3.195 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1912, allocations: 0 / 0.6443 GB, free: 3.195 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1912, allocations: 4 kB / 0.6443 GB, free: 3.191 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.1912, allocations: 0 / 0.6443 GB, free: 3.191 MB / 442.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.0007648/0.192, allocations: 363.6 kB / 0.6446 GB, free: 2.789 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.1921, allocations: 8.031 kB / 0.6447 GB, free: 2.781 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.1921, allocations: 12.84 kB / 0.6447 GB, free: 2.77 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.1923, allocations: 180.2 kB / 0.6448 GB, free: 2.555 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.1923, allocations: 384 / 0.6448 GB, free: 2.555 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.1924, allocations: 8.375 kB / 0.6448 GB, free: 2.547 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.1927, allocations: 65.97 kB / 0.6449 GB, free: 2.477 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1927, allocations: 0 / 0.6449 GB, free: 2.477 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.1927, allocations: 3.938 kB / 0.6449 GB, free: 2.473 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.1927, allocations: 4 kB / 0.6449 GB, free: 2.469 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002633/0.193, allocations: 43.97 kB / 0.645 GB, free: 2.426 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006114/0.1936, allocations: 296.7 kB / 0.6452 GB, free: 2.086 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004595/0.1941, allocations: 62.53 kB / 0.6453 GB, free: 2.016 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.1943, allocations: 28.91 kB / 0.6453 GB, free: 1.984 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.1943, allocations: 0 / 0.6453 GB, free: 1.984 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.1943, allocations: 34.5 kB / 0.6454 GB, free: 1.941 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.1944, allocations: 0 / 0.6454 GB, free: 1.941 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005321/0.1949, allocations: 85.66 kB / 0.6454 GB, free: 1.852 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.1949, allocations: 51.41 kB / 0.6455 GB, free: 1.789 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.1951, allocations: 129.8 kB / 0.6456 GB, free: 1.652 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.1951, allocations: 25.7 kB / 0.6456 GB, free: 1.621 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.219e-05/0.1952, allocations: 92.02 kB / 0.6457 GB, free: 1.527 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.1952, allocations: 15.81 kB / 0.6457 GB, free: 1.512 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.201e-05/0.1953, allocations: 17.7 kB / 0.6458 GB, free: 1.488 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1955, allocations: 318.8 kB / 0.6461 GB, free: 1.168 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.1956, allocations: 11.98 kB / 0.6461 GB, free: 1.156 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.1957, allocations: 23.98 kB / 0.6461 GB, free: 1.133 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.196, allocations: 44.77 kB / 0.6461 GB, free: 1.086 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.196, allocations: 0 / 0.6461 GB, free: 1.086 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003207/0.1964, allocations: 65.67 kB / 0.6462 GB, free: 1.016 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.1964, allocations: 4 kB / 0.6462 GB, free: 1.012 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.1964, allocations: 3.984 kB / 0.6462 GB, free: 1.008 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.1964, allocations: 0 / 0.6462 GB, free: 1.008 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.1966, allocations: 12 kB / 0.6462 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1966, allocations: 0 / 0.6462 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.56e-05/0.1967, allocations: 11.89 kB / 0.6462 GB, free: 0.9844 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.1967, allocations: 0 / 0.6462 GB, free: 0.9844 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 0.0001113/0.1968, allocations: 117.8 kB / 0.6463 GB, free: 0.8594 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.1969, allocations: 7.938 kB / 0.6464 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.38e-05/0.1969, allocations: 3.906 kB / 0.6464 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.197, allocations: 4.328 kB / 0.6464 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.197, allocations: 4 kB / 0.6464 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.197, allocations: 3.984 kB / 0.6464 GB, free: 0.832 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/0.1973, allocations: 173.6 kB / 0.6465 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.1973, allocations: 3.984 kB / 0.6465 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.1974, allocations: 11.98 kB / 0.6466 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1974, allocations: 0 / 0.6466 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.1974, allocations: 4 kB / 0.6466 GB, free: 0.5938 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.1974, allocations: 0 / 0.6466 GB, free: 0.5938 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1975, allocations: 0 / 0.6466 GB, free: 0.5938 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008636/0.1983, allocations: 0.7433 MB / 0.6473 GB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.138e-05/0.1984, allocations: 85.02 kB / 0.6474 GB, free: 15.69 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.1985, allocations: 7.938 kB / 0.6474 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.1986, allocations: 0 / 0.6474 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.1987, allocations: 7.984 kB / 0.6474 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.1987, allocations: 4 kB / 0.6474 GB, free: 15.67 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.533e-05/0.1988, allocations: 99.2 kB / 0.6475 GB, free: 15.57 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1988, allocations: 0 / 0.6475 GB, free: 15.57 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00061/0.1994, allocations: 4 kB / 0.6475 GB, free: 15.57 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001166/0.1996, allocations: 103.2 kB / 0.6476 GB, free: 15.46 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003128/0.1999, allocations: 39.91 kB / 0.6476 GB, free: 15.42 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1999, allocations: 0 / 0.6476 GB, free: 15.42 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.2, allocations: 23.98 kB / 0.6476 GB, free: 15.39 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004703/0.2005, allocations: 5.828 kB / 0.6476 GB, free: 15.39 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006314/0.2012, allocations: 259 kB / 0.6479 GB, free: 15.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.2015, allocations: 0.6888 MB / 0.6486 GB, free: 14.38 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.474e-05/0.2016, allocations: 3.984 kB / 0.6486 GB, free: 14.38 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.146e-05/0.2017, allocations: 11.44 kB / 0.6486 GB, free: 14.37 MB / 458.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2017, allocations: 0 / 0.6486 GB, free: 14.37 MB / 458.7 MB Notification: Performance of Templates: time 0.003078/0.2048, allocations: 440.2 kB / 0.649 GB, free: 13.94 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.sim & ./IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)