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.001108/0.001108, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001186/0.001186, allocations: 192.4 kB / 16.25 MB, free: 6.16 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.384/1.384, allocations: 222.9 MB / 239.9 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9714/0.9714, allocations: 135.1 MB / 425.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 61.19 kB / 0.5048 GB, free: 5.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2049, allocations: 80.94 MB / 0.5839 GB, free: 4.863 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.002877/0.2078, allocations: 1.576 MB / 0.5854 GB, free: 3.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006808/0.2085, allocations: 431 kB / 0.5858 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.38e-05/0.2085, allocations: 0 / 0.5858 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.417e-05/0.2086, allocations: 7.938 kB / 0.5858 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.963e-05/0.2087, allocations: 7.922 kB / 0.5858 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.2089, allocations: 12 kB / 0.5859 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.093e-05/0.209, allocations: 51.89 kB / 0.5859 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.2091, allocations: 16 kB / 0.5859 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.2092, allocations: 23.86 kB / 0.5859 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.724e-05/0.2092, allocations: 27.84 kB / 0.586 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.2093, allocations: 4 kB / 0.586 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.195e-05/0.2093, allocations: 4 kB / 0.586 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.2093, allocations: 7.984 kB / 0.586 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.423e-05/0.2093, allocations: 23.86 kB / 0.586 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.536e-05/0.2094, allocations: 43.83 kB / 0.5861 GB, free: 2.617 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2095, allocations: 0 / 0.5861 GB, free: 2.617 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2095, allocations: 3.938 kB / 0.5861 GB, free: 2.613 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.2095, allocations: 0 / 0.5861 GB, free: 2.613 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.0005007/0.21, allocations: 359.6 kB / 0.5864 GB, free: 2.215 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.21, allocations: 12.03 kB / 0.5864 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.2101, allocations: 4.844 kB / 0.5864 GB, free: 2.199 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.2102, allocations: 176.3 kB / 0.5866 GB, free: 1.988 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.2102, allocations: 8.375 kB / 0.5866 GB, free: 1.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.2102, allocations: 4.375 kB / 0.5866 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.2104, allocations: 65.92 kB / 0.5867 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.2104, allocations: 4 kB / 0.5867 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.2105, allocations: 0 / 0.5867 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.2105, allocations: 0 / 0.5867 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.2107, allocations: 39.97 kB / 0.5867 GB, free: 1.863 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/0.2111, allocations: 296.7 kB / 0.587 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.2114, allocations: 62.48 kB / 0.587 GB, free: 1.453 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.436e-05/0.2115, allocations: 24.91 kB / 0.5871 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.2116, allocations: 4 kB / 0.5871 GB, free: 1.422 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.2116, allocations: 30.56 kB / 0.5871 GB, free: 1.383 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.2116, allocations: 0 / 0.5871 GB, free: 1.383 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003786/0.212, allocations: 93.55 kB / 0.5872 GB, free: 1.285 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.212, allocations: 55.34 kB / 0.5872 GB, free: 1.219 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.943e-05/0.2121, allocations: 125.4 kB / 0.5874 GB, free: 1.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.2122, allocations: 25.7 kB / 0.5874 GB, free: 1.059 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.561e-05/0.2122, allocations: 104.1 kB / 0.5875 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.2122, allocations: 3.906 kB / 0.5875 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.2123, allocations: 13.72 kB / 0.5875 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.2124, allocations: 322.8 kB / 0.5878 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.282e-05/0.2125, allocations: 19.98 kB / 0.5878 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.644e-05/0.2126, allocations: 11.98 kB / 0.5878 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.2127, allocations: 41.12 kB / 0.5879 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2127, allocations: 0 / 0.5879 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002098/0.2129, allocations: 77.55 kB / 0.588 GB, free: 460 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.213, allocations: 7.938 kB / 0.588 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.213, allocations: 4 kB / 0.588 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.213, allocations: 0 / 0.588 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.794e-05/0.2131, allocations: 7.984 kB / 0.588 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.2131, allocations: 0 / 0.588 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.233e-05/0.2132, allocations: 8 kB / 0.588 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.2132, allocations: 7.938 kB / 0.588 GB, free: 424 kB / 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 8.697e-05/0.2133, allocations: 113.8 kB / 0.5881 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.2133, allocations: 11.89 kB / 0.5881 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.367e-05/0.2133, allocations: 3.906 kB / 0.5881 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2133, allocations: 0 / 0.5881 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.2134, allocations: 4 kB / 0.5881 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.2134, allocations: 0 / 0.5881 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.2136, allocations: 177.7 kB / 0.5883 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2136, allocations: 4 kB / 0.5883 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.647e-05/0.2136, allocations: 15.98 kB / 0.5883 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2137, allocations: 0 / 0.5883 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.2137, allocations: 0 / 0.5883 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2137, allocations: 0 / 0.5883 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2137, allocations: 0 / 0.5883 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.214, allocations: 179.3 kB / 0.5885 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.214, allocations: 77.11 kB / 0.5885 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.2141, allocations: 0 / 0.5885 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.527e-05/0.2142, allocations: 7.984 kB / 0.5886 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.2142, allocations: 8 kB / 0.5886 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-06/0.2142, allocations: 3.938 kB / 0.5886 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.273e-05/0.2143, allocations: 91.27 kB / 0.5887 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2143, allocations: 0 / 0.5887 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002169/0.2145, allocations: 11.94 kB / 0.5887 GB, free: 15.62 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 0.0001025/0.2146, allocations: 103.2 kB / 0.5888 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002319/0.2148, allocations: 43.89 kB / 0.5888 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2149, allocations: 0 / 0.5888 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.145e-05/0.215, allocations: 23.98 kB / 0.5888 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.2152, allocations: 4.297 kB / 0.5888 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003939/0.2156, allocations: 166.5 kB / 0.589 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.2159, allocations: 0.6807 MB / 0.5897 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.735e-05/0.216, allocations: 7.984 kB / 0.5897 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.216, allocations: 7.438 kB / 0.5897 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.216, allocations: 0 / 0.5897 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of Templates: time 0.002469/0.2185, allocations: 452.9 kB / 0.5901 GB, free: 14.09 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)