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.001277/0.001278, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001259/0.001259, allocations: 198.2 kB / 16.26 MB, free: 6.629 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.312/1.312, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9117/0.9117, allocations: 135.6 MB / 425.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 64.77 kB / 0.5054 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1444, allocations: 81.02 MB / 0.5845 GB, free: 4.363 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.002669/0.1471, allocations: 1.587 MB / 0.586 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006381/0.1478, allocations: 427 kB / 0.5864 GB, free: 2.336 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.871e-05/0.1478, allocations: 4 kB / 0.5864 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.375e-05/0.1479, allocations: 7.922 kB / 0.5865 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.237e-05/0.1479, allocations: 3.938 kB / 0.5865 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.1481, allocations: 19.97 kB / 0.5865 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.109e-05/0.1482, allocations: 39.92 kB / 0.5865 GB, free: 2.262 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1483, allocations: 27.97 kB / 0.5865 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.34e-05/0.1484, allocations: 27.86 kB / 0.5866 GB, free: 2.207 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.499e-05/0.1484, allocations: 27.84 kB / 0.5866 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.1484, allocations: 4 kB / 0.5866 GB, free: 2.176 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.047e-05/0.1485, allocations: 4 kB / 0.5866 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.1485, allocations: 4 kB / 0.5866 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.1485, allocations: 19.86 kB / 0.5866 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.743e-05/0.1486, allocations: 47.81 kB / 0.5867 GB, free: 2.102 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1486, allocations: 0 / 0.5867 GB, free: 2.102 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1486, allocations: 0 / 0.5867 GB, free: 2.102 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.1486, allocations: 4 kB / 0.5867 GB, free: 2.098 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.0005006/0.1491, allocations: 359.6 kB / 0.587 GB, free: 1.699 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.1492, allocations: 12.03 kB / 0.587 GB, free: 1.688 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.1492, allocations: 4.844 kB / 0.587 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.1493, allocations: 168.3 kB / 0.5872 GB, free: 1.48 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.1494, allocations: 8.375 kB / 0.5872 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.699e-06/0.1494, allocations: 384 / 0.5872 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.1496, allocations: 73.92 kB / 0.5873 GB, free: 1.395 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.1496, allocations: 0 / 0.5873 GB, free: 1.395 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.1496, allocations: 0 / 0.5873 GB, free: 1.395 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.1496, allocations: 0 / 0.5873 GB, free: 1.395 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.1498, allocations: 47.95 kB / 0.5873 GB, free: 1.348 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.1502, allocations: 288.7 kB / 0.5876 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.1505, allocations: 66.42 kB / 0.5877 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.114e-05/0.1506, allocations: 24.91 kB / 0.5877 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.1507, allocations: 0 / 0.5877 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.1507, allocations: 38.55 kB / 0.5877 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.1507, allocations: 8 kB / 0.5877 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003504/0.1511, allocations: 85.5 kB / 0.5878 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.1511, allocations: 51.41 kB / 0.5879 GB, free: 0.707 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.1513, allocations: 117.8 kB / 0.588 GB, free: 0.582 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.1513, allocations: 29.64 kB / 0.588 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/0.1514, allocations: 104.1 kB / 0.5881 GB, free: 452 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.1514, allocations: 7.812 kB / 0.5881 GB, free: 444 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/0.1515, allocations: 21.72 kB / 0.5881 GB, free: 416 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.1517, allocations: 318.8 kB / 0.5884 GB, free: 88 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.1518, allocations: 23.98 kB / 0.5884 GB, free: 64 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.1519, allocations: 15.98 kB / 0.5885 GB, free: 48 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.1521, allocations: 36.83 kB / 0.5885 GB, free: 8 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1521, allocations: 0 / 0.5885 GB, free: 8 kB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002274/0.1523, allocations: 73.97 kB / 0.5886 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1524, allocations: 10.34 kB / 0.5886 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.1524, allocations: 48 / 0.5886 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1524, allocations: 3.984 kB / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.689e-05/0.1525, allocations: 11.98 kB / 0.5886 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.1525, allocations: 0 / 0.5886 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.197e-05/0.1525, allocations: 4 kB / 0.5886 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.1526, allocations: 3.984 kB / 0.5886 GB, free: 15.89 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.79e-05/0.1527, allocations: 117.8 kB / 0.5887 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.1527, allocations: 7.906 kB / 0.5887 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.1527, allocations: 7.906 kB / 0.5887 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1527, allocations: 4 kB / 0.5887 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1527, allocations: 0 / 0.5887 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1527, allocations: 0 / 0.5887 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.1529, allocations: 173.6 kB / 0.5889 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1529, allocations: 0 / 0.5889 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.02e-05/0.153, allocations: 8 kB / 0.5889 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.153, allocations: 7.984 kB / 0.5889 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.153, allocations: 0 / 0.5889 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1531, allocations: 0 / 0.5889 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.1531, allocations: 4 kB / 0.5889 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.1533, allocations: 167.3 kB / 0.5891 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.666e-05/0.1534, allocations: 81.09 kB / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.1534, allocations: 4 kB / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.123e-05/0.1535, allocations: 8 kB / 0.5892 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.1535, allocations: 7.938 kB / 0.5892 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.1535, allocations: 3.984 kB / 0.5892 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.319e-05/0.1536, allocations: 99.2 kB / 0.5893 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1536, allocations: 0 / 0.5893 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002092/0.1538, allocations: 7.938 kB / 0.5893 GB, free: 15.1 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.95e-05/0.1539, allocations: 99.19 kB / 0.5894 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002175/0.1541, allocations: 47.91 kB / 0.5894 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1542, allocations: 0 / 0.5894 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.695e-05/0.1543, allocations: 19.98 kB / 0.5894 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.1545, allocations: 4 kB / 0.5894 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003453/0.1549, allocations: 158.5 kB / 0.5896 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.1552, allocations: 0.6846 MB / 0.5903 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.177e-05/0.1552, allocations: 4 kB / 0.5903 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.1552, allocations: 11.44 kB / 0.5903 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1553, allocations: 0 / 0.5903 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.002493/0.1577, allocations: 458.8 kB / 0.5907 GB, free: 13.58 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)