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.00938/0.00938, allocations: 101.7 kB / 15.73 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002012/0.002012, allocations: 191.5 kB / 16.67 MB, free: 5.523 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.473/1.473, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8246/0.8246, allocations: 135.1 MB / 425.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 60.44 kB / 0.5856 GB, free: 21.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1606, allocations: 80.92 MB / 0.6646 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.00264/0.1633, allocations: 1.521 MB / 0.6661 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008087/0.1642, allocations: 442.8 kB / 0.6665 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.671e-05/0.1642, allocations: 3.938 kB / 0.6665 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.222e-05/0.1643, allocations: 11.94 kB / 0.6665 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.888e-05/0.1643, allocations: 7.922 kB / 0.6665 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.1645, allocations: 23.91 kB / 0.6666 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.436e-05/0.1646, allocations: 47.8 kB / 0.6666 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1647, allocations: 15.98 kB / 0.6666 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.1649, allocations: 27.91 kB / 0.6666 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.407e-05/0.1649, allocations: 23.92 kB / 0.6667 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.165, allocations: 4 kB / 0.6667 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.075e-05/0.165, allocations: 4 kB / 0.6667 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.165, allocations: 11.92 kB / 0.6667 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.434e-05/0.165, allocations: 19.88 kB / 0.6667 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.065e-05/0.1651, allocations: 39.88 kB / 0.6667 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1651, allocations: 0 / 0.6667 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1651, allocations: 0 / 0.6667 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.1652, allocations: 0 / 0.6667 GB, free: 3.797 MB / 0.4981 GB 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.0004745/0.1656, allocations: 367.3 kB / 0.6671 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.1657, allocations: 13.11 kB / 0.6671 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.1657, allocations: 4.844 kB / 0.6671 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.1658, allocations: 176.2 kB / 0.6673 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.1659, allocations: 4.375 kB / 0.6673 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.1659, allocations: 4.375 kB / 0.6673 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.1661, allocations: 69.97 kB / 0.6674 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1661, allocations: 0 / 0.6674 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.1661, allocations: 4 kB / 0.6674 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1661, allocations: 4 kB / 0.6674 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.1663, allocations: 39.97 kB / 0.6674 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004952/0.1668, allocations: 300.6 kB / 0.6677 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.1671, allocations: 66.53 kB / 0.6677 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.559e-05/0.1672, allocations: 24.91 kB / 0.6678 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.1673, allocations: 0 / 0.6678 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.1673, allocations: 34.5 kB / 0.6678 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1673, allocations: 0 / 0.6678 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003635/0.1677, allocations: 85.66 kB / 0.6679 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.1677, allocations: 55.41 kB / 0.6679 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.919e-05/0.1678, allocations: 121.8 kB / 0.6681 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.1678, allocations: 25.7 kB / 0.6681 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.452e-05/0.1679, allocations: 92.05 kB / 0.6682 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.1679, allocations: 7.844 kB / 0.6682 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.1679, allocations: 21.7 kB / 0.6682 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.433e-05/0.168, allocations: 318.8 kB / 0.6685 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.083e-05/0.1681, allocations: 15.98 kB / 0.6685 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.349e-05/0.1682, allocations: 19.98 kB / 0.6685 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.1684, allocations: 44.77 kB / 0.6686 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1684, allocations: 0 / 0.6686 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002088/0.1686, allocations: 69.58 kB / 0.6686 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1686, allocations: 7.984 kB / 0.6687 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1687, allocations: 0 / 0.6687 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.1687, allocations: 8.328 kB / 0.6687 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.826e-05/0.1688, allocations: 4 kB / 0.6687 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.1688, allocations: 0 / 0.6687 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.67e-05/0.1688, allocations: 11.92 kB / 0.6687 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.1689, allocations: 4 kB / 0.6687 GB, free: 1.59 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.327e-05/0.1689, allocations: 109.8 kB / 0.6688 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.169, allocations: 7.984 kB / 0.6688 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.881e-05/0.169, allocations: 7.906 kB / 0.6688 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.169, allocations: 7.938 kB / 0.6688 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.169, allocations: 3.984 kB / 0.6688 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.169, allocations: 4 kB / 0.6688 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.1692, allocations: 169.6 kB / 0.669 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1692, allocations: 0 / 0.669 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.525e-05/0.1693, allocations: 11.98 kB / 0.669 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.1693, allocations: 0 / 0.669 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.1693, allocations: 0 / 0.669 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1693, allocations: 0 / 0.669 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1693, allocations: 0 / 0.669 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.1696, allocations: 179.4 kB / 0.6692 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.981e-05/0.1696, allocations: 84.95 kB / 0.6692 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.1697, allocations: 4 kB / 0.6692 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.547e-05/0.1698, allocations: 7.984 kB / 0.6693 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.1698, allocations: 4 kB / 0.6693 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.1698, allocations: 0 / 0.6693 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001058/0.1699, allocations: 103.6 kB / 0.6694 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1699, allocations: 0 / 0.6694 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002211/0.1701, allocations: 11.94 kB / 0.6694 GB, free: 0.7891 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 8.833e-05/0.1702, allocations: 96.58 kB / 0.6695 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002211/0.1705, allocations: 35.97 kB / 0.6695 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1705, allocations: 0 / 0.6695 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.284e-05/0.1706, allocations: 23.98 kB / 0.6695 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.1709, allocations: 13.64 kB / 0.6695 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003366/0.1712, allocations: 146.5 kB / 0.6697 GB, free: 460 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.1715, allocations: 0.681 MB / 0.6703 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.267e-05/0.1715, allocations: 4 kB / 0.6703 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/0.1715, allocations: 7.438 kB / 0.6703 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1715, allocations: 7.938 kB / 0.6704 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of Templates: time 0.002408/0.1739, allocations: 481.3 kB / 0.6708 GB, free: 15.26 MB / 0.5137 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)