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.00151/0.00151, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00172/0.00172, allocations: 197 kB / 16.14 MB, free: 6.656 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.377/1.377, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9127/0.9127, allocations: 135.1 MB / 425.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 59.83 kB / 0.5047 GB, free: 5.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1526, allocations: 80.92 MB / 0.5837 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.002579/0.1552, allocations: 1.585 MB / 0.5852 GB, free: 3.418 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006808/0.1559, allocations: 431 kB / 0.5857 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.594e-05/0.156, allocations: 0 / 0.5857 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.509e-05/0.156, allocations: 11.88 kB / 0.5857 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.749e-05/0.1561, allocations: 0 / 0.5857 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.1563, allocations: 19.92 kB / 0.5857 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.223e-05/0.1564, allocations: 47.91 kB / 0.5857 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.884e-05/0.1565, allocations: 19.98 kB / 0.5857 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.984e-05/0.1566, allocations: 15.92 kB / 0.5858 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.202e-05/0.1567, allocations: 27.86 kB / 0.5858 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.1567, allocations: 0 / 0.5858 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.732e-05/0.1567, allocations: 4 kB / 0.5858 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.1567, allocations: 7.922 kB / 0.5858 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.687e-05/0.1568, allocations: 27.86 kB / 0.5858 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.94e-05/0.1569, allocations: 35.83 kB / 0.5859 GB, free: 2.777 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.257e-06/0.1569, allocations: 4 kB / 0.5859 GB, free: 2.773 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.1569, allocations: 0 / 0.5859 GB, free: 2.773 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.1569, allocations: 0 / 0.5859 GB, free: 2.773 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.0005284/0.1574, allocations: 361.7 kB / 0.5862 GB, free: 2.375 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1575, allocations: 8.031 kB / 0.5862 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.915e-05/0.1575, allocations: 12.84 kB / 0.5862 GB, free: 2.355 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.1576, allocations: 172.3 kB / 0.5864 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.1577, allocations: 4.359 kB / 0.5864 GB, free: 2.145 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.1577, allocations: 4.375 kB / 0.5864 GB, free: 2.141 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.1579, allocations: 65.97 kB / 0.5865 GB, free: 2.07 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.1579, allocations: 0 / 0.5865 GB, free: 2.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.1579, allocations: 11.98 kB / 0.5865 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1579, allocations: 3.938 kB / 0.5865 GB, free: 2.055 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.1581, allocations: 39.97 kB / 0.5865 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.1586, allocations: 288.7 kB / 0.5868 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/0.1589, allocations: 66.48 kB / 0.5869 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.159, allocations: 24.91 kB / 0.5869 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.159, allocations: 11.98 kB / 0.5869 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.1591, allocations: 30.56 kB / 0.5869 GB, free: 1.531 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1591, allocations: 0 / 0.5869 GB, free: 1.531 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000357/0.1594, allocations: 85.56 kB / 0.587 GB, free: 1.441 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.1595, allocations: 51.41 kB / 0.5871 GB, free: 1.379 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.1596, allocations: 121.8 kB / 0.5872 GB, free: 1.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.1596, allocations: 33.64 kB / 0.5872 GB, free: 1.211 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.358e-05/0.1597, allocations: 100 kB / 0.5873 GB, free: 1.109 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.1597, allocations: 3.906 kB / 0.5873 GB, free: 1.105 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.1597, allocations: 25.64 kB / 0.5873 GB, free: 1.074 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1599, allocations: 314.8 kB / 0.5876 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.147e-05/0.16, allocations: 15.98 kB / 0.5876 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.891e-05/0.16, allocations: 19.98 kB / 0.5877 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.1602, allocations: 40.83 kB / 0.5877 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1602, allocations: 0 / 0.5877 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000217/0.1604, allocations: 69.58 kB / 0.5878 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1605, allocations: 6.188 kB / 0.5878 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.1605, allocations: 0 / 0.5878 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1605, allocations: 4 kB / 0.5878 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.014e-05/0.1606, allocations: 11.92 kB / 0.5878 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.1606, allocations: 4 kB / 0.5878 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.514e-05/0.1607, allocations: 7.984 kB / 0.5878 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.1607, allocations: 0 / 0.5878 GB, free: 0.5742 MB / 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.178e-05/0.1608, allocations: 117.8 kB / 0.5879 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.1608, allocations: 7.906 kB / 0.5879 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.206e-05/0.1608, allocations: 7.906 kB / 0.5879 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1608, allocations: 0 / 0.5879 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.1608, allocations: 0 / 0.5879 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-06/0.1608, allocations: 4 kB / 0.5879 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.161, allocations: 177.7 kB / 0.5881 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.161, allocations: 0 / 0.5881 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.513e-05/0.1611, allocations: 11.98 kB / 0.5881 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1611, allocations: 0 / 0.5881 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.1611, allocations: 0 / 0.5881 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1611, allocations: 0 / 0.5881 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1611, allocations: 0 / 0.5881 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.1614, allocations: 183.7 kB / 0.5883 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.243e-05/0.1615, allocations: 81.05 kB / 0.5884 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.1615, allocations: 0 / 0.5884 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.702e-05/0.1616, allocations: 4 kB / 0.5884 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.1616, allocations: 3.984 kB / 0.5884 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.1616, allocations: 4 kB / 0.5884 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.003e-05/0.1617, allocations: 95.2 kB / 0.5885 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1617, allocations: 0 / 0.5885 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002261/0.1619, allocations: 15.94 kB / 0.5885 GB, free: 15.78 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.107e-05/0.162, allocations: 99.19 kB / 0.5886 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002156/0.1622, allocations: 35.97 kB / 0.5886 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1623, allocations: 0 / 0.5886 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.237e-05/0.1624, allocations: 23.92 kB / 0.5886 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.1627, allocations: 15.92 kB / 0.5886 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003802/0.1631, allocations: 168.3 kB / 0.5888 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.1633, allocations: 0.6886 MB / 0.5895 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.378e-05/0.1634, allocations: 0 / 0.5895 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.1634, allocations: 11.44 kB / 0.5895 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1634, allocations: 4 kB / 0.5895 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of Templates: time 0.002232/0.1656, allocations: 430.4 kB / 0.5899 GB, free: 14.27 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)