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.004924/0.004924, allocations: 97.38 kB / 15.73 MB, free: 6.066 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.001052/0.001052, allocations: 197.4 kB / 16.67 MB, free: 5.973 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7986/0.7986, allocations: 132.2 MB / 422.7 MB, free: 6.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 61.14 kB / 0.5813 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1446, allocations: 80.21 MB / 0.6596 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.002555/0.1472, allocations: 1.519 MB / 0.6611 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006696/0.1479, allocations: 446.8 kB / 0.6616 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.846e-05/0.148, allocations: 4 kB / 0.6616 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.792e-05/0.148, allocations: 7.922 kB / 0.6616 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.125e-05/0.1481, allocations: 3.938 kB / 0.6616 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.1483, allocations: 23.92 kB / 0.6616 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.517e-05/0.1484, allocations: 51.83 kB / 0.6616 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1485, allocations: 15.98 kB / 0.6617 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.1486, allocations: 23.86 kB / 0.6617 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.497e-05/0.1486, allocations: 23.92 kB / 0.6617 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.1487, allocations: 7.984 kB / 0.6617 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.331e-05/0.1487, allocations: 4 kB / 0.6617 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.1487, allocations: 11.92 kB / 0.6617 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.1488, allocations: 23.81 kB / 0.6617 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.1489, allocations: 43.81 kB / 0.6618 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1489, allocations: 4 kB / 0.6618 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1489, allocations: 0 / 0.6618 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.1489, allocations: 0 / 0.6618 GB, free: 8.086 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.0005443/0.1494, allocations: 359.3 kB / 0.6621 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.1495, allocations: 12.03 kB / 0.6621 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.1495, allocations: 4.891 kB / 0.6622 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.1497, allocations: 176.3 kB / 0.6623 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.1497, allocations: 4.375 kB / 0.6623 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.1497, allocations: 4.375 kB / 0.6623 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.15, allocations: 73.91 kB / 0.6624 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.15, allocations: 0 / 0.6624 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.15, allocations: 7.938 kB / 0.6624 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.15, allocations: 0 / 0.6624 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.1502, allocations: 39.97 kB / 0.6624 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004707/0.1507, allocations: 300.7 kB / 0.6627 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003127/0.151, allocations: 58.55 kB / 0.6628 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.013e-05/0.1511, allocations: 24.91 kB / 0.6628 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.1511, allocations: 0 / 0.6628 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.1511, allocations: 34.56 kB / 0.6628 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.964e-06/0.1512, allocations: 3.984 kB / 0.6628 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003412/0.1515, allocations: 93.53 kB / 0.6629 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.1515, allocations: 51.41 kB / 0.663 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.653e-05/0.1516, allocations: 117.8 kB / 0.6631 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.1517, allocations: 29.7 kB / 0.6631 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.774e-05/0.1517, allocations: 88.14 kB / 0.6632 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.1517, allocations: 15.89 kB / 0.6632 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.1518, allocations: 17.72 kB / 0.6632 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1519, allocations: 318.8 kB / 0.6635 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.404e-05/0.152, allocations: 16 kB / 0.6636 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.221e-05/0.1521, allocations: 15.98 kB / 0.6636 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.1522, allocations: 40.83 kB / 0.6636 GB, free: 6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1522, allocations: 4 kB / 0.6636 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002018/0.1524, allocations: 69.59 kB / 0.6637 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1525, allocations: 8 kB / 0.6637 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1525, allocations: 0 / 0.6637 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1525, allocations: 0 / 0.6637 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.162e-05/0.1526, allocations: 11.92 kB / 0.6637 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1526, allocations: 4 kB / 0.6637 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.184e-05/0.1526, allocations: 7.891 kB / 0.6637 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.1527, allocations: 8 kB / 0.6637 GB, free: 5.883 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 6.501e-05/0.1527, allocations: 113.8 kB / 0.6638 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.1528, allocations: 4 kB / 0.6638 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.466e-05/0.1528, allocations: 11.89 kB / 0.6638 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1528, allocations: 7.938 kB / 0.6639 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1528, allocations: 0 / 0.6639 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1528, allocations: 0 / 0.6639 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.153, allocations: 177.7 kB / 0.664 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.153, allocations: 0 / 0.664 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.915e-05/0.1531, allocations: 11.98 kB / 0.664 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1531, allocations: 4 kB / 0.664 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.1531, allocations: 0 / 0.664 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1531, allocations: 0 / 0.664 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.1531, allocations: 3.938 kB / 0.664 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.1534, allocations: 175.4 kB / 0.6642 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.126e-05/0.1535, allocations: 81.06 kB / 0.6643 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.1535, allocations: 4 kB / 0.6643 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-05/0.1536, allocations: 7.984 kB / 0.6643 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/0.1536, allocations: 4 kB / 0.6643 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.1536, allocations: 0 / 0.6643 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.685e-05/0.1537, allocations: 95.27 kB / 0.6644 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1537, allocations: 0 / 0.6644 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002106/0.1539, allocations: 11.94 kB / 0.6644 GB, free: 5.078 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.19e-05/0.154, allocations: 95.25 kB / 0.6645 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002179/0.1542, allocations: 44.27 kB / 0.6645 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1542, allocations: 0 / 0.6645 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.923e-05/0.1543, allocations: 23.98 kB / 0.6646 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.1545, allocations: 4 kB / 0.6646 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003356/0.1549, allocations: 146.7 kB / 0.6647 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.1551, allocations: 0.6846 MB / 0.6654 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.058e-05/0.1552, allocations: 3.984 kB / 0.6654 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.1552, allocations: 15.42 kB / 0.6654 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1552, allocations: 0 / 0.6654 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of Templates: time 0.002349/0.1576, allocations: 473.2 kB / 0.6658 GB, free: 3.551 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)