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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008877/0.0008917, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009652/0.0009654, allocations: 183.7 kB / 16.92 MB, free: 6.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9873/0.9873, allocations: 135.3 MB / 427.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.00035, allocations: 8 kB / 0.5082 GB, free: 4.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1679, allocations: 82.3 MB / 0.5886 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.001839/0.1698, allocations: 1.248 MB / 0.5898 GB, free: 1.391 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006664/0.1705, allocations: 423.1 kB / 0.5902 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.507e-05/0.1705, allocations: 0 / 0.5902 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.1706, allocations: 0 / 0.5902 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.751e-05/0.1706, allocations: 7.922 kB / 0.5902 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.1708, allocations: 23.97 kB / 0.5903 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.423e-05/0.1709, allocations: 47.86 kB / 0.5903 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.964e-05/0.171, allocations: 8 kB / 0.5903 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.1711, allocations: 19.91 kB / 0.5903 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.486e-05/0.1712, allocations: 23.86 kB / 0.5904 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.1712, allocations: 0 / 0.5904 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.838e-06/0.1712, allocations: 0 / 0.5904 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.1712, allocations: 15.98 kB / 0.5904 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.112e-05/0.1713, allocations: 41.58 kB / 0.5904 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.885e-05/0.1714, allocations: 23.94 kB / 0.5904 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1714, allocations: 0 / 0.5904 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1714, allocations: 0 / 0.5904 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.1714, allocations: 0 / 0.5904 GB, free: 0.7578 MB / 494.1 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.0004725/0.1719, allocations: 359.6 kB / 0.5908 GB, free: 368 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1719, allocations: 16.03 kB / 0.5908 GB, free: 352 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/0.1719, allocations: 0.9375 kB / 0.5908 GB, free: 352 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.1721, allocations: 176.2 kB / 0.591 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.1721, allocations: 12.31 kB / 0.591 GB, free: 124 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.1721, allocations: 384 / 0.591 GB, free: 124 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.1723, allocations: 73.97 kB / 0.591 GB, free: 44 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.1723, allocations: 0 / 0.591 GB, free: 44 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1723, allocations: 4 kB / 0.591 GB, free: 40 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1724, allocations: 4 kB / 0.591 GB, free: 36 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002062/0.1726, allocations: 51.97 kB / 0.5911 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.173, allocations: 296.7 kB / 0.5914 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/0.1734, allocations: 70.53 kB / 0.5914 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.1735, allocations: 32.91 kB / 0.5915 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.1735, allocations: 0 / 0.5915 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.1735, allocations: 34.56 kB / 0.5915 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 2.435e-06/0.1735, allocations: 3.984 kB / 0.5915 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003772/0.1739, allocations: 101.5 kB / 0.5916 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.1739, allocations: 55.34 kB / 0.5917 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.576e-05/0.174, allocations: 121.8 kB / 0.5918 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.1741, allocations: 25.7 kB / 0.5918 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.295e-05/0.1741, allocations: 96.08 kB / 0.5919 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.1741, allocations: 7.969 kB / 0.5919 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/0.1742, allocations: 13.72 kB / 0.5919 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1743, allocations: 322.8 kB / 0.5922 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.341e-05/0.1744, allocations: 23.98 kB / 0.5922 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.415e-05/0.1745, allocations: 19.98 kB / 0.5923 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.1747, allocations: 52.77 kB / 0.5923 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1747, allocations: 4 kB / 0.5923 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000226/0.1749, allocations: 77.58 kB / 0.5924 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1749, allocations: 4 kB / 0.5924 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1749, allocations: 0 / 0.5924 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1749, allocations: 0 / 0.5924 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.869e-05/0.175, allocations: 15.98 kB / 0.5924 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.82e-06/0.175, allocations: 0 / 0.5924 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.844e-05/0.1751, allocations: 8 kB / 0.5924 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.1751, allocations: 3.938 kB / 0.5924 GB, free: 14.49 MB / 0.4981 GB 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 7.559e-05/0.1752, allocations: 121.8 kB / 0.5925 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.1752, allocations: 3.906 kB / 0.5925 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.1753, allocations: 7.906 kB / 0.5926 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1753, allocations: 4 kB / 0.5926 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1753, allocations: 0 / 0.5926 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1753, allocations: 0 / 0.5926 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.1755, allocations: 177.6 kB / 0.5927 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1755, allocations: 7.938 kB / 0.5927 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.451e-05/0.1756, allocations: 8 kB / 0.5927 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1756, allocations: 0 / 0.5927 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.1756, allocations: 3.984 kB / 0.5927 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.1756, allocations: 0 / 0.5927 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1756, allocations: 0 / 0.5927 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.1759, allocations: 175.5 kB / 0.5929 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.1759, allocations: 85 kB / 0.593 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.176, allocations: 0 / 0.593 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.71e-05/0.176, allocations: 8 kB / 0.593 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.56e-05/0.1761, allocations: 4 kB / 0.593 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.1761, allocations: 7.984 kB / 0.593 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.047e-05/0.1761, allocations: 93.58 kB / 0.5931 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1761, allocations: 0 / 0.5931 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002175/0.1764, allocations: 7.938 kB / 0.5931 GB, free: 13.69 MB / 0.4981 GB 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 9.949e-05/0.1765, allocations: 107.1 kB / 0.5932 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000224/0.1767, allocations: 52.28 kB / 0.5933 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1767, allocations: 0 / 0.5933 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.599e-05/0.1768, allocations: 27.98 kB / 0.5933 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.1771, allocations: 192 / 0.5933 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003609/0.1775, allocations: 202.2 kB / 0.5935 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.1777, allocations: 0.6887 MB / 0.5942 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.105e-05/0.1777, allocations: 11.44 kB / 0.5942 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1778, allocations: 0 / 0.5942 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of Templates: time 0.001828/0.1796, allocations: 0.7071 MB / 0.5949 GB, free: 11.84 MB / 0.4981 GB 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)