Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Diagnostics.Validation.CheckEquality") translateModel(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.006631/0.006631, allocations: 100.1 kB / 15.73 MB, free: 5.965 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.00154/0.00154, allocations: 198.7 kB / 16.68 MB, free: 5.887 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8116/0.8116, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 65.64 kB / 0.5813 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.158, allocations: 80.22 MB / 0.6596 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.002763/0.1608, allocations: 1.52 MB / 0.6611 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006789/0.1615, allocations: 450.8 kB / 0.6616 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.719e-05/0.1616, allocations: 0 / 0.6616 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.282e-05/0.1616, allocations: 3.938 kB / 0.6616 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.787e-05/0.1617, allocations: 3.938 kB / 0.6616 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.1619, allocations: 27.91 kB / 0.6616 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.184e-05/0.162, allocations: 47.84 kB / 0.6616 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.1621, allocations: 23.97 kB / 0.6617 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.1623, allocations: 27.86 kB / 0.6617 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.408e-05/0.1623, allocations: 19.91 kB / 0.6617 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.1623, allocations: 4 kB / 0.6617 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.086e-05/0.1623, allocations: 4 kB / 0.6617 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.202e-05/0.1624, allocations: 7.938 kB / 0.6617 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.131e-05/0.1624, allocations: 27.86 kB / 0.6617 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.949e-05/0.1625, allocations: 39.88 kB / 0.6618 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1625, allocations: 0 / 0.6618 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.274e-06/0.1625, allocations: 0 / 0.6618 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.1625, allocations: 0 / 0.6618 GB, free: 8.066 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.0005427/0.1631, allocations: 367.2 kB / 0.6621 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.1631, allocations: 12.02 kB / 0.6621 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.1632, allocations: 4.938 kB / 0.6622 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.1633, allocations: 168.2 kB / 0.6623 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.1633, allocations: 4.375 kB / 0.6623 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.1633, allocations: 12.31 kB / 0.6623 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.1636, allocations: 65.98 kB / 0.6624 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1636, allocations: 0 / 0.6624 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1636, allocations: 0 / 0.6624 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1636, allocations: 3.938 kB / 0.6624 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.1638, allocations: 43.95 kB / 0.6624 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004517/0.1642, allocations: 308.6 kB / 0.6627 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003203/0.1646, allocations: 58.55 kB / 0.6628 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.1647, allocations: 20.91 kB / 0.6628 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.1647, allocations: 0 / 0.6628 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.1648, allocations: 38.56 kB / 0.6628 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1648, allocations: 0 / 0.6628 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003677/0.1651, allocations: 89.48 kB / 0.6629 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.1652, allocations: 55.41 kB / 0.663 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.1654, allocations: 117.8 kB / 0.6631 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.1654, allocations: 25.7 kB / 0.6631 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.1654, allocations: 92.12 kB / 0.6632 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.1655, allocations: 7.906 kB / 0.6632 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/0.1655, allocations: 17.72 kB / 0.6632 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000216/0.1657, allocations: 326.8 kB / 0.6635 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-05/0.1658, allocations: 11.98 kB / 0.6636 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.635e-05/0.1659, allocations: 16.17 kB / 0.6636 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.1661, allocations: 44.91 kB / 0.6636 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.1661, allocations: 4 kB / 0.6636 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002048/0.1663, allocations: 73.52 kB / 0.6637 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.1663, allocations: 4 kB / 0.6637 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1663, allocations: 0 / 0.6637 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.1664, allocations: 0 / 0.6637 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.679e-05/0.1665, allocations: 15.98 kB / 0.6637 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.1665, allocations: 3.984 kB / 0.6637 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.917e-05/0.1665, allocations: 4 kB / 0.6637 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.1666, allocations: 8 kB / 0.6637 GB, free: 5.859 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 9.076e-05/0.1667, allocations: 121.7 kB / 0.6638 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.1667, allocations: 3.906 kB / 0.6638 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.871e-05/0.1667, allocations: 11.91 kB / 0.6638 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1667, allocations: 0 / 0.6638 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1668, allocations: 0 / 0.6638 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1668, allocations: 0 / 0.6638 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.167, allocations: 173.6 kB / 0.664 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.167, allocations: 4 kB / 0.664 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.787e-05/0.167, allocations: 11.94 kB / 0.664 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1671, allocations: 0 / 0.664 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.1671, allocations: 7.984 kB / 0.664 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1671, allocations: 0 / 0.664 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1671, allocations: 0 / 0.664 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.1674, allocations: 163.5 kB / 0.6642 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.227e-05/0.1674, allocations: 96.88 kB / 0.6643 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.1675, allocations: 4 kB / 0.6643 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.016e-05/0.1676, allocations: 4 kB / 0.6643 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.1676, allocations: 0 / 0.6643 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-06/0.1676, allocations: 3.984 kB / 0.6643 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.081e-05/0.1677, allocations: 95.28 kB / 0.6644 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.1677, allocations: 0 / 0.6644 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002243/0.168, allocations: 7.938 kB / 0.6644 GB, free: 5.059 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.905e-05/0.1681, allocations: 99.23 kB / 0.6645 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002664/0.1683, allocations: 47.91 kB / 0.6645 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1683, allocations: 0 / 0.6645 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.586e-05/0.1684, allocations: 15.98 kB / 0.6646 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.1688, allocations: 5.562 kB / 0.6646 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.1691, allocations: 138.6 kB / 0.6647 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.1693, allocations: 0.6923 MB / 0.6654 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.522e-05/0.1694, allocations: 4 kB / 0.6654 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.108e-05/0.1694, allocations: 7.438 kB / 0.6654 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1694, allocations: 0 / 0.6654 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of Templates: time 0.002472/0.1719, allocations: 484.5 kB / 0.6658 GB, free: 3.531 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.sim & ./IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)