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.001461/0.001461, allocations: 107.7 kB / 16.41 MB, free: 6.484 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.001702/0.001703, allocations: 187 kB / 17.34 MB, free: 5.734 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8165/0.8165, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 56.66 kB / 0.582 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1655, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.0026/0.1682, allocations: 1.525 MB / 0.6618 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007132/0.1689, allocations: 442.9 kB / 0.6622 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.744e-05/0.169, allocations: 0 / 0.6622 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.304e-05/0.169, allocations: 7.922 kB / 0.6622 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.935e-05/0.1691, allocations: 11.88 kB / 0.6622 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.1693, allocations: 15.98 kB / 0.6622 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.005e-05/0.1694, allocations: 51.78 kB / 0.6623 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.1695, allocations: 27.97 kB / 0.6623 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.1697, allocations: 19.92 kB / 0.6623 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.265e-05/0.1697, allocations: 27.91 kB / 0.6624 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.1697, allocations: 0 / 0.6624 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.003e-05/0.1698, allocations: 4 kB / 0.6624 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.83e-05/0.1698, allocations: 11.94 kB / 0.6624 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.564e-05/0.1698, allocations: 23.84 kB / 0.6624 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.684e-05/0.1699, allocations: 35.83 kB / 0.6624 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1699, allocations: 4 kB / 0.6624 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1699, allocations: 4 kB / 0.6624 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.17, allocations: 3.938 kB / 0.6624 GB, free: 8.051 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.000555/0.1705, allocations: 363.2 kB / 0.6628 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.1706, allocations: 8.031 kB / 0.6628 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.1706, allocations: 4.938 kB / 0.6628 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.1707, allocations: 176.2 kB / 0.663 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.853e-05/0.1708, allocations: 4.375 kB / 0.663 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.1708, allocations: 4.375 kB / 0.663 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.171, allocations: 65.97 kB / 0.663 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.171, allocations: 4 kB / 0.663 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.171, allocations: 3.938 kB / 0.6631 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.171, allocations: 4 kB / 0.6631 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.1712, allocations: 39.97 kB / 0.6631 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004468/0.1717, allocations: 296.7 kB / 0.6634 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003193/0.172, allocations: 66.48 kB / 0.6634 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.256e-05/0.1721, allocations: 24.91 kB / 0.6635 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.1721, allocations: 3.984 kB / 0.6635 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.1722, allocations: 30.56 kB / 0.6635 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1722, allocations: 0 / 0.6635 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003649/0.1725, allocations: 97.55 kB / 0.6636 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.1726, allocations: 51.41 kB / 0.6636 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.882e-05/0.1727, allocations: 120.1 kB / 0.6638 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.1727, allocations: 29.64 kB / 0.6638 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.1727, allocations: 92.12 kB / 0.6639 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.1728, allocations: 7.906 kB / 0.6639 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.1728, allocations: 9.719 kB / 0.6639 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1729, allocations: 330.8 kB / 0.6642 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.2e-05/0.173, allocations: 15.98 kB / 0.6642 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.198e-05/0.1731, allocations: 19.98 kB / 0.6642 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.1733, allocations: 32.84 kB / 0.6643 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.1733, allocations: 0 / 0.6643 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001963/0.1735, allocations: 77.56 kB / 0.6643 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1735, allocations: 4 kB / 0.6643 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1735, allocations: 0 / 0.6643 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1735, allocations: 0 / 0.6643 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.612e-05/0.1736, allocations: 15.92 kB / 0.6644 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.1736, allocations: 0 / 0.6644 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.103e-05/0.1737, allocations: 11.94 kB / 0.6644 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.1737, allocations: 0 / 0.6644 GB, free: 5.855 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 8.237e-05/0.1738, allocations: 125.7 kB / 0.6645 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.1738, allocations: 11.91 kB / 0.6645 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.376e-05/0.1738, allocations: 7.906 kB / 0.6645 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.1738, allocations: 0 / 0.6645 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1739, allocations: 0 / 0.6645 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1739, allocations: 0 / 0.6645 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.174, allocations: 177.6 kB / 0.6647 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.174, allocations: 0 / 0.6647 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.048e-05/0.1741, allocations: 8 kB / 0.6647 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1741, allocations: 0 / 0.6647 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.1741, allocations: 0 / 0.6647 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1741, allocations: 7.984 kB / 0.6647 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1741, allocations: 0 / 0.6647 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.1744, allocations: 167.4 kB / 0.6649 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.065e-05/0.1744, allocations: 84.95 kB / 0.6649 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.1745, allocations: 3.984 kB / 0.6649 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.493e-05/0.1745, allocations: 8 kB / 0.6649 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.1746, allocations: 0 / 0.6649 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.1746, allocations: 8.375 kB / 0.665 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.871e-05/0.1746, allocations: 91.27 kB / 0.665 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1747, allocations: 0 / 0.665 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002284/0.1749, allocations: 11.94 kB / 0.6651 GB, free: 5.051 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.282e-05/0.175, allocations: 95.23 kB / 0.6651 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002076/0.1752, allocations: 39.97 kB / 0.6652 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1752, allocations: 4 kB / 0.6652 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.613e-05/0.1753, allocations: 28 kB / 0.6652 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.1756, allocations: 5.719 kB / 0.6652 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003818/0.176, allocations: 168.4 kB / 0.6654 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.1763, allocations: 0.6807 MB / 0.666 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.476e-05/0.1763, allocations: 15.42 kB / 0.6661 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of SimCode: time 1.643e-06/0.1763, allocations: 4 kB / 0.6661 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of Templates: time 0.002024/0.1783, allocations: 0.7233 MB / 0.6668 GB, free: 3.234 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)