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.0008241/0.000824, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008894/0.0008893, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9237/0.9237, allocations: 135.3 MB / 426.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003011/0.0003011, allocations: 15.98 kB / 0.507 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1585, allocations: 82.3 MB / 0.5874 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.001601/0.1601, allocations: 1.225 MB / 0.5886 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006068/0.1607, allocations: 403.4 kB / 0.5889 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.678e-05/0.1608, allocations: 4 kB / 0.5889 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.914e-05/0.1608, allocations: 3.938 kB / 0.589 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.891e-05/0.1609, allocations: 3.938 kB / 0.589 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.161, allocations: 23.97 kB / 0.589 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.248e-05/0.1611, allocations: 35.8 kB / 0.589 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.643e-05/0.1612, allocations: 15.98 kB / 0.589 GB, free: 1.398 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.008e-05/0.1613, allocations: 23.92 kB / 0.5891 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.268e-05/0.1614, allocations: 19.91 kB / 0.5891 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.1614, allocations: 0 / 0.5891 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.777e-06/0.1614, allocations: 4 kB / 0.5891 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.1614, allocations: 3.938 kB / 0.5891 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.36e-05/0.1615, allocations: 29.7 kB / 0.5891 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.852e-05/0.1615, allocations: 27.95 kB / 0.5891 GB, free: 1.285 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1615, allocations: 0 / 0.5891 GB, free: 1.285 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1615, allocations: 0 / 0.5891 GB, free: 1.285 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.1616, allocations: 0 / 0.5891 GB, free: 1.285 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.0004686/0.162, allocations: 367.4 kB / 0.5895 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.1621, allocations: 8.031 kB / 0.5895 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.647e-05/0.1621, allocations: 4 kB / 0.5895 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.1622, allocations: 174.8 kB / 0.5897 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.1622, allocations: 8 kB / 0.5897 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.1623, allocations: 0 / 0.5897 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.1625, allocations: 77.64 kB / 0.5897 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.1625, allocations: 0 / 0.5897 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.1625, allocations: 0 / 0.5897 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1625, allocations: 0 / 0.5897 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.1627, allocations: 47.97 kB / 0.5898 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.1632, allocations: 300.7 kB / 0.5901 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/0.1635, allocations: 74.53 kB / 0.5901 GB, free: 96 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.862e-05/0.1636, allocations: 32.84 kB / 0.5902 GB, free: 60 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.1636, allocations: 4 kB / 0.5902 GB, free: 56 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.1636, allocations: 30.56 kB / 0.5902 GB, free: 16 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1636, allocations: 0 / 0.5902 GB, free: 16 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003907/0.164, allocations: 101.6 kB / 0.5903 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.1641, allocations: 55.36 kB / 0.5904 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.1642, allocations: 125.8 kB / 0.5905 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.1642, allocations: 25.7 kB / 0.5905 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.113e-05/0.1642, allocations: 100.1 kB / 0.5906 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.1643, allocations: 7.812 kB / 0.5906 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-06/0.1643, allocations: 0 / 0.5906 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1644, allocations: 322.8 kB / 0.5909 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.909e-05/0.1645, allocations: 15.98 kB / 0.5909 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.066e-05/0.1646, allocations: 20.17 kB / 0.591 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.336e-05/0.1647, allocations: 32.06 kB / 0.591 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1647, allocations: 0 / 0.591 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001912/0.1649, allocations: 77.61 kB / 0.5911 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1649, allocations: 4 kB / 0.5911 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1649, allocations: 0 / 0.5911 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1649, allocations: 4 kB / 0.5911 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.462e-05/0.165, allocations: 11.98 kB / 0.5911 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.165, allocations: 7.953 kB / 0.5911 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.921e-05/0.1651, allocations: 7.906 kB / 0.5911 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.1651, allocations: 3.984 kB / 0.5911 GB, free: 15.06 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.178e-05/0.1652, allocations: 113.8 kB / 0.5912 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.1652, allocations: 0 / 0.5912 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.981e-05/0.1652, allocations: 11.91 kB / 0.5912 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1653, allocations: 0 / 0.5912 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1653, allocations: 0 / 0.5912 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1653, allocations: 3.953 kB / 0.5912 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.1654, allocations: 173.6 kB / 0.5914 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1654, allocations: 0 / 0.5914 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.022e-05/0.1655, allocations: 11.98 kB / 0.5914 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1655, allocations: 0 / 0.5914 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1655, allocations: 4 kB / 0.5914 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1655, allocations: 7.938 kB / 0.5914 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1656, allocations: 0 / 0.5914 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.1658, allocations: 175.4 kB / 0.5916 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.617e-05/0.1658, allocations: 85 kB / 0.5917 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.1659, allocations: 0 / 0.5917 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.078e-05/0.1659, allocations: 15.94 kB / 0.5917 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.166, allocations: 3.984 kB / 0.5917 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.166, allocations: 3.938 kB / 0.5917 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.591e-05/0.1661, allocations: 99.27 kB / 0.5918 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1661, allocations: 0 / 0.5918 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002125/0.1663, allocations: 4 kB / 0.5918 GB, free: 14.26 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 (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 8.254e-05/0.1664, allocations: 95.25 kB / 0.5919 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002038/0.1666, allocations: 51.91 kB / 0.5919 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1666, allocations: 0 / 0.5919 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.318e-05/0.1667, allocations: 23.98 kB / 0.5919 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.167, allocations: 21.09 kB / 0.592 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.1673, allocations: 160.6 kB / 0.5921 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.1675, allocations: 0.6848 MB / 0.5928 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.48e-05/0.1676, allocations: 4 kB / 0.5928 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.474e-05/0.1676, allocations: 11.44 kB / 0.5928 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of SimCode: time 1.834e-06/0.1676, allocations: 0 / 0.5928 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of Templates: time 0.002334/0.17, allocations: 414.5 kB / 0.5932 GB, free: 12.75 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)