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.001027/0.001027, allocations: 110.6 kB / 16.37 MB, free: 6.012 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.001068/0.001068, allocations: 190.1 kB / 17.31 MB, free: 5.613 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.981/0.981, allocations: 132.2 MB / 423.3 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67.88 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.406, allocations: 80.18 MB / 0.5815 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.002396/0.4085, allocations: 1.523 MB / 0.583 GB, free: 26.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005851/0.4091, allocations: 447.9 kB / 0.5834 GB, free: 26.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.349e-05/0.4091, allocations: 1.25 kB / 0.5834 GB, free: 26.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.749e-05/0.4092, allocations: 3.938 kB / 0.5834 GB, free: 26.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.973e-05/0.4092, allocations: 6.25 kB / 0.5834 GB, free: 26.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.4094, allocations: 31.19 kB / 0.5834 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.925e-05/0.4095, allocations: 40.77 kB / 0.5835 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.4096, allocations: 20.81 kB / 0.5835 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.4097, allocations: 28.95 kB / 0.5835 GB, free: 26.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.842e-05/0.4098, allocations: 17.11 kB / 0.5835 GB, free: 26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.4098, allocations: 4.5 kB / 0.5835 GB, free: 26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.4098, allocations: 4.281 kB / 0.5836 GB, free: 26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/0.4099, allocations: 11.09 kB / 0.5836 GB, free: 25.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.471e-05/0.4099, allocations: 27.75 kB / 0.5836 GB, free: 25.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.044e-05/0.41, allocations: 33.27 kB / 0.5836 GB, free: 25.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.41, allocations: 1.344 kB / 0.5836 GB, free: 25.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.41, allocations: 0 / 0.5836 GB, free: 25.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.41, allocations: 0.625 kB / 0.5836 GB, free: 25.95 MB / 446.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.0003999/0.4104, allocations: 372 kB / 0.584 GB, free: 25.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.4105, allocations: 9.438 kB / 0.584 GB, free: 25.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.4105, allocations: 9.156 kB / 0.584 GB, free: 25.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.189e-05/0.4106, allocations: 170.5 kB / 0.5842 GB, free: 25.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.4106, allocations: 6.594 kB / 0.5842 GB, free: 25.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.4106, allocations: 8.125 kB / 0.5842 GB, free: 25.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.4108, allocations: 76.22 kB / 0.5842 GB, free: 25.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.4108, allocations: 3.984 kB / 0.5842 GB, free: 25.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.4108, allocations: 3.984 kB / 0.5843 GB, free: 25.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.4108, allocations: 2.25 kB / 0.5843 GB, free: 25.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.411, allocations: 40.12 kB / 0.5843 GB, free: 25.26 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003439/0.4114, allocations: 291.9 kB / 0.5846 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.4117, allocations: 66.05 kB / 0.5846 GB, free: 24.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.183e-05/0.4117, allocations: 27.56 kB / 0.5847 GB, free: 24.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.4118, allocations: 0 / 0.5847 GB, free: 24.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.23e-05/0.4118, allocations: 36.11 kB / 0.5847 GB, free: 24.85 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.4118, allocations: 1.031 kB / 0.5847 GB, free: 24.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003429/0.4121, allocations: 84.75 kB / 0.5848 GB, free: 24.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.4122, allocations: 56.62 kB / 0.5848 GB, free: 24.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.672e-05/0.4122, allocations: 121.7 kB / 0.5849 GB, free: 24.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.4123, allocations: 25.7 kB / 0.585 GB, free: 24.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.838e-05/0.4123, allocations: 90.66 kB / 0.5851 GB, free: 24.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.4123, allocations: 12.81 kB / 0.5851 GB, free: 24.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.4123, allocations: 18.56 kB / 0.5851 GB, free: 24.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.276e-05/0.4124, allocations: 323.9 kB / 0.5854 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.969e-05/0.4125, allocations: 15.39 kB / 0.5854 GB, free: 24.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.747e-05/0.4126, allocations: 18.11 kB / 0.5854 GB, free: 24.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.4127, allocations: 41.52 kB / 0.5855 GB, free: 24.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4127, allocations: 0 / 0.5855 GB, free: 24.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001716/0.4129, allocations: 72.08 kB / 0.5855 GB, free: 24.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.4129, allocations: 5.75 kB / 0.5855 GB, free: 24.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.4129, allocations: 0 / 0.5855 GB, free: 24.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.4129, allocations: 0 / 0.5855 GB, free: 24.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.435e-05/0.413, allocations: 15.05 kB / 0.5856 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.413, allocations: 0 / 0.5856 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.893e-05/0.4131, allocations: 7.438 kB / 0.5856 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.4131, allocations: 3.984 kB / 0.5856 GB, free: 24.04 MB / 446.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 4.571e-05/0.4131, allocations: 118.1 kB / 0.5857 GB, free: 23.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.4132, allocations: 4.844 kB / 0.5857 GB, free: 23.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.4132, allocations: 7.906 kB / 0.5857 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.4132, allocations: 0 / 0.5857 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.4132, allocations: 2.219 kB / 0.5857 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4132, allocations: 3.5 kB / 0.5857 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.4134, allocations: 173.3 kB / 0.5859 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4134, allocations: 0 / 0.5859 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.4134, allocations: 10.58 kB / 0.5859 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.4135, allocations: 4.266 kB / 0.5859 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.4135, allocations: 4.312 kB / 0.5859 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4135, allocations: 1.906 kB / 0.5859 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4135, allocations: 0 / 0.5859 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.4137, allocations: 176.3 kB / 0.586 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.4137, allocations: 84.56 kB / 0.5861 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.4137, allocations: 1.594 kB / 0.5861 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.068e-05/0.4138, allocations: 2 kB / 0.5861 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.4139, allocations: 6.141 kB / 0.5861 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.4139, allocations: 1.031 kB / 0.5861 GB, free: 23.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.484e-05/0.4139, allocations: 98.95 kB / 0.5862 GB, free: 23.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4139, allocations: 0 / 0.5862 GB, free: 23.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002243/0.4141, allocations: 13.94 kB / 0.5862 GB, free: 23.33 MB / 446.1 MB 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 6.682e-05/0.4142, allocations: 94.62 kB / 0.5863 GB, free: 23.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002074/0.4144, allocations: 43.91 kB / 0.5864 GB, free: 23.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4144, allocations: 0 / 0.5864 GB, free: 23.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.464e-05/0.4145, allocations: 17.77 kB / 0.5864 GB, free: 23.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.4148, allocations: 10.34 kB / 0.5864 GB, free: 23.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003122/0.4151, allocations: 148.4 kB / 0.5865 GB, free: 23.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.4153, allocations: 0.6853 MB / 0.5872 GB, free: 22.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.016e-05/0.4153, allocations: 2.312 kB / 0.5872 GB, free: 22.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.4153, allocations: 10.12 kB / 0.5872 GB, free: 22.36 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.4153, allocations: 1.406 kB / 0.5872 GB, free: 22.36 MB / 446.1 MB Notification: Performance of Templates: time 0.002236/0.4176, allocations: 468.1 kB / 0.5877 GB, free: 22.15 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)