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.001219/0.001219, allocations: 108 kB / 15.61 MB, free: 148 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.001073/0.001074, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9837/0.9837, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 67.8 kB / 0.5053 GB, free: 5.301 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1534, allocations: 80.92 MB / 0.5844 GB, free: 4.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.003139/0.1566, allocations: 1.515 MB / 0.5858 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000785/0.1574, allocations: 440.6 kB / 0.5863 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.851e-05/0.1575, allocations: 0 / 0.5863 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.95e-05/0.1575, allocations: 7.922 kB / 0.5863 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.81e-05/0.1576, allocations: 11.86 kB / 0.5863 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.1578, allocations: 23.92 kB / 0.5863 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.826e-05/0.158, allocations: 39.92 kB / 0.5863 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.1581, allocations: 19.98 kB / 0.5864 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.1582, allocations: 27.91 kB / 0.5864 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.215e-05/0.1583, allocations: 19.86 kB / 0.5864 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.1583, allocations: 4 kB / 0.5864 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.413e-05/0.1583, allocations: 4 kB / 0.5864 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3e-05/0.1584, allocations: 7.984 kB / 0.5864 GB, free: 2.402 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.702e-05/0.1584, allocations: 23.88 kB / 0.5864 GB, free: 2.379 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.1585, allocations: 47.69 kB / 0.5865 GB, free: 2.332 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1585, allocations: 0 / 0.5865 GB, free: 2.332 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1585, allocations: 0 / 0.5865 GB, free: 2.332 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1585, allocations: 4 kB / 0.5865 GB, free: 2.328 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.0005588/0.1591, allocations: 363.6 kB / 0.5868 GB, free: 1.926 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.1591, allocations: 12.03 kB / 0.5868 GB, free: 1.914 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.1592, allocations: 8.844 kB / 0.5869 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.1593, allocations: 168.3 kB / 0.587 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.1593, allocations: 4.375 kB / 0.587 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.1594, allocations: 4.375 kB / 0.587 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.1596, allocations: 73.97 kB / 0.5871 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.1596, allocations: 0 / 0.5871 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.1596, allocations: 0 / 0.5871 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1596, allocations: 0 / 0.5871 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.1598, allocations: 43.91 kB / 0.5871 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.1602, allocations: 296.7 kB / 0.5874 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/0.1606, allocations: 70.53 kB / 0.5875 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.221e-05/0.1607, allocations: 20.84 kB / 0.5875 GB, free: 1.133 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.1607, allocations: 0 / 0.5875 GB, free: 1.133 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.1607, allocations: 34.56 kB / 0.5875 GB, free: 1.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.1607, allocations: 4 kB / 0.5875 GB, free: 1.086 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003788/0.1611, allocations: 85.56 kB / 0.5876 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.1612, allocations: 51.41 kB / 0.5877 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.807e-05/0.1613, allocations: 129.5 kB / 0.5878 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.1613, allocations: 25.7 kB / 0.5878 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.503e-05/0.1613, allocations: 92.08 kB / 0.5879 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.1614, allocations: 11.89 kB / 0.5879 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.1614, allocations: 21.66 kB / 0.5879 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1615, allocations: 318.8 kB / 0.5882 GB, free: 324 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-05/0.1616, allocations: 15.98 kB / 0.5883 GB, free: 308 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.674e-05/0.1617, allocations: 15.98 kB / 0.5883 GB, free: 292 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.1619, allocations: 40.83 kB / 0.5883 GB, free: 248 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1619, allocations: 0 / 0.5883 GB, free: 248 kB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001962/0.1621, allocations: 77.56 kB / 0.5884 GB, free: 164 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1621, allocations: 8 kB / 0.5884 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1621, allocations: 0 / 0.5884 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1621, allocations: 0 / 0.5884 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.43e-05/0.1622, allocations: 11.94 kB / 0.5884 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.1622, allocations: 3.938 kB / 0.5884 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.348e-05/0.1623, allocations: 7.984 kB / 0.5884 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.1623, allocations: 0 / 0.5884 GB, free: 132 kB / 494.1 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 7.384e-05/0.1624, allocations: 117.8 kB / 0.5885 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.1624, allocations: 4.062 kB / 0.5885 GB, free: 16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.376e-05/0.1625, allocations: 15.89 kB / 0.5886 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1625, allocations: 0 / 0.5886 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1625, allocations: 0 / 0.5886 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.1625, allocations: 0 / 0.5886 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.1626, allocations: 169.6 kB / 0.5887 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1627, allocations: 0 / 0.5887 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.189e-05/0.1627, allocations: 15.98 kB / 0.5887 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1627, allocations: 336 / 0.5887 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.1628, allocations: 8 kB / 0.5887 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1628, allocations: 4 kB / 0.5887 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1628, allocations: 0 / 0.5887 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.163, allocations: 175.3 kB / 0.5889 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.1631, allocations: 81.11 kB / 0.589 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.1631, allocations: 0 / 0.589 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.372e-05/0.1632, allocations: 11.98 kB / 0.589 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/0.1632, allocations: 3.938 kB / 0.589 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.1632, allocations: 0 / 0.589 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.135e-05/0.1633, allocations: 99.27 kB / 0.5891 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1633, allocations: 0 / 0.5891 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002106/0.1635, allocations: 7.938 kB / 0.5891 GB, free: 15.33 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.056e-05/0.1636, allocations: 99.19 kB / 0.5892 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002109/0.1638, allocations: 47.95 kB / 0.5892 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1638, allocations: 0 / 0.5892 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.833e-05/0.1639, allocations: 23.92 kB / 0.5893 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.1642, allocations: 0 / 0.5893 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.1646, allocations: 158.5 kB / 0.5894 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.1648, allocations: 0.6807 MB / 0.5901 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.048e-05/0.1649, allocations: 4 kB / 0.5901 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.1649, allocations: 11.42 kB / 0.5901 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1649, allocations: 4 kB / 0.5901 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of Templates: time 0.002318/0.1672, allocations: 470.7 kB / 0.5905 GB, free: 13.79 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)